Difficulties Connecting

Discussion related to "under the hood" OpenMV topics.
Kermit666
Posts: 4
Joined: Sun Sep 04, 2016 5:39 am

Re: Difficulties Connecting

Postby Kermit666 » Thu Sep 15, 2016 7:24 am

Hi,

"@Kermit666 - Inability to connect is a separate issue from the USB packets. When you plug in your OpenMV Cam... does it appear as a device in your device manager? If so, what device does it appear as? There's no IDE fix I can do to solve any problem related to the Cam not connecting to the PC initially."

When I plug in the Cam it appears as a removable disk, with 31 KB and 3 files inside.
This works perfectly from the beginning


"Two things can be happening:

1. The wrong driver is getting loaded for your OpenMV Cam.
2. The Cam's firmware is bad and you need the bootloader to fix it. If 2 is the case the bootloader should be able to connect to the Cam, but, might have trouble re flashing given the packet issue. You'd get a failed to connect to bootloader error here."

I have the lcd module, what happens on the lcd module when I connect the cam ? on my cam + lcd I have only a white lcd, nothing else !

Thanks
User avatar
kwagyeman
Posts: 4665
Joined: Sun May 24, 2015 2:10 pm

Re: Difficulties Connecting

Postby kwagyeman » Thu Sep 15, 2016 8:24 am

Hi, you have to run the LCD demo script. The cam has to be told to update the LCD. Don't worry, adding LCD to your code is only 1 line.
Nyamekye,
User avatar
kwagyeman
Posts: 4665
Joined: Sun May 24, 2015 2:10 pm

Re: Difficulties Connecting

Postby kwagyeman » Thu Sep 15, 2016 9:26 pm

Deshipu,

Qt has no easy way using the http://doc.qt.io/qt-5/qstorageinfo.html class to filter out EFI partitions.

I'll make another installer for linux with a fix to ignore the drive if EFI is in it's name. However, I need to focus on other things right now.
Nyamekye,
User avatar
kwagyeman
Posts: 4665
Joined: Sun May 24, 2015 2:10 pm

Re: Difficulties Connecting

Postby kwagyeman » Thu Sep 15, 2016 9:42 pm

Wait, I have a fix. I'll filter out all drives not mounted in media.
Nyamekye,
User avatar
deshipu
Posts: 74
Joined: Sat Jan 09, 2016 5:36 am
Location: Zürich
Contact:

Re: Difficulties Connecting

Postby deshipu » Fri Sep 16, 2016 3:57 am

That sounds reasonable. Perhaps it would be good to have a way to bypass the filtering altogether, in case of a really weird system setup -- for instance, a button that makes it display all mounted drives, or even lets you just enter a path.
Norm Lane
Posts: 9
Joined: Mon Sep 19, 2016 12:54 am

Re: Difficulties Connecting

Postby Norm Lane » Wed Dec 07, 2016 10:00 pm

After updating as prompted the board is completely unresponsive. Does not show up in devices. LED no longer lit.
I tried several different USB connectors.
It's dead Jim.
User avatar
kwagyeman
Posts: 4665
Joined: Sun May 24, 2015 2:10 pm

Re: Difficulties Connecting

Postby kwagyeman » Wed Dec 07, 2016 10:09 pm

Hi, you can use DFU mode to recover it. On windows the IDE will walk you through this process without requring external software. On Mac and Linux you need to make sure you have some external libraries installed first.

Anyway, Just click the connect button and follow the IDE prompts.

Links to Mac and Linux stuff:

https://github.com/openmv/openmv/wiki/L ... stallation
https://github.com/openmv/openmv/wiki/M ... stallation
Nyamekye,
User avatar
kwagyeman
Posts: 4665
Joined: Sun May 24, 2015 2:10 pm

Re: Difficulties Connecting

Postby kwagyeman » Wed Dec 07, 2016 10:10 pm

The IDE will literally ask you on connect if your OpenMV Cam is bricked - follow the prompts from there.

Note, once the system starts scanning for your OpenMV Cam just click the cancel button and the IDE will ask you if you want to use the DFU bootloader, say yes.
Nyamekye,
Norm Lane
Posts: 9
Joined: Mon Sep 19, 2016 12:54 am

Re: Difficulties Connecting

Postby Norm Lane » Thu Dec 08, 2016 5:33 pm

