UNSOLVED GX-MIPI-IMX662 can't save fps parameter
-
Hi,
On my new camera GX-MIPI-IMX662 I'm trying to set fps parameter (via gx_mipi_i2c.sh from 60 to 30) and save to flash by paramsave and it is working only for current session and after restart it restored back to 60 again.How to fix it?
-
@alex_ai I’ve just checked this function, and it works correctly. I suspect the issue lies in the way you’re operating it.
I recommend that you always change the FPS via the
v4l2-ctlcommand to ensure consistency across different sessions. If you usegx_mipi_i2c.shdirectly, the parameters can indeed be changed by writing to the camera registers, but the driver layer is not notified of these changes. As a result, the driver retains incorrect (outdated) values. -
Hi @veye_xumm , thank you for answer, let me clarify my steps.
- Boot raspberry pi 5
- check current fps (it is 60):
$ ./gx_mipi_i2c.sh -r fps -b 4 Read FrameRate_Ex is 60.0000 fps- set current fps
$ ./gx_mipi_i2c.sh -w fps 30 -b 4 Write FrameRate_Ex is 30.0000 fps- check if it is set:
$ ./gx_mipi_i2c.sh -r fps -b 4 Read FrameRate_Ex is 30.0000 fps- Video opened with with 30fps correctly
- save parameters to flash
$./gx_mipi_i2c.sh -w paramsave -b 4 all param saved to flash7 . Reboot raspberry pi
8. check current fps (it is 60 again):$ ./gx_mipi_i2c.sh -r fps -b 4 Read FrameRate_Ex is 60.0000 fps -
You need to upgrade your camera firmware. Please refer to the link below to download the firmware, and then follow the subsequent link for the upgrade procedure.
https://www.mediafire.com/folder/4tov5s500gaif/camera_firmware_upgrade_images
https://wiki.veye.cc/index.php/GX_camera_firmware_update_manual
-
Hi @veye_xumm, I'm already on the latest version of firmware:
$ ./gx_mipi_i2c.sh -r version -b 4 Read version is C 01.14 and L 01.11Anyway it is not critical issue for me.
I'm trying this new GX-MIPI-IMX662 as improved version of VEYE-MIPI-IMX462 for meteors detection and can't configure with same way.If turn off denoise_strength_3D the video image is very noisy and as in gx_mipi_i2c no feature to read sensor registers, can I ask to you confirm that:
In low light environment ISP enables HCG mode (register FDG_SEL0 0x3030 sets to 0x01) ?Maybe you have other recommendations like for IMX462 in this post :
VEYE-MIPI-IMX462 - manual gain not consistent