This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

HVPM_Sensorless project error

Other Parts Discussed in Thread: CONTROLSUITE

Hello,

I use the High Voltage Motor Control and PFC Developer's Kit and Permanent Magnet Synchronous Motor for TMDSHVMTRPFCKITI want to build the HVPM_Sensorless project. When I rebuild the project in CCS v5, I get these errors:


**** Build of configuration F2803x_FLASH for project HVPM_Sensorless ****

C:\ti\ccsv5\utils\bin\gmake -k all
'Building target: HVPM_Sensorless.out'
'Invoking: C2000 Linker'
"C:/ti/ccsv5/tools/compiler/c2000_6.1.0/bin/cl2000" -v28 -ml -mt --cla_support=cla0 -g --define="_DEBUG" --define="LARGE_MODEL" --define="FLASH" --quiet --diag_warning=225 -z --stack_size=0x300 -m"HVPM_Sensorless.map" --warn_sections -i"C:/ti/ccsv5/tools/compiler/c2000_6.1.0/lib" -i"C:/ti/ccsv5/tools/compiler/c2000_6.1.0/include" -i"C:/Users/CO2aRk5/workspace_v5_2/HVPM_Sensorless" --reread_libs --rom_model -o "HVPM_Sensorless.out" "./HVPM_Sensorless.obj" "./HVPM_Sensorless-DevInit_F2803x.obj" "./DSP2803x_usDelay.obj" "./DSP2803x_GlobalVariableDefs.obj" "./DSP2803x_CodeStartBranch.obj" "./DLOG4CHC.obj" -l"rts2800_ml.lib" -l"libc.a" -l"C:\ti\controlSUITE\libs\math\IQmath\v15c\lib\IQmath.lib" "../28035_RAM_lnk.cmd" "../F28035_FLASH_HVPM_Sensorless.CMD" "C:/ti/controlSUITE/libs/math/IQmath/v15c/lib/IQmath.lib"
"../F28035_FLASH_HVPM_Sensorless.CMD", line 52: error: progRAM memory range
overlaps existing memory range RAML0L1
"../F28035_FLASH_HVPM_Sensorless.CMD", line 62: error: BEGIN memory range has
already been specified
"../F28035_FLASH_HVPM_Sensorless.CMD", line 65: error: IQTABLES memory range
has already been specified
"../F28035_FLASH_HVPM_Sensorless.CMD", line 65: error: IQTABLES memory range
overlaps existing memory range IQTABLES
"../F28035_FLASH_HVPM_Sensorless.CMD", line 66: error: IQTABLES2 memory range
has already been specified
"../F28035_FLASH_HVPM_Sensorless.CMD", line 66: error: IQTABLES2 memory range
overlaps existing memory range IQTABLES2
"../F28035_FLASH_HVPM_Sensorless.CMD", line 67: error: IQTABLES3 memory range
has already been specified
"../F28035_FLASH_HVPM_Sensorless.CMD", line 67: error: IQTABLES3 memory range
overlaps existing memory range IQTABLES3
"../F28035_FLASH_HVPM_Sensorless.CMD", line 69: error: BOOTROM memory range has
already been specified
"../F28035_FLASH_HVPM_Sensorless.CMD", line 69: error: BOOTROM memory range
overlaps existing memory range BOOTROM
"../F28035_FLASH_HVPM_Sensorless.CMD", line 70: error: RESET memory range has
already been specified
"../F28035_FLASH_HVPM_Sensorless.CMD", line 70: error: RESET memory range
overlaps existing memory range RESET
"../F28035_FLASH_HVPM_Sensorless.CMD", line 74: error: BOOT_RSVD memory range
has already been specified
"../F28035_FLASH_HVPM_Sensorless.CMD", line 74: error: BOOT_RSVD memory range
overlaps existing memory range BOOT_RSVD
"../F28035_FLASH_HVPM_Sensorless.CMD", line 76: error: RAMM1 memory range has
already been specified
"../F28035_FLASH_HVPM_Sensorless.CMD", line 76: error: RAMM1 memory range
overlaps existing memory range RAMM1
"../F28035_FLASH_HVPM_Sensorless.CMD", line 77: error: dataRAM memory range
overlaps existing memory range RAML3
warning: build attribute vendor section TI missing in
"C:\ti\controlSUITE\libs\math\IQmath\v15c\lib\IQmath.lib<IQ24cosPU.obj>":
compatibility cannot be determined
warning: build attribute vendor section TI missing in
"C:\ti\controlSUITE\libs\math\IQmath\v15c\lib\IQmath.lib<IQ24sinPU.obj>":
compatibility cannot be determined
warning: build attribute vendor section TI missing in
"C:\ti\controlSUITE\libs\math\IQmath\v15c\lib\IQmath.lib<IQmathTables.obj>":
compatibility cannot be determined
warning: creating output section "AdcRegsFile" without a SECTIONS
specification
warning: creating output section "AdcResultFile" without a SECTIONS
specification
warning: creating output section "Cla1RegsFile" without a SECTIONS
specification
warning: creating output section "Comp1RegsFile" without a SECTIONS
specification
warning: creating output section "Comp2RegsFile" without a SECTIONS
specification
warning: creating output section "Comp3RegsFile" without a SECTIONS
specification
warning: creating output section "CpuTimer0RegsFile" without a SECTIONS
specification
warning: creating output section "CpuTimer1RegsFile" without a SECTIONS
specification
warning: creating output section "CpuTimer2RegsFile" without a SECTIONS
specification
warning: creating output section "CsmPwlFile" without a SECTIONS specification
warning: creating output section "CsmRegsFile" without a SECTIONS
specification
warning: creating output section "DevEmuRegsFile" without a SECTIONS
specification
warning: creating output section "ECanaLAMRegsFile" without a SECTIONS
specification
warning: creating output section "ECanaMOTORegsFile" without a SECTIONS
specification
warning: creating output section "ECanaMOTSRegsFile" without a SECTIONS
specification
warning: creating output section "ECanaMboxesFile" without a SECTIONS
specification
warning: creating output section "ECanaRegsFile" without a SECTIONS
specification
warning: creating output section "ECap1RegsFile" without a SECTIONS
specification
warning: creating output section "EPwm1RegsFile" without a SECTIONS
specification
warning: creating output section "EPwm2RegsFile" without a SECTIONS
specification
warning: creating output section "EPwm3RegsFile" without a SECTIONS

