Tool/software: TI-RTOS
Hello
i try to write into internal flash with following code
uint32_t newValue = 0x00110011;
uint8_t cacheState = disableCache();
uint32_t rv = FlashProgram((uint8_t *) &newValue, 0x1C000, 4);
enableCache(cacheState);
this code is embedded in the Task init function of a simple peripheral project
my Problem is that i get FAPI_STATUS_FSM_ERROR as return value from FlashProgram()
What is missing??
i surrounded the routine by HAL_ENTER_CRITICAL_SECTION / HAL_EXIT_CRITICAL_SECTION but it did not help
Martin