- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi.
If you build an example project in EZ USB Suite (attached), then everything works. But if I open the configurator and (without changing anything) resave four .C- file that can be resaved, then the project stops working. What could be the problem? EZ USB Suite is the latest. Nothing is issued to the COM port. I work with the CX3 debugging board.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you elaborate more on what is the issue faced?
Can you add a debug print at the end of the debugInit function and check if anything is getting printed on the COM terminal?
Saving the files in the Configuration utility overwrites the code files already present.
Best Regards,
AliAsgar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, COM terminal outputs the following:
В1, bRequest = 0x3, wValue = 0x0, wIndex = 0x0, wLength= 0x0
StpCB:In SET_FTR 0::1
bRType = 0x1, bRequest = 0x3, wValue = 0x0, wIndex = 0x100, wLength= 0x0
StpCB:In SET_FTR 0::1
bRType = 0x1, bRequest = 0x3, wValue = 0x0, wIndex = 0x0, wLength= 0x0
StpCB:In SET_FTR 0::1
bRType = 0x1, bRequest = 0x3, wValue = 0x0, wIndex = 0x100, wLength= 0x0
StpCB:In SET_FTR 0::1
AppInit:GpifSMStart passed
bRType = 0x21, bRequest = 0x1, wValue = 0x200, wIndex = 0x1, wLength= 0x22
USB Setup CB:Call AppSTOP1
AplnStop:SMState = 0x2
AplnStrt:SMState = 0x2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The .img file you shared with me is working fine.
The debug prints which you shared are proper and do not show any error.
Could you please explain what the issue is? I am not able to understand that.
Is it a programming issue or enumeration issue or streaming issue. Please explain in detail.
Please change your desktop language to English (if not already set) and check again.
Best Regards,
AliAsgar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I tested with the .img file you shared at my end. I was successfully able to stream video. Could you let me know if a custom board is being used or the CX3 Denebola kit is used?
Are there any other debugPrints being seen on the terminal, apart from the ones you shared previously.
Also please share with us the wireshark traces when the black screen is seen.
Best Regards,
AliAsgar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Even the latest .img file you shared is working fine with me.
From the board photo I see that, wires are soldered onto the MDP0 and MDN0 lines. Could you let me know if the issue is seen even after desoldering those wires.
As all the .img files you shared with me is working fine at my end, the issue at your end should be related to your hardware.
Best Regards,
AliAsgar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, please tell me what system configuration you have (operating system and video player)? on which the image works correctly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am working on a Windows 10 Operating system and the video player is the Windows In box camera.
Could you let me know if the issue is seen even after desoldering the debug wires from the MIPI lanes?
Best Regards,
AliAsgar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, nothing special should be written in the EEPROM on the board?, for normal operation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Nothing special needs to be written to EEPROM.
Could you let us know the boot mode used in your present application?
Please share with us the old firmware project (working) and new firmware project (not working).
Best Regards,
AliAsgar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please find attached zip folder, where I didnt change the configuration and resaved the 4.c files. Could you please check with it at your end? I am still able to stream properly. Same is the case with both the working and non working folder shared by you.
Could please probe the I2C lines and check if the image sensor has been configured correctly in the non-working firmware?
Best Regards,
AliAsgar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, the problem was in the following code,-
/* Setup Image Sensor */
/*
#ifndef FX3_STREAMING
CyU3PMipicsiSetSensorControl (CY_U3P_CSI_IO_XRES, CyTrue);
CyU3PMipicsiSetSensorControl (CY_U3P_CSI_IO_XSHUTDOWN, CyTrue);
#else
// Configure and Set Image Sensor Reset GPIO
status = CyU3PDeviceGpioOverride (22, CyTrue);
if (status != 0)
{
CyU3PDebugPrint (4, "CyU3PDeviceGpioOverride failed, error code = %d\n",
status);
}
// Configure GPIO 22 as output; Used as Reset for Sensor
gpioConfig.outValue = CyTrue;
gpioConfig.inputEn = CyFalse;
gpioConfig.driveLowEn = CyTrue;
gpioConfig.driveHighEn = CyTrue;
gpioConfig.intrMode = CY_U3P_GPIO_NO_INTR;
status = CyU3PGpioSetSimpleConfig(22, &gpioConfig);
if (status != CY_U3P_SUCCESS)
{
CyU3PDebugPrint (4, "CyU3PGpioSetSimpleConfig failed, error code = %d\n",
status);
}
#endif
*/
Now I have the following question - why is the default camera resolution 640x480?,
how to make the camera transmit 2592x1944?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Change the resolution using the host app to stream 2592 x 1944.
For the Windows inbox camera app, change the photo quality to 5MP.
Best Regards,
AliAsgar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You cannot change the values in the CX3 Configuration utility for the default CX3 OV5640 firmware project as the registers written for OV5640 in the library is based on the values populated in the utility.
Only the fields in the CX3 MIPI interface configuration can be changed.
Best Regards,
AliAsgar