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.

Run TI's McASP sample code on LCDK board

Other Parts Discussed in Thread: OMAP-L138

Hi,

I am working on TI's OMAP L138/C6748 Development kit (LCDK) with XDS510 USB PLUs and CCSv5. Also I have installed MAPL138_StarterWare_1_10_03_0 on my PC.

I can build and run some sample code on the development board without problem that make me think the my configuration is OK. However when I ran McASP example code under /lcdkOMAPL138/ fonder it seems it crashed on the board with a message 'system in reset'. After this I have to disconnect and power off/on to recover. I am just wondering anyone here had similar experience with LCDK board?. Thanks.

Yan

  • Hi Yan,

    Have you tried the step by step debugging using XDS510 Emulator?

    Using this, You can find the source code location, in which line,
    you are getting this error.

    -Thanks,
    Balaji N

  • Thanks Balaji,

    I did have quick look with stepping into the sample code but it seems the crashes are not always on same code. However I will have a close look later. I just wondering  maybe it is something to do with configuration of HW/SW. As suggested by TI's technical staff they should be working as they are TI's sample code. Thanks.

    Yan

  • Hi Balaji,

    Had a close look on this issue and it is found that the crash occurs during configuring the Rx EDMA channel (line 581 in mcaspPlayBk.c). Actually it is the instruction of "HWREG(baseAdd + EDMA3CC_OPT(chNum)) &= EDMA3CC_OPT_TCC_CLR;" (line 1116 in edma.c) that caused the crash.

    Actually we also have a  ZOOM OMAP-L138 evm board and the mcasp sample code from the same OMAP StarterWare( version1_10_03_03) is working fine.

    Any suggestions? thanks.

    Yan