Is anybody can support how to debug S32G M7 core via lauterbach?

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

Is anybody can support how to debug S32G M7 core via lauterbach?

1,195 Views
feiCC
Contributor I

I'm using the following S32G RDB board.

1.PNG

I'm going to make some jobs on S32G M7 core, and I created the "RGB_LED_M7_0" project and generated the .elf and bin file by following the NXP S32G user guide.

4.PNG

2.PNG

And I met an issue when flashing the .elf  via lauterbach?  The program is stopped at address 34000010 and cannot move even I click the "step over" on lauterbach panel. I don't know why? Is there any issue in my lauterbach .cmm file or program is not configured to started from M7 core?

3.jpg

 

0 Kudos
1 Reply

1,150 Views
bpe
NXP Employee
NXP Employee

And I met an issue when flashing the .elf via lauterbach?

 

ELF binary in not a valid format for programming into a Flash. If you want
your code to start out-of-reset from a Flash connected to your S32G2 CPU,
you must create a bootable blob. Required steps are described in this document,
slides 20 through 22. Since a Flash-based bare-board application starts
out-of-reset, if you want to single-step through it, you have to attach to
the running target rather than download-and-debug. Consult at your debugger
manufacturer for instructions on attaching to a running target.

Best Regards,
Platon

 

0 Kudos