Hello
I have the OMAP-L137 Evaluation Module and I'm writing a small test application for communication between the ARM and the DSP core. I've been browsing wiki.davincidsp.com as well as the manuals provided by TI's SDK but I simply don't understand what I need to do to be able to debug the DSP or at least see the traces generated by the DSP/BIOS LOG_printf () and SYS_printf() calls.
In my *.tci file I have:
var trace = prog.module("LOG").create("trace");
trace.bufLen = 4096 ;
So I think doing LOG_printf (&trace, "..") should work, right? Or do I need to configure anything else?
I've read that TI suggests to use CCS and JTAG to access the DSP traces. I've installed CCS4 (trial version) and the XDS510 JTAG emulation drivers by spectrum digital. In CCS4 I've created a target configuration and when I start a debug session I see 3 nodes:
Spectrum Digital DSK-EVM PLUS onboard USB Emulator_0/C674X_0
Spectrum Digital DSK-EVM PLUS onboard USB Emulator_0/ARM9_0
Spectrum Digital DSK-EVM PLUS onboard USB Emulator_0/ETB11_0
However, I can't connect to either of them...
What I'm wondering is: my DSP is configured for default boot mode, so the ARM applicaton does PROC_attach/load/start do download the *.out file to the DSP and start the DSP. Do I need to change something in this behaviour in order to connect to the DSP via JTAG emulator? Do I need to alter my code, use another boot mode, set some switches on the board? I have absolute no idea... :-(
Or is there even a method to access the DSP traces using the ARM core? i.e. access them via the shared memory and use the ARM application to print them to stdout?
Any help would be very welcome as it's kinda senseless to write code for the DSP if you have absolutely no clue if it's doing what intended...
Thanks, Dominique