Monday, October 23rd 2017, 8:52pm UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

ktowers

Beginner

Date of registration: May 10th 2017

Posts: 4

1

Wednesday, May 24th 2017, 3:08am

Cortex M3 Peripherals SVD File?

Doies anyone know where I can get the SVD file for the Cortext M3 Peripherals? These include the NVIC, System Control Block and Systick. I'm using the NXP LPC178x family, but the definition of these peripherals should be the same across of Cortex processors.

Thanks

Kevin

SEGGER - Til

Super Moderator

Date of registration: Nov 14th 2007

Posts: 258

2

Wednesday, May 24th 2017, 9:15am

I think what you are looking for is the ARMCM3.svd file which can be found in the CMSIS-core package.
Please have a look here: https://www.arm.com/products/processors/…ce-standard.php

ktowers

Beginner

Date of registration: May 10th 2017

Posts: 4

3

Wednesday, May 24th 2017, 6:40pm

I had already checked out the SVD files from ARM. They contain mostly sample SVD files. The ARMCM3.SVD you mention only contains the SYSTICK registers. At the moment, I'm looking specifically for the System Control Block to help diagnose a hard fault. I may have to create my own SVD file but I find it hard to believe this is not already available from somewhere.

SEGGER - Til

Super Moderator

Date of registration: Nov 14th 2007

Posts: 258

4

Friday, May 26th 2017, 8:36am

You can also check out our Cortex-M HardFault Application note at https://www.segger.com/downloads/appnotes.

ktowers

Beginner

Date of registration: May 10th 2017

Posts: 4

5

Saturday, May 27th 2017, 12:00am

I still can't believe someone else hasn't done this before... So I did it myself.

I've attached an updated ARMCM3.svd file that contains the NVIC and the SCB peripherals. To get around the upload restrictions, the file has a .txt extension.

ARMCM3.txt

This post has been edited 3 times, last edit by "ktowers" (May 27th 2017, 12:24am)