Hello,
I am currently trying to find the RX password for the BSL for the MSP430F5438 and cannot seem to get it. I am currently invoking BSL mode through software on CCS using:
__disable_interrupt(); //disable interrupts
((void(*)())0x1000)(); //jump to BSL
RX and TX lines are respectively on P1.1 and P1.2 and are connected to the RX and TX lines of a FTDI cable.
I have verified the BSL can communicate with my computer via UART using the following commands:
//Baud Rate
0x80 0x02 0x00 0x52 0x02 0x90 0x55
//Returns buffer size
0x80 0x01 0x00 0x1A 0x8B 0x52
I cannot get the password to unlock however. Whenever I pass through the password, I will receive the ack return value from the BSL (0x00) and the BSL would have erased the main memory code as well as exiting BSL mode for some reason.
Here are a few passwords I have tried:
//password given in BSL Flashed Devices document
80 11 00 11 FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 5C 38 4F
//password I made assuming the Interrupt vector is FF
//16 FFs password I made assuming the Interrupt vector is FF
0x80 0x11 0x00 0x11 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0x4E 0xC9
//32 FFs
0x80 0x21 0x00 0x11 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0x9E 0xE6
BSL interrupt vector table (located between addresses 0xFFE0 and 0xFFFF)
//32 from memory (BSL interrupt vector table (located between addresses 0xFFE0 and 0xFFFF) Located by looking at Memory Browser via CCS
0x80 0x21 0x00 0x11 0x5C 0x44 0x5C 0x00 0x5C 0x44 0x5C 0x44 0x5C 0x44 0x5C 0x44 0x5C 0x44 0x5C 0x44 0x5C 0x44 0x5C 0x44 0x5C 0x44 0x5C 0x44 0x5C 0x44 0x5C 0x44 0x5C 0x44 0x5C 0x28 0x86 0xBA
All of the above passwords seem to not work. They are all being acknowledged with 0x00 from the BSL in which afterwards the BSL no longer responds to further commands sent to it, leading me to assume it had resetted for some reason and thinking it left BSL mode.
Thank you for your help in advnace!
Nick