I know there is a `cyfxusbdebug` example, but there isn't any example host (Windows) code or applications which show how to retrieve and parse the log data dumped to the USB endpoint.
>> The device enumerates as vendor-specific device and not CDC device when programmed with cyfxusbdebug example. Data can be retrieved using the control center application/ streamer application.
I have modified the default firmware to make it a CDC device so that it can be accessed through com port software like Tera Term. I am using CyU3PDebugPrint for printing "Cypress " to Serial port through USB
These are the results
My other thought was to use the USB-UART Bridge example (https://www.cypress.com/documentation/code-examples/ez-usb-fx3-usb-uart-bridge-example ) and dump all of the debug logging to this USB-COM serial port.
>> This firmware if for sending data from UARt to USB and USB to UART. If the UART pins are pre occupied the firmware cannot be used directly.
Please see the attached UsbDebug firmware and let me know if it helps
Please let me know if any queries on this.
USBDebug.rar 397.2 K