Part Number: TMS570LC4357
Hello,
In my project on TMS570LS043 with FreeRTOS, I am attempting to write to the flash using Fapi_initializeFlashBanks, but it's resulting in an error.

However, the flash initialization works when I run the code before starting the FreeRTOS scheduler.
So my question is:
Is it necessary to disable all interrupts to write to the flash successfully using Fapi_initializeFlashBanks?
Thank you,
Regards,
Alexis