I try to run flashiap several times but failed second time.
I need to program some small blocks of flash memory.
Here is the output of the modified demo application and source code.
<\n> Flash driver API tree demo application. <\r>
<\n><\r>
<\n> Initializing flash driver.<\r>
<\n> Flash init successfull! <\r>
<\n><\r>
<\n> Config flash memory access time. <\r>
<\n><\r>
<\n> PFlash Information:<\r>
<\n> kFLASH_PropertyPflashBlockBaseAddr = 0x0<\r>
<\n> kFLASH_PropertyPflashSectorSize = 8192<\r>
<\n> kFLASH_PropertyPflashTotalSize = 131072<\r>
<\n> kFLASH_PropertyPflashPageSize = 0x80<\r>
<\n> destAdrss = 0x1C000<\r>
<\n> Erase a sector of flash<\r>
<\n> Calling flash_verify_erase_sector() API.<\r>
<\n> Successfully erased sector: 0x1c000 -> 0x1e000<\r>
<\n><\r>
<\n> Calling FLASH_Program() API.<\r>
<\n> Calling FLASH_VerifyProgram() API.<\r>
<\n> Successfully programmed and verified location: 0x1c000 -> 0x1c040 <\r>
<\n><\r>
<\n> Flash driver API tree demo application. <\r>
<\n><\r>
<\n> Initializing flash driver.<\r>
<\n> Flash init successfull! <\r>
<\n><\r>
<\n> Config flash memory access time. <\r>
<\n><\r>
<\n> PFlash Information:<\r>
<\n> kFLASH_PropertyPflashBlockBaseAddr = 0x0<\r>
<\n> kFLASH_PropertyPflashSectorSize = 8192<\r>
<\n> kFLASH_PropertyPflashTotalSize = 131072<\r>
<\n> kFLASH_PropertyPflashPageSize = 0x80<\r>
<\n> destAdrss = 0x1C010<\r>
<\n> Erase a sector of flash<\r>
<\n><\r>
<\n><\r>
<\n><9>---- HALTED DUE TO FLASH ERROR! ----