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.

Overwrite OEM BSL via USB

Other Parts Discussed in Thread: MSP430F5507

Hi all,

I am using the MSP430F5507

I have created a custom flash BSL to overwrite the the OEM BSL in order to implement a decryption routine. I am able to download it via the JTAG and it works as expected, but I would like to download it via USB. I am currently using the TI firmware downloader to download TI-Txt files via USB. I have created a TI-txt file of the custom flash BSL and tried to load it via the TI firmware downloader but I am getting a memory verification error from the TI firmware downloader.  What am I missing?

Any ideas would be appreciated.

  • Since USB uploads are BSL-based, and a BSL cannot replace itself, this won't work. But what you can do is upload a BSL installer program (a program that contains the BSL binary) through the USB-BSL and run it from within the BSL (while the BSL area is still unprotected). It then can replace the BSL, clear itself and done.

  • Hi Jens-Michael,

    Thanks for the response. The OEM USB BSL stored in the protected flash memory only has the essential functions to load a full USB BSL into RAM. Once the full USB BSL has been loaded and takes over control from the OEM USB BSL, shouldn't it be able to load the binary into the protected flash overwritting the OEM USB BSL?

    Based on what you are suggesting, am I loading the BSL installer and binary into RAM or into flash? 


**Attention** This is a public forum