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?
Hello, @sdx111
Thanks for your post.
I suggest trying it the following way:
I have tested it from my side, and it works fine
I hope it will help.
BR
Chenyin
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
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?
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