Hi there;
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.
Thanks;
Souhib
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,
Click Apply,
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;
Souhib,
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,
Regards
Manish Bhardwaj
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:
sw2:
position 1 is 1 and position 2 is 0
sw3 is ON
is there anything in the code I have to modify?