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.
Tool/software: Code Composer Studio
USING a board based on the LCDKOMAPL138 running a simple app which starts two simple tasks via CreateTask() then a Bios_start(). One is a simple heartbeat with print.
THe main app runs, but the tasks do not. A breakpoint in a task is never hit.
Loading this task via the Linux rproc -- bind system works without problem with the exact same image.
I find I must load the rproc drivers and bind an application before the debugger (XDS200) will load the image via CCS.
Hi, Dave,
If I understand your issue correctly, the DSP app runs fine, but when you try to debug it using CCS to load it while Linux is running, you have issues.
Usually, when you debug the DSP app, you either do it without Linux running and use CCS to download it or with Linux rproc loading the DSP app, but have a infinite loop in the beginning of the DSP app. So, CCS can attach the DSP and set the IP out of loop to start stepping.
Try if it helps this way.
Rex
Right now the loop is disabled. The app loads and runs via CCS, but tasks created with Task_create (and then started with BIOS_start()) don't execute when the app is executed from CCS via the XDS200. Breakpoints aren't hit, logging via System_printf() isn't seen.
So, I'm not connecting to an already running app, (which I would then change CCS to load symbols only?)
The problem is I can't debug and start/debug tasks via CCS.
1 I can load the app and run it via CCS. (Tasks aren't running)
2 I can load and run it from Linux (the task output is also seen).
I don't understand why scenario 1 and 2 behave differently.
This could be because some configuration is missing from the GEL file. Are you using the original LCDK_OMAPL138 GEL file? If there are differences between your custom board and the LCDK you will need to make sure the changes are reflected in the GEL file.
Please also make sure you are following the sequence described in the HW setup guide: http://software-dl.ti.com/processor-sdk-rtos/esd/docs/latest/rtos/index_how_to_guides.html#omap-l138-c6748-lcdk-hardware-setup
Regards,
Sahin