Changes

Jump to navigation Jump to search
Line 1: Line 1:  +
===Applicable Product models===
    +
*MV MIPI series (for instance MV-MIPI-IMX178M ...)
 +
*RAW MIPI series (for instance RAW-MIPI-SC132M ...)
 +
*VEYE-MIPI-IMX335
 +
 +
=== How to upgrade camera firmware ===
 +
Each MIPI camera module has an i2c control interface. We use this i2c bus interface for firmware upgrades.
 +
 +
==== Prepare ====
 +
You can get the upgrade package for the camera from this [https://www.mediafire.com/folder/4tov5s500gaif/camera_firmware_upgrade_images link]. The default file name is ProductMode_Version_.bin, for instance MV-MIPI-IMX178M_C1.08_L1.02_upgrade.bin.
 +
 +
Use the veye_i2c_upgrade tool to perform the upgrade operation. For different motherboards, we release the corresponding mv_tools_rpi toolset which contains veye_i2c_upgrade.
 +
 +
The mv_tools_rpi is available on GitHub, for example the tools for the Raspberry Pi platform can be downloaded from this [https://github.com/veyeimaging/mvcam_raspberrypi/tree/main/mv_tools_rpi link].
 +
 +
==== Upgrading ====
 +
 +
* Step 1:
 +
 +
Put the upgrade package(MV-MIPI-IMX178M_C1.08_L1.02_upgrade.bin) into the same directory as veye_i2c_upgrade.
 +
 +
* Step 2:
 +
 +
Confirm that the camera module is powered up.
 +
 +
Using v4l2 driver mode, the power up and probe process will be performed during the linux boot process. Just power on the board and it should work.
 +
 +
In particular, for the legacy mode of the Raspberry Pi, you need to execute camera_i2c_config to power up the camera.
 +
 +
* Step 3:
 +
 +
Please refer to the following article to determine which i2c bus this camera is connected to.
 +
 +
[http://wiki.veye.cc/index.php/I2c_bus_number_and_video_node i2c bus number on different boards]
 +
 +
* Step 4:
 +
 +
For the mv series, execute this command to read the current version:
 +
 +
<code>./mv_mipi_i2c.sh -r -f version -b [i2c bus]</code>
 +
 +
For VEYE-MIPI-IMX335,execute this command to read the current version:
 +
 +
<code>./veye5_mipi_i2c.sh -r -f version -b [i2c bus]</code>
 +
 +
* Step 5:
 +
 +
Execute this command to upgrade, and a progress prompt will be displayed during the upgrade.
 +
 +
<code>sudo ./veye_i2c_upgrade [upgrade package file name] -b [i2c bus]</code>
 +
 +
If you encounter a situation where the upgrade fails, you can power cycle the camera and then attempt the upgrade again.
 +
 +
* Step 6:
 +
 +
After the upgrade is complete, the camera will automatically restart. You can re-read the version number to confirm.
 +
 +
For the mv series, execute this command to read the current version:
 +
 +
<code>./mv_mipi_i2c.sh -r -f version -b [i2c bus]</code>
 +
 +
For VEYE-MIPI-IMX335,execute this command to read the current version:
 +
 +
<code>./veye5_mipi_i2c.sh -r -f version -b [i2c bus]</code>
 +
 +
* Step 7:
 +
 +
After successful upgrade, it is recommended to restore the factory settings to avoid possible problems caused by the mismatch between the current configuration parameters and the newly upgraded program.
 +
 +
<code>./mv_mipi_i2c.sh -w -f factoryparam -b [i2c bus]</code>

Navigation menu