OpenMV RT1062 Not Detected Over USB Unless Forced Into DFU Mode

Hi,

I am using an OpenMV RT1062 board and facing a USB detection issue.

Issue:
When I connect the board to my PC using USB, it is not detected by the operating system.
The OpenMV IDE does not recognize the board.
No serial port appears when the board is connected normally.

What I Tested
USB cable verified and working with other devices, the device is getting powred up and green power led is ON but not geting registered on lsusb.
Multiple USB ports tested.
Multiple PCs tested.

DFU Mode Behavior (When I short the SBL pin to 3.3V and power/connect the board):

The board enters DFU mode successfully.
A USB device/serial connection is detected by the PC.
The board becomes visible over USB in this mode.

Question
Since the USB interface works when the board is forced into DFU mode. what could be the problem and procedure to fix this issue.

Board Information
Board: OpenMV RT1062
Operating System: ubantu 22.04 LTS

Any suggestions for additional troubleshooting steps or recovery procedures would be appreciated.

Thank you.

Mmm, not sure, Linux doesn’t need any serial port drivers.

The only thing I can think of is that the firmware isn’t working. So, bad flash or ram chip.

Can you check to see if there’s a serial port appearing under /dev/tty?

Also, have you used the IDE to recover the firmware in it’s recovery mode? Does that work?

  • Normally when I am connecting the port is not appearing under /dev/tty*
  • But when I am putting it into recovery mode shorting DFU Pin and 3,3v Pin it’s appearing under /dev/ttyACM0 and the firware is successfully getting flashed.
  • But in naormal mode its not appering at /dev/tty*

The RT1062 shouldn’t appear under /dev/ttyACM0. In DFU mode, it appears as an HID device, not a serial port.

Can you show me which pins you are shorting for DFU mode?

My mistake, normall it does not appear at serail port but in DFU mode I am able to flash firmware through IDE and its appear at lsusb

Mmm, okay, so, it’s either:

  1. Linux USB drivers are messed up preventing USB serial ports from appearing…
  2. The Flash chip on the RT1062 is bad.

We had issues with the RT1062 flash chip before, but, this was caused by bad programming sequencing, after that was fixed in the IDE about 1.5 years ago these problems stopped.

After for bad linux setup, can you do sudo dmseg -w and see what prints when you plug the camera in without the jumper installed? Normal mode?