This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28377D: IEC60730SWPACKAGES: Flash_performECCCalculation() and NMI

Part Number: TMS320F28377D
Other Parts Discussed in Thread: IEC60730SWPACKAGES

We downloaded IEC60730SWPACKAGES and trying f2837xd_test_application with TMS320F28377D.

My customer wants to enable/disable the jump to NMI at Flash_performECCCalculation(). 
The call is found in Ln-228 of [stl_flash.c].

We once expected the ECC_ENABLE.ENABLE field, but it didn't work. Whichever the field was 0xA or not, NMI was called --  STL_Flash_uncorrectableErrorNMIISR() .

Then, can I ask a question, are there any ways to enable/disable calls to NMI when Flash_performECCCalculation(), or FECC_CTRL.DO_ECC_CALC are used ?


- import the f2837xd_test_application to CCS.

- put the attached file int othe project.

- build and debug run.

- write the variable IsEccEnable with 1 or zero.