Part Number: TMS320F28377D
Other Parts Discussed in Thread: C2000WARE
Hi Champ,
I am asking for my customers.
Currently, they are writing the bootloader, it is found that when the function "Fapi_setActiveFlashBank" in the FlashAPI is called to do the initialization action, there is a chance that an error will occur. (only using CPU1)
They have put disableECC & enableECC before and after executing "Fapi_setActiveFlashBank" mentioned in the note in the Flash API doc.
The customers have fixed the error in some tests.
From the test results, they want to confirm that is the execution of Fapi_setActiveFlashBank cannot be interrupted ?
Since their previous code was that the CAN in the ISR raises the flag after receiving the instruction requesting update. When the flag is found to be 1 in the main loop, the init FlashAPI will be executed, which will cause random errors.
Therfore, they reasonably doubt that the execution of "Fapi_setActiveFlashBank" cannot be interrupted. May I confirm this ?
Thanks for any help.
Best Regard,
Johnny