- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a CX3 that interfaces with an OV5640. CDC is enabled to print debug messages via UART.
This application prints messages fine using Tera Term on Windows but when using on Mac (using CoolTerm) I receive no messages. The device shows as a serial device and I connect using the same parameters as Windows, however nothing is printed.
Is there anything different that needs to be configured to print debug messages to Mac OS?
Solved! Go to Solution.
- Labels:
-
USB Superspeed Peripherals
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please try calling CyU3PDebugInit on receiving CY_U3P_USB_EVENT_SETCONF event and call CyU3PDebugPrints when glIsConfigured is CyTrue. Please let me know the results after the changes.
case CY_U3P_USB_EVENT_CONNECT:
glIsStreamingStarted = CyFalse;
if (evtype == CY_U3P_USB_EVENT_SETCONF)
{
status = CyU3PDebugInit (CY_FX_EP_DEBUG_SOCKET, 8);
if (status != CY_U3P_SUCCESS)
{
CyU3PDeviceReset(CyFalse);
//CyFxAppErrorHandler (status);
}
glIsConfigured = CyTrue;
}
Rashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please try calling CyU3PDebugInit on receiving CY_U3P_USB_EVENT_SETCONF event and call CyU3PDebugPrints when glIsConfigured is CyTrue. Please let me know the results after the changes.
case CY_U3P_USB_EVENT_CONNECT:
glIsStreamingStarted = CyFalse;
if (evtype == CY_U3P_USB_EVENT_SETCONF)
{
status = CyU3PDebugInit (CY_FX_EP_DEBUG_SOCKET, 8);
if (status != CY_U3P_SUCCESS)
{
CyU3PDeviceReset(CyFalse);
//CyFxAppErrorHandler (status);
}
glIsConfigured = CyTrue;
}
Rashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Rashi,
It ended being due to the Build Variable 'FX3SDKVERSION'. Although I followed the instructions to install 1_3_4 it has to be set to 1_3_3 to work.
I am having another issue though. When I enable debugging I can't view the stream at the same time. The image appears as green. Attached is log from above application.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Further details from my colleague here:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
It ended being due to the Build Variable 'FX3SDKVERSION'. Although I followed the instructions to install 1_3_4 it has to be set to 1_3_3 to work.
>> Please let me know if you are able to receive the debug prints on MAC
Further details from my colleague here:
>>From the firmware shared in the thread pointed, I can see that RX payload size field in probe control structure is smaller than the DMA buffer size (0x5FF0).
Please configure the RX Payload size greater or equal to DMA buffer size in probe control structure as follows
0x00, 0x90, 0x00, 0x00, /* No. of bytes device can RX in single payload: 36KB *
Rashi