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.

DSS Generic Loader (Loadti) + GUI

hi,

I am making a GUI using Visual Basic 6 to communicate with my F2812 through my XDS100v2.

I'm working through the DSS to send to the DSP programs ... but now I need to have any communication from the Board to the PC, to check the status of I \ O DSP graphically.

I have reviewed this link http://processors.wiki.ti.com/index.php/Loadti  and like "readme.txt" in the folder Loadti, but no solution.

I am running the following code, which does not generate any errors, creates the *. txt file which is empty:

C:\Program Files\Texas Instruments\ccsv4\scripting\examples\loadti>loadti -c C:\Users\Ivan\user\CCSTargetConfigurations\MyDSP.ccxml --stdout-file=C:\Users\Ivan\

Desktop\myapp2.txt C:\Users\Ivan\Documents\MATLAB\untitled_ticcs\CustomMW\untitled.out

 

thank very much for the info

 

 

 

  • Ivan Gonzalez said:

    I'm working through the DSS to send to the DSP programs ... but now I need to have any communication from the Board to the PC, to check the status of I \ O DSP graphically.

    I have reviewed this link http://processors.wiki.ti.com/index.php/Loadti  and like "readme.txt" in the folder Loadti, but no solution.

    If you want to read data on the target so that your GUI can display it, you should use the DSS API directly instead as Greg mentioned in your other thread:

    http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/131532/471946.aspx

    loadti is meant mainly for standalone execution of an application on the target. Sounds like you want something more complex, more interaction with the target.

    Ivan Gonzalez said:

    I am running the following code, which does not generate any errors, creates the *. txt file which is empty:

    C:\Program Files\Texas Instruments\ccsv4\scripting\examples\loadti>loadti -c C:\Users\Ivan\user\CCSTargetConfigurations\MyDSP.ccxml --stdout-file=C:\Users\Ivan\

    Desktop\myapp2.txt C:\Users\Ivan\Documents\MATLAB\untitled_ticcs\CustomMW\untitled.out

    Does your application send C/IO to the console? If you remove the --stdout-file option, do you get C I/O output to the console?

    ki

     

     

  • hi ki,

    Thank very much for the answer ...

    Sorry if I was not clear in the previous post .. my application sends the program to the DSP *.out,  But if I remove the - stdout-file the program works fine ...

    but now I need to know if I can be by the DSS by sensing the status of the DSP and a graphical knowledge of the I / O

     

    C:\Program Files\Texas Instruments\ccsv4\scripting\examples\loadti>loadti -c C:\Users\Ivan\user\CCSTargetConfigurations\MyDSP.ccxml C:\Users\Ivan\Documents\MATLAB\prueba_pwm_ticcs\CustomMW\prueba_pwm.out

     

    ***** DSS Generic Loader *****

    START: 16:19:59 GMT-0500 (COT)

    Configuring Debug Server for specified target...

    Done

    TARGET: Texas Instruments XDS100v2 USB Emulator_0

    Connecting to target...

    testEnv.outFiles: C:\Users\Ivan\Documents\MATLAB\prueba_pwm_ticcs\CustomMW\prueba_pwm.out

    Loading C:\Users\Ivan\Documents\MATLAB\prueba_pwm_ticcs\CustomMW\prueba_pwm.out

    Done

    Target running...

    Interrupt to abort . . .

  • Ivan,

    Ivan Gonzalez said:

    ***** DSS Generic Loader *****

    START: 16:19:59 GMT-0500 (COT)

    Configuring Debug Server for specified target...

    Done

    TARGET: Texas Instruments XDS100v2 USB Emulator_0

    Connecting to target...

    testEnv.outFiles: C:\Users\Ivan\Documents\MATLAB\prueba_pwm_ticcs\CustomMW\prueba_pwm.out

    Loading C:\Users\Ivan\Documents\MATLAB\prueba_pwm_ticcs\CustomMW\prueba_pwm.out

    Done

    Target running...

    Interrupt to abort . . .

    I see no C I/O messages above. All that output above is actually coming from the loadti javascript. The --stdout-file option only streams C I/O messages from your application (like 'printf') to the file.

    If you want all the loadti javascript output to a file, simply redirect it via:

    C:\Program Files\Texas Instruments\ccsv4\scripting\examples\loadti>loadti -c C:\Users\Ivan\user\CCSTargetConfigurations\MyDSP.ccxml C:\Users\Ivan\Documents\MATLAB\prueba_pwm_ticcs\CustomMW\prueba_pwm.out > myapp2.txt

    Ivan Gonzalez said:
    but now I need to know if I can be by the DSS by sensing the status of the DSP and a graphical knowledge of the I / O

    What do you mean when you say you want to sense the status of the DSP? You are looking for if the DSP is running/halted, etc? And what I/O exactly?

    ki

  • Hi Ki,

    Thank very much for the answer ...

    When I refer to "sense the state" is I need to be monitoring what is running on the DSP ..

    I denote as "I / O" I mean the inputs / outputs of DSP ...

    I need to know is that if by the DSS (loadti) I can do a monitoring program events that I sent to the DSP ..

    thanks....

  • Hi Ki,

    Thank very much for the answer ...

    When I refer to "sense the state" is I need to be monitoring what is running on the DSP ..

    I denote as "I / O" I mean the inputs / outputs of DSP ...

    I need to know is that if by the DSS (loadti) I can do a monitoring program events that I sent to the DSP ..

    thanks....

  • Ivan Gonzalez said:

    Thank very much for the answer ...

    When I refer to "sense the state" is I need to be monitoring what is running on the DSP ..

    I denote as "I / O" I mean the inputs / outputs of DSP ...

    DSS has APIs to access registers and memory of the target. Using those APIs, you should be able to have some visibility into the status of the target.