We have a prototype with VF3x, and debugging our codes with DS-5 debugger, using MQX. But since, it is too time consuming to stop DS-5 with breakpoint and see the variables/register and re-start it, we wish to use USB port of Vybrid, such as a printf() function, and see the variables in a terminal.
How can we use Vybrid's USB port for printf function with/without MQX?
Mehmet Ali Ipin
I have never tried something similar and it might not be an easy task.
First in case you want to use the internal USB module of Vybrid you will have to implement the USB CDC class.
Maybe the MQX example of virtual_com C:\Freescale\Freescale_MQX_4_1\usb\device\examples\cdc\virtual_com\build\iar\cdc_vcom_twrvf65gs10_a5
And map the output to the printf.
But you will be tied to use MQX in your project. If you can use a USB to Serial converter and use the UART module just for design can help too.