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.

MSP430F5419 BSL

Other Parts Discussed in Thread: MSP430F5419

Hi all,

I have 2 questions:

  • Is it possible to restore erased BSL? I was able to read out the BSL memory from another MSP430F5419 but don't seem to be able to write it back to another one.
  • Is it possible to enter BSL via software (say using asm("call &0x01000"); )

 

any help would be greatly appreciated.

 

Sam

  • Sam6725 said:
    Is it possible to restore erased BSL?

    It depends.

    On devices with an eraseable BSL, it can be restored too (if you have a copy).
    On these devices, the JTAG fuse is usually too in the BSL area. If the BSL was not only erased but overwritten, it may be that the fuse is in 'blown' state then and neither BSL (which was destroyed) nor JTAG (which is prevented by the blown fuse) will work. Then teh device is lost.

    When JTAG still works, you can write a program that takes the backup BSL data as binary data and flashes it to the BSL area.

    I don't know whether such a program already exists.

  • Thanks for that. I wasn't able to restore it unfortunately, so I replaced the micro,

  • I have done a similar thing.  I had the wrong address in for writing to the flash using the BSL and the BSL no longer responds.  I can JTAG the MSP430 just fine.  I have just replaced the MSP430 on the board so I don't want to do that again.  Will CCS allow reading the flash area and re-writting it for the BSL?  I think there are specific things that have to be done to allow writing in that area of flash from the JTAG programmer (wish that was true for the BSL as well).  Could something else be wrong with the BSL that it would not respond by toggeling the TEST/RST lines and sending a command over?  I do not get any response with the same program that was getting a response before.

    Thanks,

    Kevin

**Attention** This is a public forum