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.

TMS320F280039C: Interrupt for ECC Ram error doesn't work C2000 library example

Part Number: TMS320F280039C
Other Parts Discussed in Thread: C2000WARE

Hello 

i am using an example from C2000 to generate an ECC ram error correctable and uncorrectable error, the problem is that the code dosen't jump to the NMI handler in case of non correctable error nor the interrupt handler in case of correctable errors. although the interrupts handlers are defined in the project 
the project name is memcfg_ex1_error_handling it is in C:\ti\c2000\C2000Ware_4_02_00_00\driverlib\f28003x\examples\memcfg 
i didn't change anything in the code it is like it is 


  • Hi Mahmoud,

    I will try to reproduce the issue from my side and get back to you.

    Thanks

    Aswin

  • Hi Mahmoud,

    I have imported the example and added break point in the NMI Handler and it was hitting it.

    Can you try to import the example again and do a clean- rebuild and try again.

    What is the output of the program, is testStatusGlobal = TEST_PASS ? 

    Thanks

    Aswin

  • i need to use that example to make a smoke test for an ECC Error handling component i wrote so i want to use part of the example code to integrate it in my project, but when i call the generateECCMemUncorrError() function or generateECCMemCorrError() nothing happens, itried to put some brakpoints like you did and the code jumped there but i don't know how to take part of the code to integrate it in my project
    more clarifications in the screenshot i put a breakpoint when the generateECCMemUncorrError() is called i expect it to jump to non maskable interrupt handler but it just kept gowing down like nothing happened 

  • Third Update 
    after i added some of the code of the example to my project and run it step by step i found that it crashed and went to Interrupt_illegalOperationHandler after the writeCAFE function was called inside generateECCMemUncorrError 

  • problem solved, the Interrupt_illegalOperationHandler  was caused because of the ram sections that was initialized by the generateECCMemCorrError() had the it_ram_func , just changing the ram sections and everything works fine 
    thanks