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.

Issues faced regarding Image processing operations when implemented on C6657 DSP (Dual core) with CCSv5 connected by XDS2xx USB on-board Emulator (Compiler C6000_7.3.4)

Other Parts Discussed in Thread: TMS320C6657

Hi,


One of my customer is facing the following issue, would appreciate if someone can help us understand and help through this.

Issues faced regarding Image processing operations when implemented on C6657 DSP (Dual core) with CCSv5 connected by XDS2xx USB on-board Emulator (Compiler C6000_7.3.4) 

 

  1. Memory storage and retrieval problems. i.e., when I store a 24-bit image and retrieve pixel by pixel to display (using files and pointers), corrupt output is obtained. Code working correctly on TI’s simulator.
  2. Usage of intrinsic C functions (API) provided as library (IMGLIB). It is giving errors when used, like unresolved symbol or-else no operation take place when function is declared.
  3. Library functions(API) using16/8 bit pixels are provided. How to use them with 24-bit images of any format (like .jpg, .bmp, .png etc). Is any conversion required?
  4. Need a demo project of image processing application for C6657 DSP (single core).
  5. Procedure to Read and write to Flash memory.

 

The procedure followed for building and executing the code:      

(Board is in No-Boot mode and program is loaded via JTAG emulator)

  1. Create a new CCS project with  c6000_7.3.4 compiler. Add a source file to the project.
  2. Include the library paths as required and .cmd file for memory layout(sample file from start-up guide pdf is used).
  3. Build the project to get .out file in the debug folder of the project in workspace.
  4. Create a new target configuration file with XDS2xx USB on-board emulator for TMS320C6657(only once for the first time).
  5. Load the target configuration file created.
  6.  On Debug window, connect the target(core 0)
  7. Run--> load -->load program. In the window opened, browse for .out file in the Debug folder of the project folder in workspace.
  8. After loading the program Run the program and check output on console (if any printf).

For image processing application, input image/video is provided by putting it in debug folder of the project. Out put image/video is also created in that folder which can be accesed further.