# Trouble with updating v4.5.6 firmware

**URL:** <https://forums.openmv.io/t/trouble-with-updating-v4-5-6-firmware/9868>\
**Category:** OpenMV Boards\
**Created:** [July 27, 2024, 3:34am UTC](https://forums.openmv.io/t/trouble-with-updating-v4-5-6-firmware/9868 "2024-07-27T03:34:31Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![axx\_kawamura](https://avatars.discourse-cdn.com/v4/letter/a/ce73a5/32.png) [@axx\_kawamura](https://forums.openmv.io/u/axx_kawamura)\
**Post date:** [July 27, 2024, 3:34am UTC](https://forums.openmv.io/t/trouble-with-updating-v4-5-6-firmware/9868/1 "2024-07-27T03:34:31Z")

</div>

Hi, I’ve plobrem with updating fimware

Conditions：  
pc: macbook sonoma 14.5  
board: OpenMV Cam RT1062  
uging: DFU mode

Issue:

1. Connecting OpenMV Cam
2. OpenMV IDE shows「A board in DFU mode was detected. What would you like to do?」
3. Hit 「Ok」button
4. The next moment IDE shows 「 **Timeout Error!**

**/Applications/OpenMV IDE.app/Contents/Resources/sdphost/mac/sdphost -u 0x1FC9,0x0135 – write-file 0x20001C00 /Users/kawamurayuuichi/.config/OpenMV/openmvide/firmware/OPENMV\_RT1060/sdphost\_flash\_loader.bin**

**Error: UsbHidPeripheral() cannot open USB HID device (vid=0x1fc9, pid=0x0135, sn=).**」

I don’t know how should I do next…  
So, I would appreciate it if someone could help me.

---

<div class="post-metadata">

**Author:** ![kwagyeman](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/kwagyeman/32/4_2.png) [@kwagyeman](https://forums.openmv.io/u/kwagyeman)\
**Post date:** [July 27, 2024, 4:04am UTC](https://forums.openmv.io/t/trouble-with-updating-v4-5-6-firmware/9868/2 "2024-07-27T04:04:00Z")

</div>

Hi, there’s a forum thread about this that another user had to deal with the same issue. You have to disable the security setting on Mac that disables programs from having access to HID devices.

See here: [RT1062 bricked and cannot connect to IDE - OpenMV Products - OpenMV Forums](https://forums.openmv.io/t/rt1062-bricked-and-cannot-connect-to-ide/9334/22)

This is an issue with the default security settings on Mac disabling how the bootloader loading program communicates.

→ [[SOLVED] HID permissions in OSX - #2 by loopier - Questions - scsynth](https://scsynth.org/t/solved-hid-permissions-in-osx/1187/2)

---

<div class="post-metadata">

**Author:** ![axx\_kawamura](https://avatars.discourse-cdn.com/v4/letter/a/ce73a5/32.png) [@axx\_kawamura](https://forums.openmv.io/u/axx_kawamura)\
**Post date:** [July 27, 2024, 6:24am UTC](https://forums.openmv.io/t/trouble-with-updating-v4-5-6-firmware/9868/3 "2024-07-27T06:24:44Z")

</div>

The situation did not change after granting OpenMV permission to access the USB HID…  
I have also now terminated the virus security software in the attached image.

 ![Screenshot 2024-07-27 at 15.19.16](https://canada1.discourse-cdn.com/flex029/uploads/openmv1/original/2X/4/4ab42b0b9fd38209052a71e6824836f218c1c119.jpeg)

---

<div class="post-metadata">

**Author:** ![axx\_kawamura](https://avatars.discourse-cdn.com/v4/letter/a/ce73a5/32.png) [@axx\_kawamura](https://forums.openmv.io/u/axx_kawamura)\
**Post date:** [July 27, 2024, 6:26am UTC](https://forums.openmv.io/t/trouble-with-updating-v4-5-6-firmware/9868/4 "2024-07-27T06:26:47Z")

</div>

![image](https://canada1.discourse-cdn.com/flex029/uploads/openmv1/original/2X/d/d78d3d6b9b3a0feefdf764c7a3bd059d60fd3f50.png)  
Pressing either the Ok or Cancel button immediately opens the Timeout Error window, and pressing Ok there opens the same window again.

---

<div class="post-metadata">

**Author:** ![axx\_kawamura](https://avatars.discourse-cdn.com/v4/letter/a/ce73a5/32.png) [@axx\_kawamura](https://forums.openmv.io/u/axx_kawamura)\
**Post date:** [July 27, 2024, 6:27am UTC](https://forums.openmv.io/t/trouble-with-updating-v4-5-6-firmware/9868/5 "2024-07-27T06:27:56Z")

</div>

![image](https://canada1.discourse-cdn.com/flex029/uploads/openmv1/original/2X/3/3eccf705bc2304cf8ec10b1ea86e855478725aa7.jpeg)

Every time,  
Connect window → Timeout Error!

---

<div class="post-metadata">

**Author:** ![kwagyeman](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/kwagyeman/32/4_2.png) [@kwagyeman](https://forums.openmv.io/u/kwagyeman)\
**Post date:** [July 27, 2024, 4:22pm UTC](https://forums.openmv.io/t/trouble-with-updating-v4-5-6-firmware/9868/7 "2024-07-27T16:22:52Z")

</div>

Hi, can you also launch the IDE from admin mode, it may need that too?

You are dealing with the same issue I resolved with the other user. So, this is 100% solvable.

…

Note, it’s not full disk access it needs:

> _Enable access for assistive devices_ in **System Preferences \> Security & Privacy \> Privacy \> Accessibility**

---

<div class="post-metadata">

**Author:** ![axx\_kawamura](https://avatars.discourse-cdn.com/v4/letter/a/ce73a5/32.png) [@axx\_kawamura](https://forums.openmv.io/u/axx_kawamura)\
**Post date:** [July 28, 2024, 12:20am UTC](https://forums.openmv.io/t/trouble-with-updating-v4-5-6-firmware/9868/8 "2024-07-28T00:20:30Z")

</div>

Thank you for your reply.  
I tried to find OpenMV.app at **System Preferences \> Security & Privacy \> Privacy \> Accessibility**  
But I couldn’t.  
Am I doing something wrong?

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/openmv1/original/2X/e/ec225fa49652632e1fba02deb1c4017f8671709a.jpeg)

---

<div class="post-metadata">

**Author:** ![kwagyeman](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/kwagyeman/32/4_2.png) [@kwagyeman](https://forums.openmv.io/u/kwagyeman)\
**Post date:** [July 28, 2024, 12:57am UTC](https://forums.openmv.io/t/trouble-with-updating-v4-5-6-firmware/9868/9 "2024-07-28T00:57:00Z")

</div>

Can you search for “Enable access for assistive devices”?

@sim - @axx_kawamura has the same issue as you. Do you think you can tell them what you did to fix the issue?

---

<div class="post-metadata">

**Author:** ![axx\_kawamura](https://avatars.discourse-cdn.com/v4/letter/a/ce73a5/32.png) [@axx\_kawamura](https://forums.openmv.io/u/axx_kawamura)\
**Post date:** [July 28, 2024, 6:41am UTC](https://forums.openmv.io/t/trouble-with-updating-v4-5-6-firmware/9868/10 "2024-07-28T06:41:40Z")

</div>

![image](https://canada1.discourse-cdn.com/flex029/uploads/openmv1/original/2X/8/8f0e8499eec5f6816b2619c1bb703dafc2097490.jpeg)

Postscript:  
During the installation of another application, a different Accessibility screen opened and I was able to add OpenMV.app.  
After doing this, I opened OpenMV with sudo from Terminal, but the result was still the same.

---

<div class="post-metadata">

**Author:** ![axx\_kawamura](https://avatars.discourse-cdn.com/v4/letter/a/ce73a5/32.png) [@axx\_kawamura](https://forums.openmv.io/u/axx_kawamura)\
**Post date:** [July 28, 2024, 6:42am UTC](https://forums.openmv.io/t/trouble-with-updating-v4-5-6-firmware/9868/11 "2024-07-28T06:42:10Z")

</div>

Like this

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/openmv1/original/2X/0/0c0986bd1f82e9527e477db3ddd2acc0a3052657.jpeg)

---

<div class="post-metadata">

**Author:** ![sim](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@sim](https://forums.openmv.io/u/sim)\
**Post date:** [July 28, 2024, 8:28am UTC](https://forums.openmv.io/t/trouble-with-updating-v4-5-6-firmware/9868/12 "2024-07-28T08:28:35Z")

</div>

Sure! @axx_kawamura You have to enable Input Monitoring [System Preferences \> Security&Privacy \> Input Monitoring]. Since it is classified as a HID-Device, it could be an external keyboard, so the system thinks the IDE is trying to read its input (keystrokes).

---

<div class="post-metadata">

**Author:** ![axx\_kawamura](https://avatars.discourse-cdn.com/v4/letter/a/ce73a5/32.png) [@axx\_kawamura](https://forums.openmv.io/u/axx_kawamura)\
**Post date:** [August 1, 2024, 5:05pm UTC](https://forums.openmv.io/t/trouble-with-updating-v4-5-6-firmware/9868/13 "2024-08-01T17:05:50Z")

</div>

Yes.  
I’ve already done that.  
But situation doesn’t change…

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/openmv1/original/2X/9/9b92c208225f07ec981dc7ceb7ff2966abb98e4d.png)

---

<div class="post-metadata">

**Author:** ![kwagyeman](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/kwagyeman/32/4_2.png) [@kwagyeman](https://forums.openmv.io/u/kwagyeman)\
**Post date:** [August 1, 2024, 6:01pm UTC](https://forums.openmv.io/t/trouble-with-updating-v4-5-6-firmware/9868/14 "2024-08-01T18:01:22Z")

</div>

@sim - Can you provide screen shots of what you did?

---

<div class="post-metadata">

**Author:** ![sim](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@sim](https://forums.openmv.io/u/sim)\
**Post date:** [August 1, 2024, 6:32pm UTC](https://forums.openmv.io/t/trouble-with-updating-v4-5-6-firmware/9868/15 "2024-08-01T18:32:59Z")

</div>

Sure! But it looks like @axx_kawamura did exactly what I did with enabling the Input Monitoring. The only difference I see is that I didn’t test it in DFU mode. I simply enable the Input Monitoring, restart the OpenMV IDE and connect the board without jumping the SBL pin.

(my OS is in German, so I will ad the name to the pictures)

**Input Monitoring:**

 ![Bildschirmfoto 2024-08-01 um 20.16.21](https://canada1.discourse-cdn.com/flex029/uploads/openmv1/original/2X/4/414731c0531a68f4d53b9920d07d96f43462c64e.jpeg)

Perhaps it could also be helpful if you check your “Files and Folders” settings, especially for the “Removable Volumes” access:

**Files and Folders:**

 ![Bildschirmfoto 2024-08-01 um 20.17.36](https://canada1.discourse-cdn.com/flex029/uploads/openmv1/original/2X/6/61c54cfc2100e822aee4eb2e1cb31c7dce6dede5.jpeg)

 ![Bildschirmfoto 2024-08-01 um 20.16.11](https://canada1.discourse-cdn.com/flex029/uploads/openmv1/original/2X/5/54bb3363de7717bba8cc9ae484aa18cb1f6035b1.jpeg)

---

<div class="post-metadata">

**Author:** ![axx\_kawamura](https://avatars.discourse-cdn.com/v4/letter/a/ce73a5/32.png) [@axx\_kawamura](https://forums.openmv.io/u/axx_kawamura)\
**Post date:** [August 10, 2024, 3:31pm UTC](https://forums.openmv.io/t/trouble-with-updating-v4-5-6-firmware/9868/16 "2024-08-10T15:31:24Z")

</div>

@sim

Thank you for the information.  
I checked “Files and Folders” but I’ve already allowd full access for OpenMV app.

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/openmv1/original/2X/4/4cbbd58df4fbdec60a5a5dcaf25850e8136403ae.jpeg)

Thank you.

---

<div class="post-metadata">

**Author:** ![axx\_kawamura](https://avatars.discourse-cdn.com/v4/letter/a/ce73a5/32.png) [@axx\_kawamura](https://forums.openmv.io/u/axx_kawamura)\
**Post date:** [August 10, 2024, 5:49pm UTC](https://forums.openmv.io/t/trouble-with-updating-v4-5-6-firmware/9868/17 "2024-08-10T17:49:48Z")

</div>

I don’t know if this is related, but I am concerned that I get this warning every time I start OpenMV.app.

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/openmv1/original/2X/f/f635a5668504e6efd1063200cb5b7eef7f74cc36.png)

---

<div class="post-metadata">

**Author:** ![kwagyeman](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/kwagyeman/32/4_2.png) [@kwagyeman](https://forums.openmv.io/u/kwagyeman)\
**Post date:** [August 10, 2024, 6:39pm UTC](https://forums.openmv.io/t/trouble-with-updating-v4-5-6-firmware/9868/18 "2024-08-10T18:39:38Z")

</div>

Mmm, delete that ~/.config/OpenMV folder. That’s happening because all its files are probably marked as root-owned. So, when launched in user mode, it cannot do anything anymore to control its settings. When you launch the IDE in root mode this can happen as it will then write files as if it were the super user… so, then when launched it user mode it cannot edit the same files again it wrote.

Regarding the update issue, I’m not sure what to do… I don’t have a Mac and the @sim showed the fix that works. I found that fix after searching why Macs block HID access.

Do you have access to another non-Mac computer you can run the IDE from? All our other camera modules don’t use HID mode to update the firmware, so, they don’t have this issue. However, the bootloader for the RT1062 is from NXP who wanted to use HID USB mode instead of DFU (which is meant for this) for some reason.