specification
>> Compilation failure
warning: creating output section "EPwm4RegsFile" without a SECTIONS
specification
warning: creating output section "EPwm5RegsFile" without a SECTIONS
specification
warning: creating output section "EPwm6RegsFile" without a SECTIONS
specification
warning: creating output section "EPwm7RegsFile" without a SECTIONS
specification
warning: creating output section "EQep1RegsFile" without a SECTIONS
specification
warning: creating output section "EmuBModeVar" without a SECTIONS
specification
warning: creating output section "EmuKeyVar" without a SECTIONS specification
warning: creating output section "FlashCallbackVar" without a SECTIONS
specification
warning: creating output section "FlashRegsFile" without a SECTIONS
specification
warning: creating output section "FlashScalingVar" without a SECTIONS
specification
warning: creating output section "GpioCtrlRegsFile" without a SECTIONS
specification
warning: creating output section "GpioDataRegsFile" without a SECTIONS
specification
warning: creating output section "GpioIntRegsFile" without a SECTIONS
specification
warning: creating output section "I2caRegsFile" without a SECTIONS
specification
warning: creating output section "LinaRegsFile" without a SECTIONS
specification
warning: creating output section "NmiIntruptRegsFile" without a SECTIONS
specification
warning: creating output section "PartIdRegsFile" without a SECTIONS
specification
warning: creating output section "PieCtrlRegsFile" without a SECTIONS
specification
warning: creating output section "PieVectTableFile" without a SECTIONS
specification
warning: creating output section "SciaRegsFile" without a SECTIONS
specification
warning: creating output section "SpiaRegsFile" without a SECTIONS
specification
warning: creating output section "SpibRegsFile" without a SECTIONS
specification
warning: creating output section "SysCtrlRegsFile" without a SECTIONS
specification
warning: creating output section "XIntruptRegsFile" without a SECTIONS
specification
"../28035_RAM_lnk.cmd", line 113: error: program will not fit into available
memory. placement with alignment/blocking fails for section ".cinit" size
0x203 page 0. Available memory ranges:
RAMM0 size: 0x3b0 unused: 0xce max hole: 0xce
error: errors encountered during linking; "HVPM_Sensorless.out" not built
gmake: *** [HVPM_Sensorless.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

I've searched about similar errors in the community (like http://e2e.ti.com/support/microcontrollers/c2000/f/171/p/109218/386832.aspx) but didn't help.

Can anyone help me out please?

Thanks in advance.

  • I just imported 

    C:\ti\controlSUITE\development_kits\HVMotorCtrl+PfcKit_v2.0\HVPM_Sensorless

    and it worked fine. 

    Which exact project are you trying to import and build?

  • Hello,

    Did you modify something before build the project?

    The first problem to be fixed is 28035_RAM_lnk.cmd is called and also F28035_FLASH_HVPM_Sensorless.CMD. So the memory's definition are overlapped.

    You should only use one of them.

    After this is fixed, please report if there is any other error.

    Better, first try the example without any modification.

    Best regards,

    Maria

  • Hello, 

    I use the C:\ti\controlSUITE\development_kits\HVMotorCtrl+PfcKit_v1.7\HVPM_Sensorless

    I've changed some settings but I don't remember which exactly, so I'll reinstall CCSv5 and try to import project again.

  • Hello again,

    I installed the new CCSv6 and added the cgt comp[iler version 5.2.3 needed to run the HVPM_Sensorless project located in "controlSUITE\development_kits\HVMotorCtrl+PfcKit_v1.7\HVPM_Sensorless". The connection worked well, the rebuild as well, but when i tried to debug the project i got an error 

    Can't find a source file at "/db/sds12/scratch/sreeves_rtsbuild_dflcmp0636.dal.design.ti.com_8905_linux/ank_rts/SHARED/args_main.c"
    Locate the file or edit the source lookup path to include its location.

    I have no such file. Can anybody help me? What's more, if anyone has run the project without any errors, could you please tell me what exactly the project does or shows on the screen? 

    Thanks in advance.

  • Hello,

    Do you have problem on debugging?

    If not, as I know, you can just ignore this error  message and continue with your debugging.

    Best regards,

    Maria

  • Hello and thanks for the fast reply,

    I'll post a picture of the error i get, though that error doesn't stop me from resuming the debug, but simply nothing happens after i press the "resume" button. Now i get two errors as  you can see bellow on picture

    The second error is underneath the first one, and it's shown in the next picture

    I still don't know what will I see in my computer screen though and if my motor starts spinning or something (I guess it should but it doesn't).

    Thanks in advance.