Instructions on how to connect the DSP core using the simulator based on CCS
[Copy link]
1. Connect the emulator to the DSP in debug mode. In debug mode
, turn the DIP switch to 11111 and connect the emulator to the JTAG interface.
In CCS, click View and then click Target Configurations.
Right-click in the pop-up target configuration window and create a new configuration.
Modify the target configuration file name for easy identification, such as AM5728.ccxml or AM57xx.ccxml.
Click Finish to enter the target configuration. Select the corresponding simulator model. This experiment uses the XDS100V3 simulator.
If you use the XDS200 simulator, select the option;
Select GPEVM_AM572x as the chip model. This configuration will automatically load the TI official gel file.
After clicking save, click Test Connection to test the connection. If the result is as shown in the figure below, the test connection is
successful.
In the simulator configuration window, select the target configuration after configuration is completed, right-click, and click Launch Selected
Configuration.
Enter the Debug interface, select the CortexA15_0 core in the Debug window, right-click, and click Connect Target,
as shown in the figure below.
Select the C66xx_DSP1 core and right-click, then click Connect Target, as shown below. Connection of DSP core
You need to connect the ARM core first to initialize and enable the DSP core, and then connect the DSP core to successfully connect the DSP core.
2. The emulator is connected to the DSP
arm and starts normally under the Linux system
In the CCS interface, click View, then click Target Configurations.
Right-click in the pop-up target configuration window and create a new configuration.
Modify the target configuration file name for easy identification, such as AM5728.ccxml or AM57xx.ccxml.
Click Finish to enter the target configuration. Select the corresponding emulator model. This experiment uses the XDS100V3 emulator.
If you use the XDS200 emulator, select the option;
select AM5728 for the chip model.
After clicking save, click Test Connection to test the connection. If the result is as shown in the figure below, the test connection is
successful.
In the simulator configuration window, select the target configuration after configuration is completed, right-click, and click Launch Selected
Configuration.
After clicking Launch Selected Configuration, the following interface will be displayed.
Open the serial port window and enter the following command:
Target# echo "on" > /sys/bus/platform/devices/40800000.dsp/power/control
Return to the Debug interface of CCS, select the C66xx_DSP1 core in the Debug window, right-click, and click Connect
Target, as shown in the figure below.
The DSP core is connected as shown below.
Copy the GPIO_LedBlink_evmAM572x_c66xTestProject.out file located in "\Demo\RTOS\c66\led\bin\" to a non-Chinese path, then press
the load button in the red box to upload the compiled GPIO_LedBlink_evmAM572x_c66xTestProject.out file
. After selecting the path, click OK to upload.
After uploading, the program can be debugged through CCS as shown in the figure below.
|