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.

TMS570LS1224: Problem with SSI (system software interrupt)

Part Number: TMS570LS1224
Other Parts Discussed in Thread: HALCOGEN,

Hi

I'm using the TMS570LS1224 for a project of mine. I generated all the codes with HALCOGEN and everything worked quite fine (the interrupts worked as they are supposed to and everything) until I added the SSI. 

I call the SSI from the notification.c file on the GIO notification function. I modified the code for it to make it simple and eliminate all the DSP functions, thinking there could be the problem but it persisted. 

The problem is. I DO reach the SSI without problem. But once it ends, it goes to the rti.c to the StartCounter function. After that point, the MCU enters the abort. 

After the second breakpoint on the image below, when going through "}", it goes to

and then, directly to the abort (break point on the next image). Some times it happened to me, when commenting the line 201 on the main that the MCU restarted. 1258.Protesis_de_mano_nov_2016 2.zip

I even tried disabling the interrupts in the SSI and enabling them before exiting it but it ended on the prefetchEntry.

I attach the code. I really have no idea of whats going on. I tried too to call the SSI from the main, in the line 201 of the main instead of calling the rti function but didn't work and that way also take me to the prefectEntry.

I would really appreciate the help solving this problem... I have a due date for this stage of the project in a couple of weeks and haven't been able to solve this problem...

Thanks a lot! 

  • Miguel,

    So you are wanting to close the other thread and continue with this new post or do we continue with the older thread? I understand that the issue is urgent and we are making every attempt to resolve the issues as quickly as possible within our given constraints.
  • I actually think the problem is better explained here... And I think it might be useful this post because of the better explanation of the problem. Because the problem was clearing the flag but that is working. I can clear the flag of the SSI but the main problem I think is here. So... yeah. We could close the other post
    Thanks Chuck