This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSPM0G3507: Serial ROM Boot loader not working

Part Number: MSPM0G3507
Other Parts Discussed in Thread: UNIFLASH

boot_config.c boot_config.h flashctl_Nonmain_write.c 

MSPM0G3507 Controller

Configuring a ROM Bootloader for UART0 using Pins PA10 and PA11. 

Attched files are boot configuration files. 

caling flashctl_NonMain_Write( ) function from main() after clock initialization.

Invoking boot loader from software application code by calling invokeBSLAsm( )

when I try to flash the Application code from Uniflash with BslPassward.txt and appcode.txt

uniflash is hanging at [ERROR_MESSAGE]Failed to receive expected data! 

[4/28/2026, 4:06:21 PM] [INFO] CORTEX_M0P: MSPM0G3507(Bootloader)

[4/28/2026, 4:06:21 PM] [INFO] CORTEX_M0P: Invoking Bootloader....

[4/28/2026, 4:06:24 PM] [INFO] CORTEX_M0P:

[4/28/2026, 4:06:34 PM] [ERROR] CORTEX_M0P:

[ERROR_MESSAGE]Failed to receive expected data! 

Please guide me how to configure Serial Rom boot loader for UART0. and flash the app code from Uniflash. I want to disable hardware invoke pin.

Please explain the harware configuration for stand alone application. 

 

  • Hello sowmya,

    So let me double confirm my understanding. You use ROM BSL with UART PA10 & PA11 and you disable the hardware invoke pin check; then in your app code, you add the software invoke code. Then you want to program this app code into one device through Uniflash. Do I understand correctly? And is this device a blank device (you never program before) or you have already program other code before. (If you use LaunchPad, it is not blank device)

    BR,

    Janz Bai

**Attention** This is a public forum