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.

TMS320F28027F: Need to Set Breakpoint line in LabVIEW For CCS

Part Number: TMS320F28027F

Hii 

One of TI member has shared the LabVIEW Scripts to Control CCS: Casuga Jospeh , j-casuga@ti.com

In DSS LabVIEW breakpoints can able to set in Address I have attached the Image Below.

in similar way I need to Set Breakpoint in line instead of "Address"

Can u Provide Entire Programming Manual LabVIEW Which Contains Syntax For CCS Tool to Control 

  • Hi Govinda,

    As stated in my previous post and in my email to you, the VI package that I have provided you is just to get you started in your initial labview needs.  The package is unsupported and an not official release.  These VIs were internally developed for our char internal purposes only.  Please use the VIs and develop them according to your needs.  Since these VIs were meant for public release, no documentations are provided.

    As for breakpoint setting, you would have to determine the program address location manually in the code disassembly to use the VI set breakpoint routine.  If you do not want to do this you can add an ESTOP0 statement in your CCS code.  This is similar to adding a breakpoint, but your code will always pause the execution at the location where the ESTOP0 was added.  You would not have to use a VI routine for this.  To resume code execution from ESTOP0 just issue run command.

    Regards,

    Joseph

  • Hii Joseph Casuga 

    Thanks For the Reply ,But We need Additional Information 

    Example 

    In order to set breakpoint at Particular address ,we are giving TCP /IP Syntax as===   {"name":"setBreakpoint","address":0x8900}

    Similar to that for setting the breakpoint at particular line we are facing issues 

    if Possible can u Provide the all TCP/IP Syntaxes list .as soon as possible,.looking Forward for your Reply

    Thanks 

    Govindaraj

  • Govindaraj,

    As I indicated, all these LV routine wrappers were developed internally to modify the available DSS routines so we can automate what we needed.  I do not have that list that you are requesting.  You would have to develop the labview routines yourself.  Specific to breakpoints, I do not use it that much but if i need to pause the execution to inspect or modify program vairables, i use ESTOP0 in my code as below:

        //
        // Initialize the CAN controller
        //
        CAN_initModule(CANA_BASE);
    
        //
        // Set up the CAN bus bit rate to 500kHz
        // Refer to the Driver Library User Guide for information on how to set
        // tighter timing control. Additionally, consult the device data sheet
        // for more information about the CAN module clocking.
        //
        CAN_setBitRate(CANA_BASE, DEVICE_SYSCLK_FREQ, 200000, 20);
    
        //
        // Enable interrupts on the CAN peripheral.
        //
        CAN_enableInterrupt(CANA_BASE, CAN_INT_IE1);
    
        // Assign MBox 1-16 to INT1; MBox 17-32 to INT0
        HWREG(CANA_BASE + CAN_O_IP_MUX21) = 0x0001FFFE;
        
        ESTOP0;
    
        //
        // Initialize PIE and clear PIE registers. Disables CPU interrupts.
        //
        Interrupt_initModule();
    

    - see statement in line# 22 on how to use ESTOP0 in place of breakpoint as an alternative.  You can then use "run" command with the TestServer VI function that i provided you to get out of the ESTOP0 statement.

    Hope this helps.

    Joseph