SuperSpeed Device Design By Example by Hyde John

SuperSpeed Device Design By Example by Hyde John

Author:Hyde, John [Hyde, John]
Language: eng
Format: epub, pdf
Published: 2014-08-30T16:00:00+00:00


Load and run CDC_Example.img file using the USB Control Center and this will create a new virtual com port. You now have two virtual com ports, one connected to the FX3 and one connected to the debug console. Attach a terminal program such as Clear Terminal to each of them and note that characters typed in one window appear in the other. If you set DirectConnect to 0 then you will get a lot more messages in the Debug Window. Not all that exciting but this has big implications for the next example.

Debug Console Over USB

I called the previous example a CDC Interface because we can now “copy and paste” this code into another project and easily make a composite device. This example combines a Cypress BulkLoop firmware example with a CDC interface as shown in Figure 6.11. We will also add code to redirect the Debug Console to the CDC interface.

Figure 6.11 This example has two independent interfaces



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.