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.

log_example prject for C674x, L138 LCDK board cannot run

Other Parts Discussed in Thread: SYSBIOS

Hi,

I create a log_example project for DSP(C674x) side, OMAP L138 LCDK (using EVM platform), SYS/BIOS 6, CCS 5.4. When debugging it, it does not show up at main(). It is shown as:

I have tried other example projects and all works. Having not found anything to solve this.

here is the project files.

4135.log_example2.zip

Can anybody create a log_example project for LCDK and download to run? Thanks,

  • After some trials, with format eabi (ELF), it behaves as normal: stop at: main() with removing idl0Fxn in both .cfg and .c files.

    The computer has SYSBIOS 6.35.1.29

    Anybody can explain why the included idle function results in errors?

  • Robert,

    I was not able to reproduce the problem. I tried building your example for both COFF and ELF models, and I was successful in reaching main without having to remove idle function from the code.

    My guess from your screenshot is that it is hitting a breakpoint you are setting in HeapMem.c. Just to make sure, can you remove all the breakpoints and try again? SYS/BIOS has some initialization code which runs before main() function is called and in this case, HeapMem is being called to initialize heap and the breakpoint you had set in HeapMem is causing it stop before it reaches main.

    Hope this helps.

    Vikram

  • Thanks. Previously it (The error) was caused by a check mark under Target/C674x/Reset the target on a program load or restart.

    But I do find that only ELF support UIA.