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.

Failure during cusrom BSL programming via IAR IDE

We have managed to get two systems in a state where the 'security fuse' is apparently blown.

We are trying to modify the standard BSL to use the UART instead of USB; fairly minimal change to the original.

When trying to program in the new BSL code via the IAR debugger memory verification failure is reported and then the processor is no longer accessible via JTAG.

The Elpotronic software reports that the security fuse is blown.

Assuming that the firmware we are trying to program in is valid what are the do's and don'ts of programming it in so we don't create any more bricked units?

Thanks in advance for any help.

  • Hi,

    the electronic JTAG fuse/JTAG key on MSP430x5xx device is located in the BSL flash memory. See www.ti.com/lit/slaa450 - chapter 1.1.2 "BSL Reserved Memory Locations".

    You need to make sure that the following part of BSL430_Low_Level_Init.s43 assembly code is compiled within your project:

                  COMMON   JTAGLOCK_KEY
    PJTAGLOCK_KEY DW       0xFFFF                  ; Primary Key Location
    SJTAGLOCK_KEY DW       0xFFFF                  ; Secondary Key Location
                                                   ; set default unlock JTAG with option to lock with writting
                                                   ; a value <> 0x0000 or 0xFFFF

  • That doesn't seem to be the problem.  The code contains this...

    @17F0
    FF FF 42 10 A5 3C 5A C3 FF FF 00 10
    @17FC
    FF FF FF FF

    This might be an IAR problem.  Still investigating.

**Attention** This is a public forum