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.

CCS/TMS320F28335: TMS320F28335 & HVMotorCtrl+PFCKit question using CCSV6

Part Number: TMS320F28335
Other Parts Discussed in Thread: CONTROLSUITE

Tool/software: Code Composer Studio

Hi,

I just used the attached document and found it very difficult on how to become familiar with using CCSV6.

8233.28335_Lab1_1.pdf

Could anyone please provide me with a document just like the one attached but emphasizing how to program a F28335, with a vector control open loop example, to be use with HVMotorCtrl+PFCKit?

thank you

Jose

  • Jose,

    For HVMotorCtrl+PFCKit, in controlSUITE, see this directory: C:\ti\controlSUITE\development_kits\HVMotorCtrl+PfcKit_v2.1

    For using CCSv6: processors.wiki.ti.com/.../Category:Code_Composer_Studio_v6

    Additionally, for initial setup of basic examples see the device support directory: C:\ti\controlSUITE\device_support\f2803x\v130

    Best Regards
    Chris
  • Hi Chris,

    I don't want to use the f2803x. I would like to use the f28335 with the HVMotorCtrl+PFCKit, and I am looking for an example or lab, or even some type of instructions on how to modify the f2803x code so that I can make it work with the f28335....any thoughts?

    Jose

  • Jose,

    We don't have any porting instructions, but F2803x and F2833x source and header files are setup very similarly. F2833x is also in controlSUITE with examples: C:\ti\controlSUITE\device_support\f2833x

    Best Regards
    Chris
  • Hi Chris,

    I tried what you suggested but I got this error. what should I do?

    Compilation failure

    makefile:149: recipe for target 'HVACI_Sensorless.out' failed

    "../F28035_RAM_HVACI_Sensorless.CMD", line 52: error: BEGIN memory range has

    already been specified

    "../F28035_RAM_HVACI_Sensorless.CMD", line 52: error: BEGIN memory range

    overlaps existing memory range BEGIN

    "../F28035_RAM_HVACI_Sensorless.CMD", line 54: error: RAMM0 memory range has

    already been specified

    "../F28035_RAM_HVACI_Sensorless.CMD", line 54: error: RAMM0 memory range

    overlaps existing memory range RAMM0

    "../F28035_RAM_HVACI_Sensorless.CMD", line 56: error: progRAM memory range

    overlaps existing memory range RAML0

    "../F28035_RAM_HVACI_Sensorless.CMD", line 56: error: progRAM memory range

    overlaps existing memory range RAML1

    "../F28035_RAM_HVACI_Sensorless.CMD", line 58: error: IQTABLES memory range has

    already been specified

    "../F28035_RAM_HVACI_Sensorless.CMD", line 58: error: IQTABLES memory range

    overlaps existing memory range IQTABLES

    "../F28035_RAM_HVACI_Sensorless.CMD", line 59: error: IQTABLES2 memory range

    has already been specified

    "../F28035_RAM_HVACI_Sensorless.CMD", line 59: error: IQTABLES2 memory range

    overlaps existing memory range IQTABLES2

    "../F28035_RAM_HVACI_Sensorless.CMD", line 60: error: IQTABLES3 memory range

    overlaps existing memory range FPUTABLES

    "../F28035_RAM_HVACI_Sensorless.CMD", line 62: error: RESET memory range has

    already been specified

    "../F28035_RAM_HVACI_Sensorless.CMD", line 62: error: RESET memory range

    overlaps existing memory range RESET

    "../F28035_RAM_HVACI_Sensorless.CMD", line 63: error: BOOTROM memory range has

    already been specified

    "../F28035_RAM_HVACI_Sensorless.CMD", line 63: error: BOOTROM memory range

    overlaps existing memory range BOOTROM

    "../F28035_RAM_HVACI_Sensorless.CMD", line 68: error: RAMM1 memory range has

    already been specified

    "../F28035_RAM_HVACI_Sensorless.CMD", line 68: error: RAMM1 memory range

    overlaps existing memory range RAMM1

    error: file "./DLOG4CHC.obj" specifies ISA revision "C28FPU32", which is not

    compatible with ISA revision "C2800" specified in a previous file or on the

    command line

    error: file "./DSP2803x_CodeStartBranch.obj" specifies ISA revision "C28FPU32",

    which is not compatible with ISA revision "C2700" specified in a previous

    file or on the command line

    error: file "./DSP2803x_GlobalVariableDefs.obj" specifies ISA revision

    "C28FPU32", which is not compatible with ISA revision "C2700" specified in a

    previous file or on the command line

    error: file "./DSP2803x_usDelay.obj" specifies ISA revision "C28FPU32", which

    is not compatible with ISA revision "C2700" specified in a previous file or

    on the command line

    error: file "./HVACI_Sensorless-DevInit_F2803x.obj" specifies ISA revision

    "C28FPU32", which is not compatible with ISA revision "C2700" specified in a

    previous file or on the command line

    error: file "./HVACI_Sensorless.obj" specifies ISA revision "C28FPU32", which

    is not compatible with ISA revision "C2700" specified in a previous file or

    on the command line

    warning: automatic RTS selection: could not resolve index library "libc.a" to

    a compatible library

    error: file

    "C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/lib/rts2800_ml.lib<fd_mpy.obj>

    " specifies ISA revision "C2800", which is not compatible with ISA revision

    "C2700" specified in a previous file or on the command line

    error: file

    "C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/lib/rts2800_ml.lib<fd_tol.obj>

    " specifies ISA revision "C2800", which is not compatible with ISA revision

    "C2700" specified in a previous file or on the command line

    error: file

    "C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/lib/rts2800_ml.lib<fs_div.obj>

    " specifies ISA revision "C2800", which is not compatible with ISA revision

    "C2700" specified in a previous file or on the command line

    error: file

    "C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/lib/rts2800_ml.lib<fs_tofd.obj

    >" specifies ISA revision "C2800", which is not compatible with ISA revision

    "C2700" specified in a previous file or on the command line

    error: file

    "C:/ti/controlSUITE/libs/math/IQmath/v15c/lib/IQmath.lib<IQ24atan2PU.obj>"

    specifies ISA revision "C2800", which is not compatible with ISA revision

    "C2700" specified in a previous file or on the command line

    error: file

    "C:/ti/controlSUITE/libs/math/IQmath/v15c/lib/IQmath.lib<IQ24cosPU.obj>"

    specifies ISA revision "C2800", which is not compatible with ISA revision

    "C2700" specified in a previous file or on the command line

    error: file

    "C:/ti/controlSUITE/libs/math/IQmath/v15c/lib/IQmath.lib<IQ24div.obj>"

    specifies ISA revision "C2800", which is not compatible with ISA revision

    "C2700" specified in a previous file or on the command line

    error: file

    "C:/ti/controlSUITE/libs/math/IQmath/v15c/lib/IQmath.lib<IQ24sinPU.obj>"

    specifies ISA revision "C2800", which is not compatible with ISA revision

    "C2700" specified in a previous file or on the command line

    error: file

    "C:/ti/controlSUITE/libs/math/IQmath/v15c/lib/IQmath.lib<IQmathTables.obj>"

    specifies ISA revision "C2800", which is not compatible with ISA revision

    "C2700" specified in a previous file or on the command line

    "../28335_RAM_lnk.cmd", line 132: error: program will not fit into available

    memory. placement with alignment/blocking fails for section ".text" size

    0x12fa page 0. Available memory ranges:

    RAML1 size: 0x1000 unused: 0xee1 max hole: 0xee1

    error: errors encountered during linking; "HVACI_Sensorless.out" not built

    gmake: *** [HVACI_Sensorless.out] Error 1

    gmake: Target 'all' not remade because of errors.

  • It looks like you have two conflicting linker command files in your project. Look for that and choose the one you need.

    Also, looks like you need to switch to FPU32 support and use the FPU32 RTS library ( 'rts2800_fpu32.lib') instead of the rts2800_ml.lib

    Best Regards

    Chris