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.
HI everybody ,
my goal is to use BSL and avoid somebody to erase the device and put their code on my board ( using my logo etc ) .
If I well understood when using BSL with a password , a bad password force a mass-erase , am I right ?
using Signature I can avoid this since only a proper signature allow me to enter BSL : am I right ?
thank you
regards
Carlo
PS Jtag is disbaled by me to avoid attack from there .
Hello Colombo,
You are mostly correct. An incorrect password received by the BSL will perform a mass erases of the device with default settings. On this device you have two different options to avoid this behavior. For the exact process of how to enable these options with the BSL Signature, please see the family user guide for the part.
1) Disable the mass erase mechanism. You can just disable this feature on this device. This would mean a wrong password does not erase the device, but by consequence it will allow unlimited password guesses. So you are potentially left open to brute force attacks (aka password guessing).
2) Disable the BSL interface all together. Your device would not mass erase for a wrong password as the BSL will not respond to any attempt to use it as the interface is disabled. However, if your JTAG is locked as well, this would mean you would never be able to get into the device legitimately as well.
Carlo,
There is no features like you are asking for in the default BSL of the part. The default BSL for this part also cannot be changed as it is in ROM.
You could potentially implement these features on an application side BSL (aka MSPFRBOOT), but there are trade offs for doing so and the default BSL is still on the device. So you would have to disable it if going for MSPFRBOOT.
Trade offs would be reduced memory space for application due to BSL taking up some space. Also, additional complexity to your project due to ISR Proxy vector.
Check out the MSPBSL page for more information about different MSP BSL options:
Other options include:
**Attention** This is a public forum