S32DS debug can not run main

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32DS debug can not run main

905 次查看
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 项奖励
回复
2 回复数

837 次查看
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 项奖励
回复

866 次查看
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 项奖励
回复