HowTo:Debug S32R45 demo code by Trace32

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

HowTo:Debug S32R45 demo code by Trace32

540 Views
jone_yang
Contributor II

First:File -> New -> S32DS Project From Example" and select one R45 example.

then,I Select the "S32 Configuration Tool" menu then click on the desired configuration tool (Pins, Cocks, Peripherals etc...). Clicking on any one of those will generate all the components. Make the desired changes(if any) then click on the "S32 Configuration Tool->Update Code" button.

build no errors。it generate *.elf binary file。

I use LaterBach Debug the project,when I load the elf file,it occur an error“bus error at address EST:0x34500000 -- 0x34503BFF”

yangliujie1_0-1662456730028.png

yangliujie1_0-1662457517205.pngyangliujie1_1-1662457557727.png

 

 

 

Tags (1)
0 Kudos
1 Reply

534 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I use LaterBach Debug the project,when I load the elf file,it occur an error“bus error at address EST:0x34500000 -- 0x34503BFF”

From your description it looks like you are not using proper programming script for Lauterbach.

Check the flash.list /flash definition range of your script if there are all the flash block defined in reference manual and available for programming.

Best regards,

Peter

0 Kudos