It says "DFU firmware update failed".
User avatar
kwagyeman
Posts: 4665
Joined: Sun May 24, 2015 2:10 pm

Re: Difficulties Connecting

Postby kwagyeman » Thu Dec 08, 2016 6:48 pm

Hi, can you give some more info? It really helps.

So, what operating system are you using? Did you connect the cam to the PC before clicking "ok" to run the DFU update? Did you attach a jumper wire between BOOT0 and the 3.3V pin or RST?

On windows, if you plug in the cam when it's in DFU mode it should appear as a USB device and windows will load up the driver for it and make the USB connection sound. If you hear that then you know the board is ready for DFU updating.
Nyamekye,
Norm Lane
Posts: 9
Joined: Mon Sep 19, 2016 12:54 am

Re: Difficulties Connecting

Postby Norm Lane » Fri Dec 09, 2016 10:17 pm

Back to fail msg.
Attachments
Screenshot 2016-12-09 19.01.07.jpg
Screenshot 2016-12-09 19.01.07.jpg (22.19 KiB) Viewed 7464 times
Norm Lane
Posts: 9
Joined: Mon Sep 19, 2016 12:54 am

Re: Difficulties Connecting

Postby Norm Lane » Fri Dec 09, 2016 10:18 pm

Windows 10 - 64 bit
jumper connected.
User avatar
kwagyeman
Posts: 4665
Joined: Sun May 24, 2015 2:10 pm

Re: Difficulties Connecting

Postby kwagyeman » Fri Dec 09, 2016 10:34 pm

Hmmm, you'd only get that if the DFU update hung. DFU should basically error out immediately if there's a problem or work. Not hang.

Okay, let me send out another board to you. I have an extra one at home with me I can provision and test to make sure it works before sending it to you. Please email openmv your address.

...

Um, however, in the email, can you confirm that windows sees a device when you plug the camera into your computer in DFU mode? Windows should pop up some text about an STM DFU device being attached.

Thanks,
Nyamekye,
Norm Lane
Posts: 9
Joined: Mon Sep 19, 2016 12:54 am

Re: Difficulties Connecting

Postby Norm Lane » Sat Dec 10, 2016 4:53 am

I hear the Windows connection tone but there's no message.
User avatar
kwagyeman
Posts: 4665
Joined: Sun May 24, 2015 2:10 pm

Re: Difficulties Connecting

Postby kwagyeman » Sat Dec 10, 2016 11:34 am

You should see this in the device manager.

Image

If that's the case I'm not sure why you are having problems. DFU should work.

Anyway, I can provide another Cam program and tested by me.
Attachments
Untitled.png
Untitled.png (16.48 KiB) Viewed 7459 times
Nyamekye,
Norm Lane
Posts: 9
Joined: Mon Sep 19, 2016 12:54 am

Re: Difficulties Connecting

Postby Norm Lane » Sat Dec 10, 2016 5:25 pm

It says "Unknown USB Device (Device Descriptor Request Failed)

It only sees the board with the jumper on.
User avatar
kwagyeman
Posts: 4665
Joined: Sun May 24, 2015 2:10 pm

Re: Difficulties Connecting

Postby kwagyeman » Sun Dec 11, 2016 12:17 pm

Yeah... that shouldn't happen. Um, anyway, please send me your address via email so I can send a replacement.
Nyamekye,
Norm Lane
Posts: 9
Joined: Mon Sep 19, 2016 12:54 am

Re: Difficulties Connecting

Postby Norm Lane » Sun Dec 11, 2016 11:15 pm

I sent you my address. Let me know if you can't find it.
Norm
User avatar
kwagyeman
Posts: 4665
Joined: Sun May 24, 2015 2:10 pm

Re: Difficulties Connecting

Postby kwagyeman » Mon Dec 12, 2016 9:24 am

Hi, I didn't get an email. Please send it to [email protected].

Thanks,
Nyamekye,
Norm Lane
Posts: 9
Joined: Mon Sep 19, 2016 12:54 am

Re: Difficulties Connecting

Postby Norm Lane » Wed Dec 21, 2016 6:08 am

On the way.

Thanks,
Norm
Norm Lane
Posts: 9
Joined: Mon Sep 19, 2016 12:54 am

Re: Difficulties Connecting

Postby Norm Lane » Mon Dec 26, 2016 12:38 am

Got it and everything seems to be working.
Thanks

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 2 guests