Hello, everybody.
I have some question about FLASH programming on TMS570, when I also using FreeRTOS.
In the doc "Programming TMS570 Flash Using Flash API" (spna117a) I found that: "TI also recommends that you disable all the interrupts and exceptions during these operations because the Flash API might miss counting compact/erase pulses if the CPU is serving interrupt."
Is it enough to place portDISABLE_INTERRUPTS() and portENABLE_INTERRUPTS() OS functions, when I'm writing to and reading from FLASH using API functions Flash_Prog_B, Flash_Erase_B, Flash_Compact_B, or it is necessary to use portENTER_CRITICAL() and portEXIT_CRITICAL() OS functions?
Flash_Verify_B API function works perfectly without disabling interrupts, as I checked.
In advance thanks, Evgenyy.