Debugging .out file generated in visSim with CCSV5

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

Hello all: I found this

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

i get to see this error in

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.

This works fine for us with

This works fine for us with CCS v5.3 I’m afraid you will have to contact TI to find why CCS is not working for you.
pic

in run time mode variables

in run time mode variables are not identified. can you please send me the the steps you followed to debug the program through CCS.

Compile diagram in VisSim

  1. Compile diagram in VisSim with "target flash" option enabled
  2. Start CCS v5.3
  3. Create target link for XDS100-F28069
  4. Launch Debugger on target link for XDS100-F28069
  5. Connect to target
  6. Load .out file program from \vissim80\cg
  7. Run to main - Variables are now available

variables are available when

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

Do not check "Include VisSim

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.