Wolfspeed Power Applications Forum

Wolfspeed Technical Community:

CRD200DA12E-XM3 200 kW Three-Phase Inverter Open Loop Software Build Errors

ryancollin
ryancollin Contributor Level 1

Hello,

I’m working with the CRD200DA12E-XM3 three phase inverter for a motor drive application. In CCS, I’m attempting to build the project, but am getting a significant number of errors from the attempted build. Here is the primary error:

#10099-D program will not fit into available memory

I followed the CPWR-AN30 manual for setting up CCS properly to build the code, but am still getting the issues. Here are the things I did according to the manual:

Set the configuration to Flash

Set the optimizations to 1 – Local Optimizations

Set the floating point mode to relaxed

Set the heap size to 0x200

Set the C system stack size to 0x400

I’ve successfully tested the connection to the DSP through the XDS100v2 USB Debug probe.

I commented out the necessary lines of code in device.h

After all this, I click build and get the errors. There are 94 total errors. I’ve attached a few screenshots for reference. It seems the software isn’t able to fit on the device.

The manual instructs to place the code on the flash memory instead of ram because of space issues, so assume this is a problem that has been resolved before.

If you could please advise me on how to resolve these errors or some things to try to get the code on the device, it would be greatly appreciated. I’m using V1.3 of the code, and CCS 8.3.1.


Thanks!

Tagged:

Comments

  • ryancollin
    ryancollin Contributor Level 1

    To clarify, I am trying to run the open loop inverter software that was provided with the unit.

  • ryancollin
    ryancollin Contributor Level 1

    Here's a screenshot of the memory allocation.


  • ryancollin
    ryancollin Contributor Level 1
    edited April 2022

    This issue has been resolved. When changing the build settings, and additional .cmd Flash file can sneak into project, causing duplications and resulting in errors. Excluding the additional file from the build resolves the issue, and the code can be built without any errors.

This discussion has been closed.