Openmv h7 plus failure to connect to IDE

Hello everyone i am having an issue with connecting openmv h7 plus camera to ide 4.7.0 everytime i do as instructed by the prompt from flashing it fails to connect, but when i connect a Boot to rest to flash..On device manager i can see it’s detecting DFu in FS Mode but on the ide it’s fails to connect after completing the whole process it returns the failed, no openmv cam found. On no flash mode it’s detecting the board under USB devices with a tag openmv virtual comm port on f5 mode. It’s blinking blue and i don’t understand why it’s not connecting, i am new to the board i bought them 2 pieces today, i am stuck ..Ihave 2 boards and i am facing the same issue..anyone to help please. Thank you

Hi, the update process to update the H7 requires two steps. You have to install the latest bootloader. This only needs to be done once. This step requires you to attach BOOT0 to RST. Then connect to the IDE. After that, it asks you to unplug the camera and remove the BOOT0 and RST jumper. After you do so the IDE will ask you to confirm and not plug the camera in. Once you click okay it will show a dialog that you need to plug the camera into the computer. Once you do that it will update the main firmware and the process will be done.

In which step of the process are things failing for you? The first or the second? The second step should be rock solid. However, on the first step it’s possible to have conflicting STM32 DFU drivers in windows that may prevent the IDE from finding the ROM bootloader DFU device. However, in this case the IDE will never initiate the process at all.

We apologize for the complexity of this, but, the IDE should walk you through the process. Please follow the dialog instructions exactly.

I have done all that with the second board and still code the no openmv cams found

(attachments)


Hi, it seems then from what you say that the IDE is able to program the camera and etc. It just cannot connect normally.

This is very weird as it means that USB is working and that the camera is fine. Also, it shows up as a serial port device. The only issue I can think of is that there’s a windows driver problem for CDC+MSC devices on your PC. Windows ships with these drivers now days… so, we do not actually install one for the firmware anymore, we only install one for the DFU bootloader which worked as expected for you.

What version of windows are you using?

Also, in windows device manager, could you find the USB device the camera appears as, when it’s in it’s normal mode with the blue LED blinking? Please post a screen shot of.

E.g.:

This is how my H7 Plus appears.

HERE IS HOW ON MY END THINGS ARE LOOKING LIKE

(attachments)




Yeah, you have the wrong driver installed. It’s not appearing as a serial port but a generic USB device which does not count as a serial port or mass storage device.

Please right click on the driver, go to the driver tab, and uninstall the device, then also delete driver software after doing so. After you do this, and disconnect/reconnect the device, windows should enumerate it as a USB CDC + MSC device.

Also, Windows 10 is EOL at the moment. That may also be causing issues. You should definitely upgrade your OS to Windows 11.

Okay well noted i will delete the driver and also upgrade to windows 11, but i see upgrading OS is more viable right?

Incase of any issue i will reach out to you

Thank you, much appreciated :blush:

i have uninstalled the driver and appearing like this now



Is it working now? Sorry for the late response. Otherwise, I can generate windows drivers for you for this.

I apologize for the issue. No driver should be required using modern windows OSes. However, for windows 10 and older I can see this being an issue. I will update OpenMV IDE to install a signed driver for the main firmware like we do for the DFU bootloader just in case to prevent issues like this in the future.

No, it’s still not working the error still persist, it will be of big help if the IDE to install a specified driver for them. I am still stuck on the error

Please do if it’s possible to generate a window driver i will appreciate it

I HAVE ALSO TRIED CONNECTING IT VIA VISUAL CODE EXTENSION ON VS CODE AND I GET THIS

I will send you new signed drivers today that should resolve your issue.

Okay well noted sir, patiently waiting. Thank you :blush:

openmv.zip (812.9 KB)

Upzip this, run the dpinst_amd64.exe to install all the drivers.

After doing that connect your OpenMV Cam, let it get to the blue light blinking, then disconnect and reconnect it after that. It should appear as a USB to serial port in your computer without any issues.

I installed the drivers on my machine and they appear to work… however, I noticed that the first time the device is attached with the drivers results in a stall, then after a disconnect and reconnect things are okay. Not sure why this happens. I’ll probably make the drivers not installed by default and leave them in the IDE for folks to find if they need to get past issues like yourself.

I HAVE DONE THE INSTALLATION AND STILL NO SUCCESS. I DON’T UNDERSTAND THE REASON BEHIND IT. BOTH OF THE BAORDS CAN BE IDENTIFIED AS USB SERIAL OR MASS STORAGE DEVICE

This is weird or my windows might be causing these issues. i have also uninstalled the ide and installed it once again and this what i got an installation error here is a screenshot of the same;

I will try another way of generating drivers for you… the issue with dfuse failing is… curious. That uses some very old drivers that should not have issues.

Well noted sir i will be patiently waiting