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.

MSP432E401Y: Flash program through TI RTOS

Part Number: MSP432E401Y


Hi!

I have a MSP432E401 launchpad, and I want write to flash some data. I get from internet so the data is very large (~120 kbyte) and need after the system remove from power. So I want write to the flash of the mcu. How can I accomplish that task? I start from httpsget example, the server connection and download is good (the data dump out thhrough uart), so I just need it write to the flash. I use MSP432E4 SDK 4.1

Thanks for the answer.

Best regards

Richard

  • I solved from hardware register.

    If anybody need this, you need include <ti/devices/msp432e4/driverlib/sysctl.h>, and <ti/devices/msp432e4/driverlib/inc/hw_sysctl.h>, and you can work with FLASH_FMA, FLASH_FMD, FLASH_FMC registers. Example in bootloader section what provide with SDK (bl_flash.c). 

**Attention** This is a public forum