![]() |
MSPM0_ValvanoWare
1.0
ECE445L starter code
|
Flash programming functions. More...
Go to the source code of this file.
Functions | |
| uint32_t | Flash_Write (uint32_t addr, const uint32_t *data) |
| Write to flash. More... | |
| uint32_t | Flash_WriteArray (uint32_t addr, const uint32_t *data, uint32_t count) |
| Write array to flash. More... | |
| uint32_t | Flash_Erase (uint32_t addr) |
| Write to flash. More... | |
Flash programming functions.
Runs on MSPM0G3507. One memory bank as MAIN memory. Each flash word is 8 bytes (64 bits). Each word line is 16 word lines, 128 bytes. Each sector 8 word lines, 1024 bytes (minimum erase size). There is one Bank on MSPM0G3507, with 128k bytes, 128 sectors. Once a byte has been programmed, it cannot be reprogrammed unless the sector is erased