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

MSP430FR2311: BSL responds with "packet size exceeds buffer" on a 1-Byte packet

$
0
0

Part Number:MSP430FR2311

Hi, 

We plan to support firmware update of the MSP430FR2100 from another CPU on the same board, and want to test the procedure on a FR2311 launch pad, before our real boards have arrived. 

After invoking the BSL through code (jumping to 0x1000 directly after reset), I try to talk to it over UART (9600, 8, even, 1, no flow control). 

For example, I try to write: 

0x80, 0x01, 0x00, 0x19, 0xE8, 0x62, per the example, asking for the BSL version, just as a first test.

I would expect to get a response like 0x00, 0x04 .. (BSL locked), since I did not previously supply the password, but instead, I get: 

> Write: 0x80, 0x01, 0x00, 0x19

> Response from BSL: 0x54

> Write: 0xE8, 0x62

> Response from BSL: 0x51

0x54 translates to "packet size exceeds buffer", how can a packet size of 0x01 be too large for the 260B buffer? What am I doing wrong here? 

(The 0x51 means header incorrect, which is logical since it's probably starting over, and 0xE8 is not a valid header). 

Thanks! 

/Johannes


Viewing all articles
Browse latest Browse all 22176

Trending Articles



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