Anyone implemented Tiny printf() for usb VCOM?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hi,
Here anyone implemented printf() over VCOM in XMC 4500.,for debugging i need to send data over usb to hyper terminal,i have made certain changes in traditional printf which is based on UART.even though it is printing only first two characters.

Regards,
Irfan.
0 Likes
1 Reply
Not applicable
Hi,

You can use the provided API USBD_VCOM_SendString to send data to hyper terminal.
You don't really need to create your own printf function.
0 Likes