Environment setup for demo application - microdaq/MdaqDSPLibrary GitHub Wiki
In order to develop and utilize DSP applications on MicroDAQ devices, it is necessary to install Code Composer Studio IDE with SDK for MicroDAQ DSP processor. In order to load DSP binary from host to target Python script will be used.
Files to download
-
Code Composer Studio Version: 10.4.0.00006 (https://software-dl.ti.com/ccs/esd/documents/ccs_downloads.html)
-
PROCESSOR-SDK-RTOS-AM57X Version: 06.03.02.08 -
Setup Python support package
MicroDAQ Python support package allows access to MicroDAQ resources. It allows loading DSP binary from the host to the target.
Install MicroDAQ Python support package v1.4 according to instruction: https://pypi.org/project/microdaq/
Setup Code Composer Studio IDE:
- Install PROCESSOR-SDK-RTOS-AM57X - recommended directory is the one which is provided by TI installer e.g c:\ti\
- Install Code Composer Studio with support for AM57x family (can be selected in install wizard)
- Start Code Composer Studio - software shall discover installed processor SDK - select all and confirm
If SDK Products(software packages from SDK) are not discovered by Code Composer Studio (CCS) use the following instruction to install products: https://software-dl.ti.com/ccs/esd/documents/ccs_product-installation-selection.html
- Repleace SDK_Install_Directory/am57xx-evm-rtos-sdk-src-06.03.02.08/ipc_3_50_04_08/packages/ti/ipc/remoteproc/rsc_table_vayu_dsp.h file with file from ipc_remoteproc directory.
- Import mdaq_demo project to Code Composer Studio from GIT with Project -> Import CCS Projects
- Edit dsp_load.py script(which is part of mdaq_demo project) if you use different IP or you will change the name of the project (OPTIONAL)
- Check if you can communicate with the MicroDAQ device by using system ping command
- Build the project with Project -> Build Project
The first build can take few minutes because RTOS needs to be compiled. After linking the dsp_load.py script will be executed. Please keep in mind that python3 command should be available to run the script.
- Open MicroDAQ web panel in web browser by entering MicroDAQ IP address in the browser address and check under DSP Logs if DSP application started. The System_printf C function output can be visible in DSP.
Code Composer Studio User’s Guide
For more details about Code Composer Studio visit https://software-dl.ti.com/ccs/esd/documents/users_guide/index.html