Tool/software:
Dear TI Team
I see that the F021 FLASH API manual mentions that you can't operate bank0 directly, you need to copy the F021 FLASH API related functions to RAM in order to do so.
I tried to copy the entire main function to RAM and also tried to copy only the F021 FLASH API related functions to RAM, but sadly neither worked!
Note: RAM execution privileges have been turned on in the MPU.
Below I will attach my code, please help to see where the problem occurs.