Hi,
im having a problem with the flash api for the tms320f28377s
when i do an erase on a sector i first check and select the correct flashbank
if(select > 13) oReturnCheck = Fapi_setActiveFlashBank(Fapi_FlashBank1); else oReturnCheck = Fapi_setActiveFlashBank(Fapi_FlashBank0); if(oReturnCheck != Fapi_Status_Success) return 1;
this works ok for all sectors in flash bank 0 but when i try to erase a bank1 sector i get error code Fapi_Error_InvalidBank
What am i missing here ? I did perform an Init_Flash_Bank0() and Init_FlashBank1() call on boot. (i copied and modified Init_FlashBank1() from init_flahbank0 because it is not available in TI examples )
regards,
Jan