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.
After the BSL entry, I send an error Password to the BSL, I think that the ACK shoud be 0xA0, but it actually is 0x90, why? And how to judge the Password whether it is correct?
such as, I have downloaded a code to the MSP430F2132, then I download the code the second time,I use the command as follows:
80 10 24 24 E0 FF 20 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 9B 34
the BSL returns 0x90
why not the 0xA0?
Hi Ryan:
I'm developing a programmer. Sometime the customer will download their code to a new device and download several times to test the programmer, and sometime they will download their code to a device which they don't know the password.Usually they use the code file as the password file. No matter what situation,I hope the download be successful at one time.
So in my application , I will judge the returns of the device when I provide the password. If the return is 0x90,I think the password is correct, if the return is 0xA0 or other data, or overtime,I think the password is incorrect, then after the mass erase I will provide the default password (all is 0xFF) so as the download continue.
But afer the first BSL entry, if I provide the error password, the device also returns 0x90, so I can't judge the password whether correct or not, so that I will not provide the default password(all is 0xFF), and the download exit.
So I ask for help,why the device returns 0x90 when I provide the error password.
Ryan Brown1 said:If you have already entered the BSL with a correct password and then provide the wrong password, the BSL should respond with a DATA_ACK and not perform any changes (mass erase or otherwise) since the device has already been unlocked.
As I know, a special sequence is needed to involve the BSL, but the password is not the preconditon.
**Attention** This is a public forum