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.

MSP430FR2532: How to read User application firmware version via I2C?

Part Number: MSP430FR2532


Hi Team

 

The customer wants to manage User application firmware version and read it by Host via I2C.

Q1. How to do it normally?

Q2. Where we should store the data for User application firmware version?

Q3. Is it possible to protect the data of User application firmware version?

Q4. Do you have slave sample code for all above?

 

Thanks and Best regards,

Kuerbis

  • Hello Kuerbis,

    There are a few options here for your customer. Since this is an FRAM device, you can place FW Version number anywhere in FRAM. To protect it, you can enable FRAM write protection for that section of memory. This would be for a whole section though, and not just the word/char/int that holds the firmware version number. This part also has 512B of Information Memory (FRAM Based) that has a separate write protection associated with it. This would be the best option for storing this information. You would have to make an I2C command in application to check this.

    If you want to update the firmware as well, then your best option is to use the BSL that comes with the device. This device supports I2C interface for its BSL. You can use the BSL Command "TX Data Block" to read out the information memory (or wherever your FW version is stored) to confirm version on the Host, then decide to update if need be. The BSL does not unlock information memory however, this would have to be done via application code in order to update the FW version.

**Attention** This is a public forum