5.3.3 Operations

The included readme document contains a comprehensive guide for setting up and using the example.

This step-by-step guide demonstrates the example using a terminal application:
  1. Connect the hardware as described in the readme.
  2. Download and open the project linked in the example introduction section or create one in MPLAB X using the setup guide.
  3. Program the device.
  4. Open puTTY or any other terminal application and start a terminal session for the AVR DU and the Curiosity Nano debugger.
  5. Enter anything in the terminal window and observe that it appears in the other terminal window.
The Python® script included, demonstrates integrating the Virtual Serial Port example into other applications without manually initializing terminal sessions. Follow the above steps up to step 3, then proceed with the following:
  1. Locate the Python script in the example folder.
  2. Update the script if any changes are made to the setup
  3. Run the script and observe that the transmitted hexadecimal values have been received as ASCII characters in both directions.

This example demonstrates a simple USART bridge application, which can be implemented to translate any serial data to and from USART. With minor modifications, it can be adapted to connect any serial interface to a host computer using CDC.