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.

LP-MSPM0G3507: LP-MSPM0G3507: BootLoader corrupted

Part Number: LP-MSPM0G3507
Other Parts Discussed in Thread: UNIFLASH

Tool/software:

HI,

I have encountered the problem with this board while try to program/flash application over UART.

Issue : Accidentally, while programing application s/w address got selected as 0x00 (which I suppose BSL code starts). Further, Application s/w is not getting programmed through UART as there is no response coming for the BSL connection packet sent.

MOde Of Flashing/Programming : Through UART by invoking BSL pin.

How Issue occurred : Through same way but address got selected 0x00.

Seeking problem solution : How to reflash Bootloader or BSL s/w on target device so that, further it can be flashed with application s/w.

EVAL KIT : LP-MSPM0G3507

Pls guide/help  me on this as it's blocking for further project work.

Kindly, let me know if any other details are required.

Kind Regards

  • Hi Avanish,

    Accidentally, while programing application s/w address got selected as 0x00 (which I suppose BSL code starts)

    Are you using the BSL demo in SDK, or you are using ROM BSL to flash the device? What is the program address range you are attempt to process?

    Through same way but address got selected 0x00

    It looks like you put the bsl code in 0x0 (secondary bsl demo?), and then your flash image suddenly erase the bsl code.

    I need more info to understand your issues.

    Thanks.

    B.R.

    Sal

  • Hi Sal,

    As per example code( bsl_host_mcu_to_mspm0g1x0x_g3x0x_target_uart),

    It is supposed to flash/program application at 0x10 but I selected as 0x0000 and afterwards BSL doesn't respond for any command sent from host. So I suspects BSL code remain at address 0x00 which got corrupted or erased.

    Now If BSL code can again be flashed then, further application can be programmed or flashed over uart.

    I'm seeking help/support in this regard. Pls suggest me what all needful to be done here (with precise and clear details).

    Thanks

  • Hi Avanish,

    Okay, you are using the host mcu to flash the MSPM0G device.

    You entry the bsl mode in MSPM0G device by the bsl_invoke pin. -> Are you using the ROM based BSL? Or you are using other BSL code. This is improtant.

    So I suspects BSL code remain at address 0x00 which got corrupted or erased.

    Why you think the BSL code remains in the flash? In default, the MSPM0G device will use the ROM based BSL, so any BSL flashing controlled by host, will not interrupt the BSL code.

    B.R.

    Sal

  • HI Sal,

    Now I got, it has ROM based BSL and same is getting used.

    So what next to be done? Because from next time response doesn't come from BSL.

    Thanks

  • Hi Avanish,

    Now If BSL code can again be flashed then, further application can be programmed or flashed over uart.

    So, due to you are using ROM BSL, if you invoke the BSL again, I believe the MSPM0G device can entry the BSL again.

    For checking the root cause why it halt, I suggest you use UNIFLASH to read back the flash address of the MSPM0G device, then you can find whether the whole image is finished flashing.

    If nothing captured there, I will reccomend you use a logic analyzer to capture the TX/RX signal during bsl communication. Then we can find where it halt and what the last packet ERROR.

    B.R.

    Sal