TI E2E Community
C2000 32-bit Microcontrollers Forum
HV_Solar_DC_DC Experimental Kit
I have been testing the HV_Solar_DC_DC kit, while I'm running it, I noticed that the MPPT feature is not working. So, I want to modify the code, that is provided in control suite, in order to have the MPPT working. But, when I hit "build all" using the desktop, I got 45 error most of them regarding the PeripheralHeaderInclude, however, when I run it on my laptop, I got just this following error:
"This project was created using a version of Code Generation tools that is not currently installed: 6.0.1 [C2000]. Please install the Code Generation tools of this version, or migrate the project to one of the supported versions."
this is confusing me, I would appreciate any suggestions, thoughts, and comments that lead to figure out what is going on.
It means that you do not have the code gen version 6.0.1 installed, You can quickly change the code gen tool by the following
Right Click the Project name in the C/C++ panel ->Click on Build Properties
A window will pop up, now select the CCS Build on the left side of this window,
You will see the project settings, Code Generation Tool will be one of the options, click on the drop down menu and select a version that is installed on your machine,
Now a generic linker command file may be populated in the Linker Command File line, remove the name this filed should be blank,
Hit Apply and ok
Rebuild the project,
Thanks a lot Manish...
Could you please tell me more about code generation tool? what is it exactly? and how is it different from CCS? I would appreciate if you send a file or a link that talks about this in more details...
Thank you and have a good weekend;
The C code written in CCS needs to be translated to instructions on the processor, as TI has different CPU core/ ISAs each CPU has it;s code generation tool that provides the rule etc for the translation. As TI keeps on adding enhancements to it's core and also improving the efficiency of the compiler there are different versions of the code gen tool.
The C28x family uses the C2000 Code generation tool,
CCS is the outer garb that the user sees to debug, write and modify the code..
Unfortunately I do not have a document that talks about all of this,
Thank you Manish...
In fact, I was able to fix the errors. However, I have another problem, whenever I try to execute the code, which is the one that I got from control suite, in RAM mode, it runs or couple of seconds then it gives me this error:
" Error: (Error -1156 @ 0x0) Device may be operating in low-power mode. Do you want to bring it out of this mode? (Release 5.0.429.0) "
I did try to execute another project from the example that are provided in control suite, on the same card (TMS320F28035), and it worked. Also, I checked the LPMCR0 register, and it is set to operate in idle state, where bits 1-0 are set to 00.
Any help is appreciated...
I just checked the DC-DC package, the only configuration we support is FLASH for this project, did you modify anything for this to work in RAM?
I only modified the switches on the MUC card to work in RAM as follows:
position 1 is 1 and position 2 is 0
sw3 is ON
is there anything in the code I have to modify?
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.