Resolved! How to calculate the end address of flash memory, given starting address and number of words?
I am currently experimenting with programming flash memory. I want to figure out how many sectors to erase before writing data into memory. I came across the following snippet uint32_t Flash_Write_Data (uint32_t StartSectorAddress, uint32_t *Data, ui...