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.

too slow breakpoint read data from file

Other Parts Discussed in Thread: OMAP-L138, AM1808, OMAPL138

Hi,

I use a Logic PD Omap-L138 board, connect with USB cable. I use only the DSP and the last version of CCSv5. For the target I use this guide
http://processors.wiki.ti.com/index.php/How_to_connect_to_the_OMAP-L138/C6748/AM1808_EVM_board_using_CCS%3F
with Texas Instruments XDS100v2 USB Emulator . I don't have any problem with the device connection or are not reported.
The problem it's only one, in the Debug I use the breakpoint for add 3000 number from a file.dat  in a array ( expl a[3000]) with "read a data from file".
I do this proceedings at least 5500 times. But every time it's 4-5 second, too much, when the rest of code run in 0,012 s.

I launched this same code with dsk6713 with CCSv3 using the breakpoint and for all proceedings the device takes 45 min; my code it's a porting of this one.

Any idea to resolve this problem?

P.S.(I don't use BSL or another function of DSP, the only include header files are tistdtypes.h,math.h,stdio.h,stdlib.h)

Thanks and sorry if I use a bad English.

Andre

  • Andrea,

    I am not sure this is an issue with the processor.I will move this to CCS forum where the emulation experts might be able to explain the reason for the slow data read.

    My recommendation is to include the data in the file as an array so that the file is part of the final output  because when you finish your development and want to boot the device without the emulator you will have to figure a way out to provide this data to the application.

    Regards,

    Rahul

  • Andrea,

    The XDS100 emulator embedded into the OMAPL138 EVM is a lot slower than the XDS510USB embedded into the DSK6713 (on average about 10x slower).

    The file I/O operations between the target and the host PC have a large overhead, therefore I would say the timings you mention look about right given the emulator used.

    Suggestions are to either move the data to the board's DDR memory, SD card or get a more advanced emulator.

    Regards,

    Rafael