For the compilation of the client part (DSP) you need the 'Code Composer Studio' that comes e.g. with the DSP-board.
The program on the DSP-board is slightly revised from the ones in Tutorial 1 and 2 in order to accomodate the command- and response-channel and to allow for the transfer of data arrays. It uses non-blocking reads of the RDTX-channels and checks the state of the transfer channels organized via state-variables. A global flow diagram is depicted in Figure 2.2.
Compilation/linking is equivalent to the one in Tutorial 1. Opening the project file Tutorial_3.pjt should show:
Right-click on the project and build it. You can the load the compiled program from the subdirectory 'Debug' and start it from the 'Debug'-menu. It will write the following message in the 'console'-area: "Ready to receive a command from the host".
You can now start the host program and send data and commands to the client. Entering a '0'-command at the host will stop the program. It will exit writing "Application completed successfully." Entering a '1'-command will activate the 'Send'-data button: enter an integer in the textfield and press the 'Send' button. The number will be sent to the DSP-board and will be transmitted back to the host where it will be displayed in the 'Received'-field. Now you can enter a command again.