Other Parts Discussed in Thread: C2000WARE
Tool/software: Code Composer Studio
Hello there
I am attempting to program this DSP to generate PWM signals for a 6-switch 3-phase voltage source inverter - this bit is not so important as I have figured out how to do it. What I want to be able to do is send and read information through the USB connection using printf and other functions from the stdio.h library etc. But when I include stdio.h and then call printf in int main, it gives me the following error:
"C:/ti/C2000Ware_1_00_00_00_Software/device_support/f2833x/common/cmd/28335_RAM_lnk.cmd", line 162: error:
program will not fit into available memory. run placement with
alignment/blocking fails for section ".stack" size 0x400 page 1."
I am using a modified version of the "Example_2833xEPwmDeadBand" project example from C2000Ware. I have tried playing with optimisation levels and changing stack size but nothing seems to work. I saw a thread about a similar problem for a different DSP which suggested changing the linker cmd file to one that, as I understood it, loads the program into flash memory instead of RAM but I couldn't find an equivalent file for my DSP.
Thanks for taking the time to read.