Tool/software:
Hi Sir
I have some questions when verifying the flashapi_128bitprogramming example. Is there any relevant information or instructions?
//=============
FLASH_WRAPPER_PROGRAM_BASE 0x57000U Why is it 0x57000
FLASH_O_CMDWEPROTA 0x11D0U Why is it 0x11D0U
FLASH_O_CMDWEPROTB 0x11D4U Why is it 0x11D4U
oReturnCheck = Fapi_initializeAPI(FlashTech_CPU0_BASE_ADDRESS, 200); FlashTech_CPU0_BASE_ADDRESS = 0x57000U What does it do?
Fapi_setupBankSectorEnable(FLASH_WRAPPER_PROGRAM_BASE+FLASH_O_CMDWEPROTA, 0xFFFFFFFE); Enable program/erase protection(0x57000 +0x11D0 = 0x 581D0) I don’t quite understand what he means. Does it need to be set to 1 to write or clear, or does it mean something else?
Fapi_setupBankSectorEnable(FLASH_WRAPPER_PROGRAM_BASE+FLASH_O_CMDWEPROTB, 0xFFFFFFFF); Enable program/erase protection(0x57000 +0x11D4 = 0x 581D0) I don’t quite understand what he means. Does it need to be set to 1 to write or clear, or does it mean something else?
oReturnCheck = Fapi_issueAsyncCommandWithAddress(Fapi_EraseSector, (uint32 *) Erase_address); Erase_address = 0x0DE000 This will clear how long the data address is
oFlashStatus = Fapi_getFsmStatus(); This place will return exception message 17 (0000,0000,0001,0001), how to eliminate this
thanks.



