Im working on a universirty project and i need to implement avearge current control for my boost converter(power factor correction) using a microcontroller. I bought TMS320F2802x to use it. i Was trying to find an example from controlsuite. The example i found was PFC2Phil, this example it doesnt debug when i use my microcontroller it says: i copied the information it display when i debug below. Please help me figure out what to change from the code so as it runs on my microcontrller. Thank You
**** Build of configuration F2802x_RAM for project PFC2PhiL ****
"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Building target: PFC2PhiL.out'
'Invoking: C2000 Linker'
"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" --silicon_version=28 -g --define="_DEBUG" --define="LARGE_MODEL" --diag_warning=225 --large_memory_model --cla_support=cla0 -z -m"PFC2PhiL.map" --stack_size=0x380 --warn_sections -i"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.2/lib" -i"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.2/include" --reread_libs --xml_link_info="PFC2PhiL_linkInfo.xml" --rom_model -o "PFC2PhiL.out" "./ADC_SOC_Cnf.obj" "./Comp_DrvGlobalVars.obj" "./DSP2802x_CodeStartBranch.obj" "./DSP2802x_GlobalVariableDefs.obj" "./DSP2802x_usDelay.obj" "./DacDrvCnf.obj" "./PFC2PHIL-DevInit_F2802x.obj" "./PFC2PhiL-DPL-ISR.obj" "./PFC2PhiL-Main.obj" "C:/ti/controlSUITE/device_support/f2802x/v125/DSP2802x_headers/cmd/DSP2802x_Headers_nonBIOS.cmd" "../F28027_RAM_PFC2PHIL.CMD" "C:/ti/controlSUITE/libs/math/IQmath/v15b/lib/IQmath.lib" -l"libc.a"
<Linking>
"../F28027_RAM_PFC2PHIL.CMD", line 90: error: program will not fit into
available memory. run placement with alignment/blocking fails for section
"DLOG_BUFF" size 0x400 page 1. Available memory ranges:
dataRAM size: 0x3b0 unused: 0x173 max hole: 0x172
>> Compilation failure
undefined first referenced
symbol in file
--------- ----------------
_PWM_PFC2PHIL_CNF ./PFC2PhiL-Main.obj
error: unresolved symbols remain
error: errors encountered during linking; "PFC2PhiL.out" not built
gmake: *** [PFC2PhiL.out] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****