Donate Share

uCOS-II and lwIP on TI C6000 DSP

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

context save

You are viewing a single message from this topic. View all messages.

  1. 2006-05-12 20:53:15 UTC
    hi,

    isnt it dangerous to assume 8 bytes are pushed on the stack with each ISR call (see quote below from "[Howto use this uC/OS-II port on TI C6000 DSP]" document. this might be true for one ISR, but what about another? since the compiler decides this, this will never be a safe.

    CCS should allow you to give a list of registers to save with the "interrupt" instruction.

    ************************************
    "# In addition, you can set the "Interlisting" option in "Build Options/Feedback", and have a look at the ASM code of your ISR fuction.

    Mack sure that just 8 bytes was push in stack, before the DSP_C6x_Save() was called. That should be something like "STW B4,*SP--(8)" Or else, the uC/OS-II would run away when this interrupt happens."
    ********************************************

    thanks
    david

< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.