Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CCS/TMS570LC4357: stuck in interupt vector dataEntry

$
0
0

Part Number: TMS570LC4357

Tool/software: Code Composer Studio

Dear Sirs.

Now I'm developing a project using TI Code Composer Studio and HALCoGen with FreeRTOS included. I'm creating a FreeRTOS task, and in this task do this code

for(;;)
    {
        if ((xQueueReceive(Queue, (void *) &Msg, 2000/portTICK_PERIOD_MS) == pdTRUE))
        {
            canTransmit(canREG3, canMESSAGE_BOX1, Msg);
        }

So when we recieve a data from Queue, we activate the task and send this data to certain CAN. Problem is: while debugging when I'm trying to recieve data from Queue second time, programm somewhere goes to interrupt vectors in file HL_sys_intvecs.asm line 60:

60 b dataEntry

and stuck there. I tried to find the enter point to this line, but HL files is too complicated. I believe we get there when data abort exeption occurs and stuck in infinite loop, but I don't understand why does this exception occurs and how can we exit from this infinite loop? Or maybe we somehow can avoid this line?

I didn't find any explanation about  this interupt vectors in Hercules or Code Composer documentation. Also, does FreeRTOS objects have any reference to this problem, or it is just Code Composer exception?

Stack:
CCS 9.1.0, HALCoGen 04.07.01, Debug Probe XDS110.

With respect, D.K. Tovmachenko.


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>