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.

SYSBIOS+LWIP dual port mode dead after 15 min running

Other Parts Discussed in Thread: SYSBIOS

Hello TI,

We make an EMAC dual port ethernet application base on sysbios+lwip solution base on am335x ind SDK version 1.1.0.5. One of the port is running at high speed that send and receive package every 1ms. Package size is around 60 bytes.

After around 15min run, The CPU stopped and give an error in the console like this. Can some one give me some suggeations about how to solve this?

Thank you!

  • Hi,

    this is standard debug. Take the PC value and enter into your disassembly view. Check the instruction and see what is wrong (usually some bad pointer or invalid memory access). But really can be anything at that level...

    Then try to set breakpoints and run again. The ARM processor should be able to cope with 60bytes every 1ms easily...

    Regards,

  • It looks to me like you've branched to address 0, probably due to a bad function pointer.  Your 'LR' register is '1'.

    This wiki topic was written for Cortex-M3, but the same technique should work for Cortex-A.  You should be able to find the bad guy.

    http://processors.wiki.ti.com/index.php/SYS/BIOS_FAQs#4_Exception_Dump_Decoding_Using_the_CCS_Register_View

    -Karl-