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-MSPM0L1306: Load Binary Images fail in Boot Image Manager (BIM)

Part Number: LP-MSPM0L1306
Other Parts Discussed in Thread: MSPM0L1306, UNIFLASH

It's fail with MSPM0L1306 LaunchPad boot_application demo, when View > Memory Browser > Load Memory and bim_sample_image_LP_MSPM0L1306_nortos_ticlang_0x5400_v1_green.bin is loaded with address 0x5400.

The error is CORTEX_M0P: GEL Output: Memory Map Initialization Complete CORTEX_M0P: NONMAIN contents corrupted, restoring to default.

The red LED toggle when only boot_application is downloaded with UniFlash. The bim_sample_image also can be downloaded with UniFlash when boot_application is NOT downloaded.

The CCS version is 12.8.1.00005 with complier TI Clang v5.0.0.STS

My question is:

How to download out file of bim_sample_image after out file of boot_application is download.

  • Hi Bian,

    The error is CORTEX_M0P: GEL Output: Memory Map Initialization Complete CORTEX_M0P: NONMAIN contents corrupted, restoring to default.

    The boot_application CCS project will enable NVM by default but it does not erase NONMAIN. Maybe this blocks your download.

    I suggest you can just remove the NVM setting in boot_application as it just program the default NVM settings.

    B.R.

    Sal

  • Hi Sal,

    Thanks for your suggestion.

    I remove Configuration NVM in .syscfg of boot_application. The Erase method keep 'Erase MAIN memory only'

    The code jump to Reset_Handler() when .bin is loaded with address 0x5400

  • Hi Bian,

    The is under expectation, as boot application is calling reset_handler to jump to a certain bim_sample_image.

    B.R.

    Sal

  • Hi Sal,

    First Jump to Reset_Handler(); Second There is fail after click Resume.

     

    BTW, the LED is off after load bim_sample_image_LP_MSPM0L1306_nortos_ticlang_0x5400_v1_green.bin. It's also off when LaunchPad power on -> off -> on.

    The description in BIM 2.3 Loading the Binary Images of SDK, see below picture.

    How to run right image?

    Is there method to run combine file of boot + image (primary&/secondary)? I try to flash 2 files with Uniflash, it fail with overlapping segments at address 0x0. thanks!