Page 2 of 2

Re: Difficulties Connecting

Posted: Thu Sep 15, 2016 7:24 am
by Kermit666
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

Re: Difficulties Connecting

Posted: Thu Sep 15, 2016 8:24 am
by kwagyeman
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.

Re: Difficulties Connecting

Posted: Thu Sep 15, 2016 9:26 pm
by kwagyeman
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.

Re: Difficulties Connecting

Posted: Thu Sep 15, 2016 9:42 pm
by kwagyeman
Wait, I have a fix. I'll filter out all drives not mounted in media.

Re: Difficulties Connecting

Posted: Fri Sep 16, 2016 3:57 am
by deshipu
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.

Re: Difficulties Connecting

Posted: Wed Dec 07, 2016 10:00 pm
by Norm Lane
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.

Re: Difficulties Connecting

Posted: Wed Dec 07, 2016 10:09 pm
by kwagyeman
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

Re: Difficulties Connecting

Posted: Wed Dec 07, 2016 10:10 pm
by kwagyeman
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.

Re: Difficulties Connecting

Posted: Thu Dec 08, 2016 5:33 pm
by Norm Lane
It says "DFU firmware update failed".

Re: Difficulties Connecting

Posted: Thu Dec 08, 2016 6:48 pm
by kwagyeman
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.

Re: Difficulties Connecting

Posted: Fri Dec 09, 2016 10:17 pm
by Norm Lane
Back to fail msg.

Re: Difficulties Connecting

Posted: Fri Dec 09, 2016 10:18 pm
by Norm Lane
Windows 10 - 64 bit
jumper connected.

Re: Difficulties Connecting

Posted: Fri Dec 09, 2016 10:34 pm
by kwagyeman
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,

Re: Difficulties Connecting

Posted: Sat Dec 10, 2016 4:53 am
by Norm Lane
I hear the Windows connection tone but there's no message.

Re: Difficulties Connecting

Posted: Sat Dec 10, 2016 11:34 am
by kwagyeman
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.

Re: Difficulties Connecting

Posted: Sat Dec 10, 2016 5:25 pm
by Norm Lane
It says "Unknown USB Device (Device Descriptor Request Failed)

It only sees the board with the jumper on.

Re: Difficulties Connecting

Posted: Sun Dec 11, 2016 12:17 pm
by kwagyeman
Yeah... that shouldn't happen. Um, anyway, please send me your address via email so I can send a replacement.

Re: Difficulties Connecting

Posted: Sun Dec 11, 2016 11:15 pm
by Norm Lane
I sent you my address. Let me know if you can't find it.
Norm

Re: Difficulties Connecting

Posted: Mon Dec 12, 2016 9:24 am
by kwagyeman
Hi, I didn't get an email. Please send it to [email protected].

Thanks,

Re: Difficulties Connecting

Posted: Wed Dec 21, 2016 6:08 am
by Norm Lane
On the way.

Thanks,
Norm

Re: Difficulties Connecting

Posted: Mon Dec 26, 2016 12:38 am
by Norm Lane
Got it and everything seems to be working.
Thanks