Tool/software:
Hi,
I’m currently facing an issue with a project I’m developing on CCS Theia IDE, using the MSPM0G1507 microcontroller.
I am able to upload and run the application successfully using the “Debug” configuration, where the .cmd
linker file sets the application start address at 0x0000
. In this setup, the code runs perfectly without any issues.
However, the actual deployment requires the application to run alongside a custom secondary BSL, where:
-
BSL starts at
0x0000
-
Application starts at
0x2000
So I modified the .cmd
file to set the application start address to 0x2000
.
Then, I flashed the custom BSL hex file to the device (which has been tested and is working), and used my BSL GUI application to upload the same application (now built to start at 0x2000
) via UART.
Upon power cycle, I can observe that some initial code runs — as I can see indicators LEDs turn on — but the application seems to hang or stop working shortly after. I'm not sure what’s going wrong beyond that point.
To verify that the BSL is functioning correctly, I tried uploading another application (which uses almost the same peripherals) via the same custom BSL, and it runs without any issue.
I’d appreciate any suggestions or guidance to help resolve this issue.
Thanks in advance for your support.