CRD200DA12E-XM3 200 kW Three-Phase Inverter Open Loop Software Build Errors
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!
Comments
-
ryancollin Contributor Level 1
To clarify, I am trying to run the open loop inverter software that was provided with the unit.
-
ryancollin Contributor Level 1
Here's a screenshot of the memory allocation.
-
ryancollin Contributor Level 1
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.