Tool/software:
Hi all,
I am trying to use the main memory bootloader.
By examining the reference project, I created "MSPBoot" and "App_Simple."
First, I write the "MSPBoot" code to the microcontroller, then I write the "App_Simple" code to the microcontroller using the differential download method.
I can run a simple LED blink project with MSPBoot.
I can also use interrupts (vector redirection works as expected).
The bootloader and the application can run successfully together.
However, as the complexity of the application code increases, at a certain point, the application code stops working.
I get the error:
"Break at address '0xf0000' with no debug information available, or outside of program code."
The address here is randomly generated.
Sometimes the operation stops with "Break at address "0xfcfc" with no debug information available, or outside of program code".
Sometimes the operation stops with "Break at address "0xfd22" with no debug information available, or outside of program code".
I was able to identify the point where the problem occurs.
When FLASH section usage 32752 byte, app works; but when FLASH section usage 32756 byte, app doesn't work.
The addition of just one line of code causes a 4-byte increase and
i get error "Break at address '0xXXXXX' with no debug information available, or outside of program code."
It maybe about stack issues. We should split the RAM region.
However, in the referenced MSPBoot and App_simple projects, the RAM regions are not split.
Both projects use the same RAM regions.
What could be the reason I am unable to run the application software and bootloader software together?
I would appreciate your help.
Thanks.