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.

F28035 Memory use problem

Other Parts Discussed in Thread: CONTROLSUITE

Hi

I'm using the High voltage motor control kit with f28035 to control ACIM.

When i add some algorithm in example code HVAIC_sensorless, it show the error message about memory using.

So, is there possible to use the reserved region in f28035 memory like 0x00 A000? 

  • Shuen Jan,

    On F28035 there is no memory above 0x9FFF.  Your program has out-grown the amount of RAM on the device.  The space allocated to hold the program is 0x1800, the error message is telling you your program size is 0x18E2, so it's too big.  The basic application uses 0x612 words of RAM out of the allocated 0x800 words to hold data, so there isn't much headroom there either.

    At this point I think you have to consider moving to the flash configuration of this project.  In CCS:

    "Project -> Build Configurations  -> Set Active -> F2803x_FLASH"

    Regards,

    Richard

  • Thanks for reply

    I tried to build in F2803X_FLASH, but gtt lots warning messages.

    warning: creating output section "EmuKeyVar" without a SECTIONS specification
    warning: creating output section "PartIdRegsFile" without a SECTIONS
    specification
    warning: creating output section "EmuBModeVar" without a SECTIONS
    specification
    warning: creating output section "FlashCallbackVar" without a SECTIONS
    specification
    warning: creating output section "FlashScalingVar" without a SECTIONS
    specification
    warning: creating output section "DevEmuRegsFile" without a SECTIONS
    specification
    warning: creating output section "FlashRegsFile" without a SECTIONS
    specification
    warning: creating output section "CpuTimer0RegsFile" 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 "CpuTimer1RegsFile" without a SECTIONS
    specification
    warning: creating output section "GpioIntRegsFile" without a SECTIONS
    specification
    warning: creating output section "SpibRegsFile" without a SECTIONS
    specification
    warning: creating output section "SpiaRegsFile" without a SECTIONS
    specification
    warning: creating output section "NmiIntruptRegsFile" without a SECTIONS
    specification
    warning: creating output section "SciaRegsFile" without a SECTIONS
    specification
    warning: creating output section "CsmRegsFile" without a SECTIONS
    specification
    warning: creating output section "XIntruptRegsFile" without a SECTIONS
    specification
    warning: creating output section "Comp3RegsFile" without a SECTIONS
    specification
    warning: creating output section "Comp2RegsFile" without a SECTIONS
    specification
    warning: creating output section "Comp1RegsFile" without a SECTIONS
    specification
    warning: creating output section "PieCtrlRegsFile" without a SECTIONS
    specification
    warning: creating output section "AdcResultFile" without a SECTIONS
    specification
    warning: creating output section "GpioDataRegsFile" without a SECTIONS
    specification
    warning: creating output section "ECap1RegsFile" without a SECTIONS
    specification
    warning: creating output section "SysCtrlRegsFile" without a SECTIONS
    specification
    warning: creating output section "I2caRegsFile" without a SECTIONS
    specification
    warning: creating output section "ECanaRegsFile" without a SECTIONS
    specification
    warning: creating output section "EPwm2RegsFile" without a SECTIONS
    specification
    warning: creating output section "EPwm1RegsFile" without a SECTIONS
    specification
    warning: creating output section "EPwm4RegsFile" without a SECTIONS
    specification
    warning: creating output section "EPwm3RegsFile" without a SECTIONS
    specification
    warning: creating output section "ECanaMOTSRegsFile" without a SECTIONS
    specification
    warning: creating output section "ECanaLAMRegsFile" without a SECTIONS
    specification
    warning: creating output section "Cla1RegsFile" without a SECTIONS
    specification
    warning: creating output section "EPwm7RegsFile" without a SECTIONS
    specification
    warning: creating output section "EPwm6RegsFile" without a SECTIONS
    specification
    warning: creating output section "GpioCtrlRegsFile" without a SECTIONS
    specification
    warning: creating output section "EPwm5RegsFile" without a SECTIONS
    specification
    warning: creating output section "EQep1RegsFile" without a SECTIONS
    specification
    warning: creating output section "ECanaMOTORegsFile" without a SECTIONS
    specification
    warning: creating output section "LinaRegsFile" without a SECTIONS
    specification
    warning: creating output section "AdcRegsFile" without a SECTIONS
    specification
    warning: creating output section "PieVectTableFile" without a SECTIONS
    specification
    warning: creating output section "ECanaMboxesFile" without a SECTIONS
    specification

  • Shuen Jan,

    You have excluded the file "DSP2803x_Headers_nonBIOS.cmd" from the flash build. The project is not shipped in controlSUITE that way. Right-click on the file and then select "Exclude from Biold" (so the check mark goes away). Then try to re-build. If you are still running into problems, back up your work and re-install controlSUITE.

    Regards,

    Richard