Hi,
This demo and the documentation leave a lot to be desired for an apps programmer.
The statement:
-> MAP_FlashCtl_unprotectSector(FLASH_MAIN_MEMORY_SPACE_BANK1,FLASH_SECTOR31);
Is followed by the statement:
-> MAP_FlashCtl_eraseSector(CALIBRATION_START)
Note that CALIBRATION_START is an address:
-> #define CALIBRATION_START 0x0003F000
So, If each sector has a unique address then what address should I use for:
FLASH_SECTOR0 through FLASH_SECTOR30?
Also, there are no demos for flash readback or flash write using interrupts. Do you plan are providing any in the near future?