Fx3s-USBUART CyU3PDebugPrint NOT WORKING

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

cross mob
rasu_4591691
Level 2
Level 2

Hi,

I am using PACTRON'S FX3S FPGA Dev Board REV-C. In  cyfxusbuart example I want to use CyU3PDebugPrint().But its not working. After the CyFxUSBUARTAppInit(); function I put

CyU3PDebugInit (CY_U3P_LPP_SOCKET_UART_CONS, 8);

CyU3PDebugPrint(4, "value %d\r\n", value);

but it's not working.The example usbuart code gives com port in teraterm .but after adding CyU3PDebugInit(),it does not give the com port. what should I do for getting a debugprint messages in usbuart.

Thanks & Regards

S.Ravi chandrika

0 Likes
1 Solution
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi Ravi chandrika,

In cyfxusbuart example, DMA channel corresponding to the handle glChHandleUsbtoUart has CY_U3P_LPP_SOCKET_UART_CONS as the consumer socket. So, you can't use CyU3PDebugInit along with it.

Regards,

Hemanth

Hemanth

View solution in original post

0 Likes
2 Replies
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi Ravi chandrika,

In cyfxusbuart example, DMA channel corresponding to the handle glChHandleUsbtoUart has CY_U3P_LPP_SOCKET_UART_CONS as the consumer socket. So, you can't use CyU3PDebugInit along with it.

Regards,

Hemanth

Hemanth
0 Likes

Thank you!

Regards,

Ravi chandrika

0 Likes