At the very beginning of debug,
it prompt ' No source available for 0x1000000', and the address varies with the projects.
I remember it wasn't like this at first ,but I can't remember what I did lead to this.
Hi Lukas,
All the projects show the same behavior.
For each projects, the failing address is always the same,
but for different projects, it prompt different addresses.
Thanks,
Best Regards,
asua
Hi @asua
which device do you have?
"and the address varies with the projects" - do you mean you have more projects which show the same behavior or do you have only one project and the failing address is always different? In second case, this kind of troubles is usually caused by wrong clock configuration or by wrong configuration of flash wait states. In this case, the flash reads can be incorrect which results in various issues and weird behavior of such code.
Regards,
Lukas
Look at the screenshot posted above pls.
Hi Lukas,
All the projects show the same behavior.
For the same project, the failing address is always the same;
while for different projects, it prompt different addresses.
Best wishes,
asua
Hi @asua
well, this looks like something went wrong in startup files. To find more details, go to Debug Configurations and uncheck "Run on reset" option in Startup tab:
In this case, the debugger will stop the code directly at entry point and then you can step the startup files to see what caused the problem exactly. I'm not really sure what's going on, I would need more details.
Regards,
Lukas
Hi Lukas,
It seems nothing changed after I unchecked the 'Run on reset'.
I am so puzzeld that I need a face-to-face guide, do you have this support in Beijing China?
Best Regards,
asua
Hi @asua
our MPC5 team is based in Europe.
Is it possible to share the project? If you can't share it as is, maybe you can modify it to some test version which shows the behavior, so I can test it on my side.
Regards,
Lukas