Debugging .out file generated in visSim with CCSV5
Submitted by Mala Gowda on Thu, 01/24/2013 - 19:35
Hi Anders:
I tried debugging the .out file generated in VisSim through CCS. the file works fine in VisSim debug mode but not the same in CCS. what could be the reason. i have attached snap shots of some steps. please suggest what changes has to be done.
Regards, MALA
Answers
-
-
Submitted by Mala Gowda on Fri, 01/25/2013 - 19:01.
in run time mode variables are not identified. can you please send me the the steps you followed to debug the program through CCS.
0 -
Submitted by Anders89 on Fri, 01/25/2013 - 19:07.
- Compile diagram in VisSim with 'target flash' option enabled
- Start CCS v5.3
- Create target link for XDS100-F28069
- Launch Debugger on target link for XDS100-F28069
- Connect to target
- Load .out file program from \vissim80\cg
- Run to main - Variables are now available
0 -
Submitted by Mala Gowda on Wed, 01/30/2013 - 22:20.
variables are available when .out file is loaded but with real time mode, variables are not identified. i want to get rid of emulator. Selecting target flash while compiling the code and flashing the same .out file with uniFlash. i should be able to run the algorithm without entering visSim debug mode or not with external signal like joystick connected.
Regards, MALA
0 -
Submitted by Anders89 on Thu, 01/31/2013 - 07:03.
Do not check 'Include VisSim Communication Interface' when you check 'Target flash' and then you can flash your algorithm and run with no emulator and no connection to the PC.
0 -
Submitted by Mala Gowda on Thu, 01/31/2013 - 12:11.
i get to see this error in uniFlash.
[12:08:29] ERROR >> C28xx: Flash Programmer: Error encountered when writing to flash memory
[12:08:29] ERROR >> C28xx: GEL: File: C:\VisSim80\cg\WheelchairControl-SpeedLoopMotorCheckWithBRake.out: Load failed.
0 -
Submitted by Mala Gowda on Mon, 02/04/2013 - 14:01.
Hello all:
I found this warning when i compile a visSim LED blinking example file. i do not see this warning in other files other than example programs. what could be a reason for this. is it anything related to CCS setup. am i supposed uninstall/reinstall CCS.
warning: build attribute vendor section TI missing in
'lib\DSP280x_GlobalVariableDefs.obj': compatibility cannot be determined
warning: build attribute vendor section TI missing in
'lib\PWM_DrvGlobalVars.obj': compatibility cannot be determined
Regards,
MALA
0