Other Parts Discussed in Thread: BOOSTXL-DRV8305EVM, MOTORWARE
Tool/software: Code Composer Studio
Hi ,
I have LAUNCHXL-F28027F and BOOSTXL-DRV8305EVM
I have some 4 questions.
1. I wanted to modify and then build proj_lab02c.c and then run and step thru source in the debugger.
When I change the optimization level to off, I get the below set of errors.
./gpio.obj" "./hal.obj" "./ipark.obj" "./memCopy.obj" "./offset.obj" "./osc.obj" "./park.obj" "./pid.obj" "./pie.obj" "./pll.obj"
"./proj_lab02c.obj" "./pwm.obj" "./pwr.obj" "./spi.obj" "./svgen.obj" "./timer.obj" "./traj.obj"
"./usDelay.obj" "./user.obj" "./wdog.obj" "C:/ti/motorware/motorware_1_01_00_17/sw/ide/ccs/cmd/f2802x/F28027F.cmd" -llibc.a
<Linking>
"C:/ti/motorware/motorware_1_01_00_17/sw/ide/ccs/cmd/f2802x/F28027F.cmd", line 112: error #10099-D:
program will not fit into available memory. placement with
>> Compilation failure
makefile:173: recipe for target 'proj_lab02c.out' failed
alignment/blocking fails for section ".text" size 0x6129 page 0. Available
memory ranges:
FLASHB_D size: 0x6000 unused: 0x5def max hole: 0x5def
error #10010: errors encountered during linking; "proj_lab02c.out" not built
gmake: *** [proj_lab02c.out] Error 1
gmake: Target 'all' not remade because of errors.
Should I not be able to turn it off?
2. Is there any other debug configuration mode other than "flash (Active)"
3. if I flash my new code, will the system still run?
4. Can I add "uart" to do printf as a debug option? If so, is there an example?
I am attaching the code composer setting.
Thank you,
AshaDebugquestion.docx