Query failed ! I can't connect nor update the firmware of an (old) H7

I bough an openMV H7 long ago (the backplate says: OpenMV-H7 R1 10/27/18, and the QR code is marked 04995).

It seems to be working properly:

  • it blink green at boot
  • it blinked blue (the default main.py if I understand)
  • it appears as a usb key of 131kb
  • when I manually edit the main.py in the tiny disk, unplug / replug the USB, it uses the modified version :partying_face:

However, I can’t use the IDE. I installed the 4.5.0 on manjaro.
When I try to connect, I get:

  • a first Query failed! popup window, the details shows : /opt/openmv-ide/share/qtcreator/picotool/linux64/picotool
  • then another Query failed popup window, the details shows : /opt/openmv-ide/share/qtcreator/dfu-util/linux64/dfu-util

then the IDE offers me to upgrade the firmware, which a agree, I get one last time the two previous errors, and the IDE crashes…

I’m looking for clues to better understand which part of the communication fails… I hope it’s not the cable! I checked it, changed it, … same result

I don’t know, I’ve never tested on manjaro.

a first Query failed! popup window, the details shows : /opt/openmv-ide/share/qtcreator/picotool/linux64/picotool

Is there any output when you click show details? If not, it means linux64-bit binaries aren’t able to run…

/opt/openmv-ide/share/qtcreator/dfu-util/linux64/dfu-util

Same, you may wish to ldd these binaries and see what they are missing and install those libraries.

The IDE will be unstable if it’s tools don’t work.

…

The camera itself is fine.

Thanks !
My wording wasn’t perfect but what I meant was that: the two paths to the tools were the sole content of the “show detail” window

Nonetheless, the clue was spot on !

I checked the dependencies, they seemed ok… but many tools didn’t had the +x flag which makes them executables.
After correcting this, I can connect to the camera, get the preview, and flash new code (the firmware update still crashes the editor, I may have missed one :smiley: does command line tools exits to update the firmware ? the IDE says my current version is 3.4.1)

I made a feedback to the manjaro packaging team

I checked the dependencies, they seemed ok… but many tools didn’t had the +x flag which makes them executables.

They would have been tar’ed with +x. So, it’s odd that untaring would not have that.

After correcting this, I can connect to the camera, get the preview, and flash new code (the firmware update still crashes the editor, I may have missed one :smiley: does command line tools exits to update the firmware ? the IDE says my current version is 3.4.1)

That’s an extremely old IDE. Where did you get it? The latest release is 4.5.0.

By bad (my english is rusty :sweat_smile:). 3.4.1 is the firmware revision as stated by the IDE after connecting the camera, the IDE revision is indeed 4.5.0

Note sure then, 3.4.1 isn’t that old. But, you probably need to build the IDE yourself to see what is failing: GitHub - openmv/openmv-ide: QtCreator based OpenMV IDE

If you find a bug a PR would be appreciated. I generally try to handle errors of all types in the IDE, so, something must be failing that isn’t expected to fail which is causing the crash. I can confirm the IDE works correctly on ubuntu without any of these crashes.

I’ll try to have a shot at debugging this… I can’t promise it for this month though :sweat_smile:
Thank you for the solid support !