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.

DSP/BIOS c6748 stucks in interrupt execution

Other Parts Discussed in Thread: OMAPL138, TMS320C6748

Hello,

I am using TMS320C6748 custom board based on the omapL138 and i am using dsp/bios 5.42.

I want ti use ethernet communication with it in multithreading thats why i am using DSP/BIOS. i have configured the interrupts by graphical config tool but in debug my program always stucks at the line below in the configuration file 'DSP_6748cfg.s62'.

HWI_Obj 1, HWI_INT8, 8, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask, _iLoadTrack

Moreover, I am setting ethernet receive interrupt at HWI 8 but the all the time CSR stays at 0x14000102 that means that Global interrupt is disabled.
In IER i see that IER is enabled for the 8 and 9.

What should i do to resolve it?

Thanks in advance.

  • With DSP/BIOS, interrupts are globally enabled when your application returns from main() just before your task threads are entered. If you are halting your application after that and finding the the GIE bit is cleared, then something in your application has disabled interrupts.

    The DSP/BIOS HWI_enable() function will globally enable interrupts (ie set the GIE bit), but you need to track down where interrupts are getting disabled.

    Alan
  • Hi Alan,

    I have managed to get the interrupt detected in the loop. When i start my application, it executes for 2 times and than it halts at file missing argument for 'utl_halt.c' when i pause in debug.

    Why is it just executing 2 times only?
  • Hi Alan,

    I have resolved all the problem for the interrupt assertion and LWIP integration with DSP/BIOS.

    Thanks for your support.
  • That's great news!

    Its likely that others will benefit from your findings if you are willing to share some of the problems you encountered and overcame.

    Alan
  • Surely however i am still having some troubles.

    1. Some times BIOS shuts off GIE bit in CSR. I tried to trace and came out that after sending a frame, bios is automatically shutting it off. any clues?.

    2. Application process the incoming packets and responds to arp requests but there is no data going out for ICMP request.

    3. UDP data goes out once and then GIE is disabled and also IEN bit for particular interrupt is disabled too.

    So strange and i have no idea for DSP/BIOS's these behaviors.
  • Hello Alan,

    I am currently facing some issues. The DSP is sensing only arp requests whenever anything(UDP, ICMP) i am asking to dsp. I am able to receive all the packets and able to get data also but there is nothing in sending.

    Do you know how to trace this issue?
  • Please open a new thread to ask this question. Since the original issue in this thread has been marked as answered, understandably, this thread no longer gets the attention that unanswered posts do.