Quantcast
Channel: MSP low-power microcontroller forum - Recent Threads
Viewing all articles
Browse latest Browse all 21927

MSP430FR5738 I2C BSL - Passwort usage at pre programmed devices

$
0
0

Hi,

company has to reprogram MSP430 via I²C bootloader (see UG SLAU550E).

Usage of password in preprogrammed devices is unclear.

In programmed HEX file for 32 byte PW section 0xFFE0-0xFFFF you find (Intel Hex Format):

02 FFE0 00       ACFE    75

02 FFE2 00       ACFE    73

02 FFE4 00       ACFE    71

02 FFE8 00       ACFE    6D

02 FFEA 00       6AFD    AE

02 FFEC 00       ACFE    69

02 FFEE 00       36D1    0A

02 FFF0 00       ACFE    65

02 FFF2 00       ACFE    63

02 FFF4 00       ACFE    61

02 FFF6 00       68FE    A3

02 FFF8 00       ACFE    5D

02 FFFA 00       ACFE    5B

02 FFFC 00       ACFE    59

02 FFFE 00       CCFD     38

PW which results from that  and send out via I²C is:

byte[] PassWDBuf = { 0xAC, 0xFE, 0xAC, 0xFE, 0xAC, 0xFE, 0xFF, 0xFF, 0xAC, 0xFE, 0x6A, 0xFD, 0xAC, 0xFE, 0x36, 0xD1,

                     0xAC, 0xFE, 0xAC, 0xFE, 0xAC, 0xFE, 0x68, 0xFE, 0xAC, 0xFE, 0xAC, 0xFE, 0xAC, 0xFE, 0xCC, 0xFD};

This PW is rejected by BSL:

Answer is 0x05 (BSL password error. An incorrect password was supplied to the BSL when attempting an unlock.)

 Q: What is root cause ? They have to make sure, that all yet delievred parts can be unlocked by PW!

 


Viewing all articles
Browse latest Browse all 21927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>