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.
Hello,
I am using the TMDSHVMTRPFC development kit with CCSv5, and am running the example project "Sensored Field Oriented Control of 3-Phase Induction Motors, v1.1 February 2010". I believe this document was written for use with CCSv4.
To view variable in the Dual Time graph window, the document says to set the Start Address A and Start Address B to DLOG_4CH_buff1 and DLOG_4CH_buff2. This works for me when I use the C2000 compiler v5.2.2. However, when I switch to compiler v6.0, both start addresses don't work anymore. I searched through the project files, and cannot figure out what the start address is supposed to be.
I was using compiler v5.2.2 because it is compatible with Matlab/ Embedded Coder. For my current project, I am not using Embedded Coder, and there is always a warning that comes up saying that the project was originally built in a more recent compiler. Also, CCS kept locking up and not responding. I couldn't find any information about this problem from other forums. When I switched to v6.0, CCS seems to respond better, but now the data log address doesn't work.
Do you know if the Start address would change between compiler versions? If so, how do I find out what the address is?
Thank you,
Nick
Hi Nick,
I had the same problem than you've sufered using the function checkEnvSetup('ccsv4', 'F28035', 'setup') in november 2011 and I 'd love to know how did you solvented this problem.
Thank's
Joan,
Make sure the project is configured to compile using the most recent and compatible compiler ( I think you do this in the "Project Properties"). Compiler v5.2.2 was too old for this project when I did this. I had the new compiler installed, but not set as the active compiler for the project. After setting the compiler to the one that came with the CCSv5 installation (v6.0.3), I was able to get rid of the error during the compilation phase.
For the Data Logger, search the main *.c file and look for the section within each build level, which maps a variable to the data log variable. I believe the name "DLOG_4CH_buff1" should work as it did with the previous compiler.
I seem to remember that I gave up for the night, came back the next day and tried this on a different computer, and I had no problems. Make sure that the Workspace folder does not contain any other files associated with this project. I think my problem was this: there was already a set of files with the same name in the workspace, and when CCS writes these files to the workspace during the project build process, there is a conflict between the new files and the old ones. From my experience, always navigate to the workspace folder through "My Computer", and delete any project folders which are old or unnecessary.
I hope this helps.