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.

Unlock/Lock using by communicating with Default BSL in MSP430F5151

Other Parts Discussed in Thread: MSP430F5151

Hi all.

I'm having a problem with Default BSL on MSP430F5151.

I have already communicated with Default BSL using Hidapi library via UART connection.

Replacing new firmware works well. But,

It's seem that I can't write something to JTAG Lock Key Area ( 0x17FC -> 0x17FF).

Pls help me.

  • Phung Tu said:
    It's seem that I can't write something to JTAG Lock Key Area ( 0x17FC -> 0x17FF).

    This area is part of the protected BSL flash block wiht the BSL code in it. Writing to it would leave the BSL itself vulnerable to erasure or overwiriting, so the BSL refuses to mess with it.

    You can upload a firmware that does the change (hopefully saving and then restoring the BSL after the required flash erasing and fuse programming)

**Attention** This is a public forum