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.
Hello,
the "MSP430 Programming Via the Bootstrap Loader User's Guide" (SLAU319A) differenciates between ROM based BSL (chapter 2) and Flash based BLS (chapter 3)
The FR572x/3x datasheet lists BSL (ROM) in table 5 - memory organization.
Which one is applicable for the FRAM MSP430FR57xx devices?
MSP430FR5xx Family User ' s Guide (SLAU272) writes: "All of the 5xx MSP430 devices come with a preprogrammed BSL (TI-BSL) code which by default protects itself from unintended erase and write access. This is done by setting SYSBSLPE in the SYSBSLC register."
SYSBSLC is located at address 0x0182 according to the datasheet, but which bit is SYSBSLPE?
What do the other bits do?
I assume the MSP430FR5739 FRAM experimenter board uses the Spy-Bi-Wire (SPB) for programming and debugging, is that correct?
Best regards,
Lo
Indeed, the users guide is missing a description of the SYSBSLC register. It is unknown to me whether just the register description is missing or whether the BSL/JTAG fuse description if wrong and there is no such register anymore.Lo said:SYSBSLC is located at address 0x0182 according to the datasheet, but which bit is SYSBSLPE?
Hello Lo,
The FR57xx device has a ROM BSL.
It does not have a SYSBSLC register as the BSL cannot be configured modified in any way. Consequently there is also no SYSBSLPE bit.
The User's Guide correction will be made for the next release and I have put in a request to remove this register from the D/s.
Thanks for bringing this to our notice.
Also, yes, the FR-EXP uses SBW for programming/ debugging the target.
Regards,
Priya
That leaves the question open how the JTAG fuse is done. SInce it obviously isn't in teh BSL flash area (since there is no BSL flash area that could be programmed), where is it then? Is there a JTAG fuse at all?Priya Thanigai said:The FR57xx device has a ROM BSL.
Yes, this is also a part of the UG update that I was referring to.
The JTAG fuse exists and is in software similar to the F5xx devices.
Here is a sneak peek from the updated SYS chapter.
Regards,
Priya
A device can be protected from unauthorized access by restricting accessibility of JTAG commands that can be transferred to the device via the JTAG and SBW interface. This is achieved by programming the electronic fuse. Once the device is protected, the JTAG and SBW interface still remains functional, but JTAG commands that give direct access into the device are completely disabled. There are two ways to lock the device. Both of these require the programming of two signatures that reside in FRAM. JTAG Signature 1 (memory location 0FF80h) and JTAG Signature 2 (memory location 0FF82h) control the behavior of the device locking mechanism.
JTAG lock without password:
A device can be locked by writing 05555h to both JTAG Signature 1 and JTAG Signature 2. In this case, the JTAG and SBW interfaces will only grant access to a limited JTAG command set which restricts accessibility into the device. The only way to unlock the device in this case is to use the BSL to overwrite the JTAG signatures with anything other than 05555h or 0AAAAh.
Priya Thanigai said:A device can be locked by writing 05555h to both JTAG Signature 1 and JTAG Signature 2. In this case, the JTAG and SBW interfaces will only grant access to a limited JTAG command set which restricts accessibility into the device. The only way to unlock the device in this case is to use the BSL to overwrite the JTAG signatures with anything other than 05555h or 0AAAAh.
Interesting. So you can just upload a program with the proper signature in the vector table to the MSP and upon next reboot, JTAG will be disabled. Nice for mass production - saves you an additional fuse-burning cycle.
Priya Thanigai said:Yes, this is also a part of the UG update that I was referring to.
The JTAG fuse exists and is in software similar to the F5xx devices.
Here is a sneak peek from the updated SYS chapter.
Regards,
Hi Priya, a doubt from datasheet and prior to check on silicon on 5xx parts:
1> Jtag locked part can be restored to Jtag full access thru a BSL mass erase?
2> BSL after jtag protection without enabling BSL is still accessible to do a mass erase of part?
3> Fram devices behave different protection scheme or same as Flash?
Regards
Roberto
Only on FR5xx devices, since the JTAG fuse is locate dinside the interrupt vector table and therefore subject to main memory programming and mass erase.Roberto Romano said:1> Jtag locked part can be restored to Jtag full access thru a BSL mass erase?
On F5xx devices, it is located in the BSL segment and NOT subject to mass erase operations.
BSL is enabled by default. If you didn't disable it (if it is possible at all if the BSL is not writable), then of course the BSl won't run and therefore cannot perform any action.Roberto Romano said:2> BSL after jtag protection without enabling BSL is still accessible to do a mass erase of part?
Definitely. The FR5x are completely different from the F5x devices. In more than a few ways. And regarding write access the are totally different from all other MSPs.Roberto Romano said:3> Fram devices behave different protection scheme or same as Flash?
However, Priya is the FR-Lady here. But she's really busy.
**Attention** This is a public forum