Olimex Support Forum

Microcontrollers => MSP430 => Topic started by: azzido on January 18, 2018, 10:46:17 PM

Title: Blow JTAG fuse over SBW using MSP430-JTAG-ISO-MK2
Post by: azzido on January 18, 2018, 10:46:17 PM
Hi all,

Is MSP430-JTAG-ISO-MK2 able to blow JTAG fuse of MSP430G2553 over SBW ?

many thanks
Title: Re: Blow JTAG fuse over SBW using MSP430-JTAG-ISO-MK2
Post by: LubOlimex on January 19, 2018, 09:07:37 AM
MSP430G2553 is supported by the firmware of MSP430-JTAG-ISO-MK2.

MSP430-JTAG-ISO-MK2 can blow the fuses of MSP430G2553, however (!) you can NOT do it over regular SBW. If you are not an electronics expert I would recommend establishing full JTAG connection between the emulator and the target. This

If you are an expert, you can only make a smaller hardware modification instead of full JTAG. You add the connection TEST/VPP (for the fuse blowing) to the connection for TEST/SBWTCK, and you must add a 330 Ohm resistor on the TCK line to protect it from the fuse-blowing voltage. This is shown in figure 2-2 below from the Hardware Tools User's Guide (http://www.ti.com/lit/ug/slau278aa/slau278aa.pdf (http://www.ti.com/lit/ug/slau278aa/slau278aa.pdf)), specifically see the resistor R2 and footnote C. This ought not to fry the MSP430 as you are still applying the fuse voltage to the same TEST pin on the target 430 that was designed to take this fuse-blowing voltage, so you just have to add the resistor to protect your programmer TCK line from damage since it's sharing that line.

Over regular SBW you can blow the fuses only of the MSP430 targets with "virutal" (e.g. software) fuses - like MSP430x5xx targets.

The above is true for all emulators, not only MSP430-JTAG-ISO-MK2.
Title: Re: Blow JTAG fuse over SBW using MSP430-JTAG-ISO-MK2
Post by: azzido on January 20, 2018, 11:22:39 PM
Thanks LubOlimex.

In conclusion, if I take care about adding the R2 and wiring correctly like Figure 2-2 depicts then I should be able to blow the real fuse of MSP430G2553 over the SBW using mentioned programmer: MSP430-JTAG-ISO-MK2. Okay ? I want to be sure before ordering.

Many thanks
Title: Re: Blow JTAG fuse over SBW using MSP430-JTAG-ISO-MK2
Post by: LubOlimex on January 22, 2018, 11:02:09 AM
Yes. I also recommend you to check the official forums, for example this thread: https://e2e.ti.com/support/microcontrollers/msp430/f/166/t/107143

Notice that this doesn't have anything to do with the programmer or emulator you are going to use. It is about MSP430G2553 and SBW specification. Even if you purchase a tool from Microchip/Atmel you would have to do the same.

Best regards,
Lub/OLIMEX
Title: Re: Blow JTAG fuse over SBW using MSP430-JTAG-ISO-MK2
Post by: azzido on January 24, 2018, 09:33:23 PM
Hi LubOlimex,

Blowing the real fuse of MSP430G2553 I guess it's a microcontroller specific procedure and not part of the SBW specification. That's why I am looking for the right device able to blow the fuse (apply physical Vpp/6.5V on the TEST pin in a correct sequence of commands over SBW). For example the the programmer from the LaunchPad doesn't support this function, it requires a higher voltage (6.5) than the maximum power supply 3.6V and some mosfets to apply this voltage to blow the fuse. There are devices that can program/debug the microcontroller MSP430G2553 but they are not able to blow the JTAG fuse.

Thanks
Title: Re: Blow JTAG fuse over SBW using MSP430-JTAG-ISO-MK2
Post by: LubOlimex on January 24, 2018, 11:37:59 PM
Yes, of course. MSP430-JTAG-TINY-MK2 also can't burn fuses, while MSP430-JTAG-ISO-MK2 can. But if you get an emulator that CAN burn fuses, you still need to take into account the note about SBW fuse burning (additional wire and adding resistor R2 330 Ohm to protect)... So it won't work out-of-the-box over SBW connection
Title: Re: Blow JTAG fuse over SBW using MSP430-JTAG-ISO-MK2
Post by: azzido on March 03, 2018, 10:39:48 PM
Hello,
me again

I have one MSP430-JTAG-ISO-MK2. I installed the drivers from the Olimex webpage and I replaced the dlls from IDE with the new DLLs. My question is why I cannot see in the Programmer GUI version 1.3.0.4 the Device MSP430G2553 ? I know that it is supported.

Please help me.
Thanks
Title: Re: Blow JTAG fuse over SBW using MSP430-JTAG-ISO-MK2
Post by: LubOlimex on March 05, 2018, 10:23:41 AM
The firmware supports MSP430G2553, but it is not added in the GUI of the programmer. You can add more devices that are supported by the firmware but not visible in the drop-down menu - refer to the document "Readme_MSPPORG.txt" in the install folder of the programmer folder.

Open the folder where Olimex MSP430 Programmer is installed and edit with text editor "olidev.ini". Add an entry for MSP430G2553. The information needed can be seen in the datasheet of MSP430G2553 in the "Memory Organization" table.
Title: Re: Blow JTAG fuse over SBW using MSP430-JTAG-ISO-MK2
Post by: azzido on March 05, 2018, 07:07:59 PM
It seems to work perfectly.
I also did the hardware modification and I was able to blow the real fuse of MSP430G2553.

Thanks a lot !
Title: Re: Blow JTAG fuse over SBW using MSP430-JTAG-ISO-MK2
Post by: LubOlimex on March 06, 2018, 01:40:10 PM
Thanks for the update. Very good news, glad it all ended alright.