S32DS debug can not run main

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

S32DS debug can not run main

308 Views
ted_cys
Contributor I

hi~

    I am currently using the MPC5744P with S32 Design Studio (S32DS) version 2.1. I created a project using "Project from Example" and when I try to debug and flash the program, I encounter the error "No source available for '0x1000000'". Moreover, this address is not within the MAIN program. What additional settings might be needed? Thank you.

ted_cys_0-1725329230305.png

 

0 Kudos
Reply
2 Replies

240 Views
ted_cys
Contributor I
 

Hi! It looks like you're dealing with some debugging issues. Your message is mostly clear, but here's a refined version to improve the grammar and clarity:


Hi @lukaszadrapa,

I tried to uncheck "Run on reset," but I still can't get breakpoints to stop in main.c. The breakpoints always stop at 00000010: se_illegal. Any ideas on what might be causing this? tanks.

ted_cys_0-1725436136772.png

 

0 Kudos
Reply

269 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @ted_cys 

According to your screenshot, machine check exception was triggered after reset and before reaching main function. I would try to uncheck "Run on reset" like this in Debug configurations:

lukaszadrapa_0-1725359538519.png

Then the program will stop directly on entry point after loading and you can debug/step also the startup files to see what's wrong. 

Regards,

Lukas

 

0 Kudos
Reply