2295636_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2295636_en-US

2295636_en-US

S32DS3.5 debug s32g274 use PEMicro

How can I use the S32DS3.5 debug tool for the S32g274 M7 core to view the values of the registers of external peripherals such as CAN?

sdx111_0-1768799251967.png


Re: S32DS3.5 debug s32g274 use PEMicro

Hello, @sdx111 

Thanks for your post.

I suggest trying it the following way:

chenyin_h_0-1768817941621.png

I have tested it from my side, and it works fine


chenyin_h_1-1768818040041.png


I hope it will help.


BR

Chenyin


Re: S32DS3.5 debug s32g274 use PEMicro

Hello, @sdx111 

Thank for your reply.

Since it is a new question and not directly related with the title of this topic, I suggest having a new post next time, in order for better searching/referencing for other users, thanks a lot for your understanding.

Regarding to the issue, from my opinion, you may load the first elf(say bootloader), insert breakpoints before jumping to the second stage, and then also load the symbols of image2(say your application) to continue further debugging.


BR

Chenyin

Re: S32DS3.5 debug s32g274 use PEMicroI want to jump to the APP program after the bootloader is executed, and then add breakpoints in the APP program. I would like to know how to set up debugging.Re: S32DS3.5 debug s32g274 use PEMicro

There is another issue. I have the bootloader and APP program for the M core of S32G274. How can I use the S32DS compiler to debug and test the bootloader's jump to the APP and its subsequent operation?

sdx111_0-1769047334834.png

sdx111_1-1769047351206.png


Re: S32DS3.5 debug s32g274 use PEMicro

Hello, @sdx111 

Thanks for your reply.

For such cases you mentioned,  for example, I usually flashed the bootloader to the QSPI, and add an endless loop at the beginning of the M core application, then boot the board via QSPI and attach the board via the debugger, at last load the M core elf for further debugging. There should be several other methods for debugging such case, it is just an example.


BR

Chenyin

Tags (1)
No ratings
Version history
Last update:
‎01-24-2026 03:33 AM
Updated by: