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.
Hello MSP430 Team,
What is the preferred way to determine which bsl protocol to use while working with the G2553 and FR5872 together.
The customer is working on software that runs on a host processor that talks to the two processors (MSP430G2553 and MSP430FR5872 ). The host processor will toggle the external pins to put one of the two processors in bsl mode, then try to upload the new image using the appropriate bsl uart protocol. They are not working on the app software loaded on the MSP430G2553, MSP430FR5872 or on a custom bsl for those processors. Those processors should be running the currently loaded application code
For example
The V2.03 protocol is expecting a 2 part transaction.
Send sync: 0x80
Get ack: 0x90
Send change baud rate: 0x80, 0x20, 0x04, 0x04, 0x80, 0x8C, 0x02, 0x00, 0xF9, 0x57
Get ack: 0x90
Instead I send this valid V7 protocol message:
0x80, 0x02, 0x00, 0x52, 0x04, 0xXX, 0xXX
What is guaranteed to happen as a result of sending that string of bytes to the bsl that is expecting the 2 part transaction?
Does the first extra byte trigger the NAK since it only expects a 0x80 byte or will the bsl ingest the whole packet? Will I get multiple NAKs? Do I need to wait for a set amount of time before trying to send another command?
Summary of the issue:
The software will need to talk to both processors (different bsl protocols). I want to try talking in one protocol every time. If by chance I start with the correct protocol everything will progress fine. If I start with the wrong protocol I need to be able to detect it and change my state machine.
Questions:
Is there an unprotected core command I should start with?
Is it better to try one bsl protocol over the other first?
Does the bsl for either processor always send a NAK type response or do I wait ‘X’ amount of time for no response and assume I should use the other protocol?
I would really appreciate any suggestions on this scenario. Thank you for your time and support.
Sincerely,
Kishen
**Attention** This is a public forum