Please note as of Wednesday, August 15th, 2018 this wiki has been set to read only. If you are a TI Employee and require Edit ability please contact x0211426 from the company directory.
Creating a New DSP BIOS Project on OMAP35x
It can be a little bit difficult figuring how to get started writing DSP code to run on the 64x+ core inside OMAP3530. This mini tutorial should make it easier. Note that this tutorial is assuming you are using CCS 3.3, the flow is similar but exact steps differ for CCSv4.
Connecting to the target and debugging
This topic provides info on how to connect to the target and debug DSP/BIOS Link based applications on OMAP35x.
- Open cc_setup.exe and select your corresponding OMAP3530 configuration (emulator dependent). Notice that by clicking on the processor you will see in the right window the associated GEL file. Right Click -> Properties if you want to change it. Save and start CCS.
- In the parallel debug manager, right click ICEPICK_C_0, Connect Device
- In the parallel debug manager, right click CortexA_0, Connect Device
- Open OMAP3530_XDS510USB/CortexA_0 – this will open a CCS window.
- In the GEL menu, go to IVA_2200_Startup -> IVA22_GEM_startup. This releases the 64x+ core from reset which is necessary for CCS to be able to connect to the core.
- In the GEL menu, go to IVA_2200_Startup -> IVA22_SEQ_startup. Note this may not exist in your GEL file, if not ignore it.
- In the parallel debug manager right click C6400PLUS_0, Connect Device.
- In the CCS CortexA_0 window, GEL-> DRAMS -> mDDR_Samsung_K4X…(Select mem type of board)
- In the parallel debug manager, Open OMAP3530_XDS510USB/C6400PLUS_0 – this will open a CCS window
- Create a new (Project -> New)., or open existing project (Project -> Open).
- In the project options set the target to 64x+ rather than the default 64x.
- Go to File -> New -> DSP/BIOS Configuration... and select ti.platforms.evm3530.
- Save the new file with File -> Save, e.g. bios.tcf.
- Add the tcf (bios.tcf) and corresponding linker command file (bioscfg.cmd) to your project using Project -> Add files to project...
- Add your source files (e.g. main.c, etc.) to the project.
- Build, load, run...
- Don't forget that in a BIOS project you must return from main in order to give control to the BIOS kernel. That is, all your tasks, etc. run after you return from main.
- The hardware setup used in making the video used a Blackhawk USB560bp emulator, which is why that specific configuration was chosen in cc_setup.
- If you have trouble connecting to the Cortex A8, try connecting while u-boot is running rather than after Linux has booted. The low power modes can make it difficult to connect after Linux starts.