Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CCS/MSP432P401R: MSP432P401R

$
0
0

Part Number:MSP432P401R

Tool/software: Code Composer Studio

We have implemented a custom boot loader for OTA support in our sensor.

Our OTA flow is like

  1. Application  (Run on location 0x4000 – 0x1F000) receives the new firmware image packet wise and stored in the spare image (One part of flash reserved 0x20000 – 0x3c000)
  2. Once application receives the entire images checks CRC and gives the handler to boot loader (By calling MAP_ResetCtl_initiateHardReset(); )
  3. Boot loader resides in 0X0000 location, based on our keyword setting boot loader writes spare image to application image, and gives the control to application.

 

 

This sequence of operations  working fine but sometimes sensor is hanging after OTA(Suspecting due to flash corruption).

We have also taken care of the following TI guide line when writing the flash

• Provide 4096 aligned addresses for both source and destination • When possible, use larger transfer size (4096 byte plus) • Make sure transfer size is power of two

 

Please suggest us for any additional protection need to be taken care in flash writing.


Viewing all articles
Browse latest Browse all 262198

Trending Articles



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