Automatic DSP operation

Source: Internet
Author: User

Before the development of DSP, using TI Company's board, the development environment is CCSV5

The job that you often have to do is


1.launch configuartion

2. LINK Emulator

3. Load the program, run the gel file, initialize the board

4.load Memory writes the required portion of the data to the board

5. Running


Sometimes in order to test some data, it is necessary to constantly repeat the work in order to get the data results. The whole process is pretty annoying.


Computers are used to do repetitive work, and repetitive work must be done with a computer.

So if CCS provides a programming interface that can write programs to perform these tasks automatically.

Later searched for half a day also did not find related work, may be oneself do not know how to describe

Then went to TI official forum (http://www.deyisupport.com/) asked, TI staff told me can use DSS (Debug Server scripting,http:// processors.wiki.ti.com/index.php/debug_server_scripting)

Another note: The official forum of the response speed is very fast, there are TI staff, more authoritative, if the Chinese forum can not search, but also to the English paper to ask http://e2e.ti.com/


Later looked, sure enough to solve my problem, the official document is quite detailed, you can use Javascript,java and other language calls.

The official web uses JavaScript, there are some Java examples, I use the Java interface, because more local data processing needs to use the function.

Java needs to be introduced into a few Java files, JavaScript should also be the files (perhaps the JavaScript interpreter is written in Java, so you can directly invoke the Java jar package?). )

Com.ti.ccstudio.debug.memoryserver_1.0.0.jar

Com.ti.ccstudio.scripting.environment_3.1.0.jar

Com.ti.ccstudio.scripting.rtdx_1.0.0.jar

Com.ti.debug.engine_10.0.0.jar

Dss.jar


The directory where the library file is located is

Ti\ccsv5\ccs_base\debugserver\packages\ti\


One of the things I really need here is to load the gel file and execute the functions in it.

These two lines of code are used


DebugSession.expression.evaluate ("Gel_loadgel (" File.gel ")"); Call system functions to load Gel files File.gel

DebugSession.expression.evaluate ("Gel_func ()"); Call a function in File.gel gel_func ()



Automatic DSP operation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.