I've been porting projects from CCS v3.3 to CCS v4. I noticed an issue today with executing the code after it builds. In CCS v4, the CPU load seems much, much greater that in CCS v3.3 I will try to give a few details. The project receives blocks of data from an external device (FPGA), process it, and displays results. Fairly straightforward use of the DSP.
In CCS v3.3:
CGT = v6.1.8. DSP/BIOS = 5.33.03. The project is compiled in debug mode (e.g. -o0). When running the CPU load graph shows the CPU load around 21%.
Now I migrate the code to CCS v4 and am using the same exact source files and PSP libs, etc. Built with these settings:
CGT = v6.1.14. DSP/BIOS = 5.41.02. The project is compiled in debug mode (e.g. -o0). With this build, the code does not execute correctly. I captured some data and it looked like the DSP couldn't process the data fast enough! So I changed the compile settings to -o2 and -ms1. With this optimization the code will now run correctly. But the CPU load graph does not update so I have no idea what the load is.
This seems crazy! How can the build go from 21% to over 100% with a new IDE? Is this a compiler issue? Is it a BIOS issue?
thanks,
Mike