cancel
Showing results for 
Search instead for 
Did you mean: 

SPC58 EE84E7 SVD file problems accessing peripherals

TKorn
Associate II

Dear community,

I am currently working with the SPC58 E-Line processor placed in the mother daughter evaluation board.

I am using the AEK-MCU-SPC5LNK with OpenOCD. The reference manual for the E-Line is similar o the G-Line. I have only found the SVD file for the G-Line, so I therefore thought, that using this SVD file could work. Sadly the peripherals remain blank and I cannot see any memories.

I would be very happy if someone could tell me, how to get the correct SVD file or what do I have to change to get it running.

Kind regards,

Tassilo

 

P.s I have used the attached manual, to access the peripherals: How to use the AEK-MCU-SPC5LNK programmer and debugger for SPC5 automotive microcontrollers - User manual

1 ACCEPTED SOLUTION

Accepted Solutions
SRomeo
ST Employee

Hi Tassilo,
I was able to recover another .svd file (specifically related to your micro).
I'll attach it here.
Let me know if this solves your problem.

Anyway, SVD files are used to decode peripherals and map registers.
The IDE does not use the .SVD file to program the micro, it uses the .CFG file. (which in your case should be the "adapter" one)
Are you able to flash your board?


You may verify it if OpenOCD connects and you can run/stop execution
(but the peripheral view is probably empty due to the wrong SVD)

In case neither this .svd file works but you can Flash with success, maybe, you can share the "debug configuration" you have set for flashing and we can have a look together.

Simone
AEK_Team

 

View solution in original post

4 REPLIES 4
SRomeo
ST Employee

Hi Tassilo,
Analyzing the following datasheet, in which is reported your micro: 

SRomeo_0-1768819815756.png
I see that SPC58EEx and SPC58NEx belong to the same family.

They have common register map and common base address/bitfield for peripherals.

So it is safe to say that you can use the file named: SPC58NEx_SPC58xGx.svd
(Which you may find in the installation folder)

I'll share the file here.
Give it a try

Best regards,
Simone
AEK_Team

 

TKorn
Associate II

Hello Simone,

Thank you for confirming my thought and attaching the SVD file.

If the file isn't different from the one that is stored under C:\AutoDevKitStudio-2.6.1\openocd\svd\spc58

then I am already using this. Do you have any other suggestions for solving my problem?

I am using the same settings as in the attached manual.

The Board.cfg I am using is the spc58xe_adpt292s.cfg. This config is also confirmed by your colleagues as suitable for the SPC58EE84E7 

 

Best regards,

Tassilo 

SRomeo
ST Employee

Hi Tassilo,
I was able to recover another .svd file (specifically related to your micro).
I'll attach it here.
Let me know if this solves your problem.

Anyway, SVD files are used to decode peripherals and map registers.
The IDE does not use the .SVD file to program the micro, it uses the .CFG file. (which in your case should be the "adapter" one)
Are you able to flash your board?


You may verify it if OpenOCD connects and you can run/stop execution
(but the peripheral view is probably empty due to the wrong SVD)

In case neither this .svd file works but you can Flash with success, maybe, you can share the "debug configuration" you have set for flashing and we can have a look together.

Simone
AEK_Team

 

TKorn
Associate II

Hi Simone,

Thank you so much for your help. This one worked!

Miraculously, the old file did also work, when i tested it again.

Best regards

Tassilo