Hello, I'm Fukuda.
I am using FRDM-MCXC242 and MCUXpresso IDE v24.12.148.
When I use the GUI Flash Tool in MCUXpresso IDE, no errors occur.
Also, when I press the Start debugging project button, no errors occur and I move to the debug screen.
However, random values are written to the vectors where the initial stack pointer and reset handler addresses should be written.
Even if I erase the flash or write a suitable demo project, the values remain the same and do not change.
When I dumped the axf file, the vector addresses were set to the correct values.
What could be the possible causes?
Hi @Fukuda,
Do you see this issue happening with any project, including the example projects we provide in the SDK, or only with a specific custom application?
BR,
Edwin.
Hi, Edwin.
It happens in every project.
Best Regard.
Sorry, I forgot to mention it, so I'll repost it.
Hi @Fukuda,
Thanks for the clarifications. Could you share screenshots of the issue? Where do you see the random values and where on the dumped axf do you see the correct ones?
BR,
Edwin.
Hi @EdwinHz
The first image is a screenshot of MCUXpresso, and the bottom right shows a memory dump starting from address 0.
The second image is a dump of the axf file, with the initial stack stored at address 0 and the handler addresses stored from address 4 onwards.
Best Regard.
Hi @Fukuda,
I haven't been able to replicate this issue. When I try it, I get the same values for 0x00000000 on both the memory window and the .axf dissasembly:
You mention this discrepancy occurs in every project, but does it also occur on different workspaces? Please try creating a new workspace and downloading the image files from there. Also, try doing the mass erase using a different debugger if possible (like a J-Link debugger).
BR,
Edwin.