Debugging .out file generated in visSim with CCSV5

Altair Forum User
Altair Forum User
Altair Employee
edited November 2020 in Community Q&A

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

Unable to find an attachment - read this blog

Tagged:

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2016

    Submitted by Anders89 on Thu, 01/24/2013 - 20:54.

    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.

     

    <?xml version="1.0" encoding="UTF-8"?>MalaCCSvars.png

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2016

    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.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2016

    Submitted by Anders89 on Fri, 01/25/2013 - 19:07.

    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
  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2016

    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

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2016

    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.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2016

    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.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2016

    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