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.

UNIFLASH: MSP432

Part Number: UNIFLASH
Other Parts Discussed in Thread: TMS320F28076, , MSP432E401Y

Hi,

I'm using Uniflash CLI to flash two daisy chained CPU's: a TMS320F28076  and a MSP432E401Y.

I'm using XDS100v2 USB Debug Probe.

Flashing works fine on both CPU's, but I can't configure the option "FlashEraseSelection" on MSP432E401Y.

I need to use this option because a bootloader and an application need to be flashed on MSP432E401Y, so the application flashing must not erase the bootloader.

When I set the "FlashEraseSelection" to "Erase and download necessary segments only",  dslite.bat file generates this error:

"Failed: Unknown Property: FlashEraseSelection".

I've tried to use the "-l" option, specifying the generated configuration file and also the -s option, setting the specific "FlashEraseSelection" property, but both these methods generate the aforementioned error message.

The configuration file generated by uniflash contains the following string:

{"Texas Instruments XDS100v2 USB Debug Probe/CORTEX_M4_0":{"FlashEraseSelection":"Erase and download necessary segments only"}}

As mentioned above, if I don't set this option flashing on MSP432 works fine, but, as default behavior, the flash is erased  each time before flashing, so the application flashing erases the bootloader.

Is there a way to make dslite.bat flash the needed sectors only?

Thanks,

Luca

  • Hi Luca,

    What is the command being entered via CLI? Are you passing in the ufsettings file directly to dslite?

    Thanks

    ki

  • Hi Ki,

    I'm using the dslite.bat file and relevant ufsettings file, both automatically generated by Uniflash. I've configured Uniflash to work with a MSP432 only configuration, in order to see the settings of the MSP432 on Uniflash menu "Settings and Utilities".

    If I load on uniflash my custom configuration, with TMS320F28076 and MSP432, I cannot see the MSP432 settings, I see only te MSP320F28076 settings.

    Anyway I've tried to use the dslite file autogenerated in this case (named dslite-C28xx_CPU1.bat), with option --core to specify the MSP432, passing the MSP432 ufsettings, but I always get the same result: "Failed: Unknown Property: FlashEraseSelection".

    As mentioned, I've also try to set the FlashEraseSelection property with option "-s", but the same issue occurs.

    Thanks,

    Luca

  • Luca Ortu said:
    As mentioned, I've also try to set the FlashEraseSelection property with option "-s", but the same issue occurs.

    How are you using the -s option? It should look like:

    -s "FlashEraseSelection"="Erase and download necessary segments only"

  • Thanks Ki,

    It works now.

    I was making mistakes in the syntax.

    Luca

  • Glad to hear it is working for you. Thanks for the update.

    I also filed a bug for the issue with the ufsettings file. That should of worked also. Tracking ID for the bug is: UNIFLASH-1282

    Thanks

    ki

**Attention** This is a public forum