ChameleonMini icon indicating copy to clipboard operation
ChameleonMini copied to clipboard

Chameleon RevG not getting into Bootloader in Windows 10

Open nov3mb3r opened this issue 3 years ago • 20 comments

I have a problem entering the bootloader. I press the RButton, upon connecting my USB, installed the atmel driver, but upon running the ChameleonFirmwareupgrade, I get an application error: dfu-programmer: no device present. Some side notes: This is a genuine KAOS product from you, No lights are flashing during connection atmel driver installed successfully Run ChameleonFirmwareUpgrade.bat as admin

nov3mb3r avatar Aug 12 '20 21:08 nov3mb3r

I had the same problem, I solved it using macOS.

madalinamarin avatar Aug 13 '20 19:08 madalinamarin

Dear @nov3mb3r, can you check in the dev mngr that the atmel drivers are installed and that the chameleon is really in the bootloader (i.e. shows up as Atmel DFU or so)?

david-oswald avatar Aug 14 '20 08:08 david-oswald

This is my Device Manager: image I would expect that the bootloader is the AT32UC3A. Is that correct? In my understanding, drivers are installed but somehow i can't get to boot

nov3mb3r avatar Aug 14 '20 10:08 nov3mb3r

are you using an original ChameleonMini RevG? Then this should be an ATXMEGA128A4U. For other devices please ask the manufacturer.

timokasper avatar Aug 14 '20 11:08 timokasper

@timokasper As I said in the first issue, I use an original ChameleonMini RevG. I bought it from your workshop in 36c3

nov3mb3r avatar Aug 14 '20 11:08 nov3mb3r

just to be sure: the chameleon is switched OFF, then you hold the Rbutton, then you switch ON again ; as a result no LED lights up (indicating the bootloader is active) and then you plug in the USB, correct?

timokasper avatar Aug 14 '20 11:08 timokasper

Correct!

nov3mb3r avatar Aug 14 '20 11:08 nov3mb3r

grafik

I did the same it looks like this. Windows 10 64 bit.

so for some unknown reason you have a different driver. I had installed a while ago the WinAVR package is that maybe the cause?

timokasper avatar Aug 14 '20 11:08 timokasper

No I have not installed WinAVR or other packages. I retested in a laptop where I have practically nothing, and I have the same problem

nov3mb3r avatar Aug 14 '20 11:08 nov3mb3r

This might be a bit too barbaric, but I'd give a try with Zadig. Try changing the default driver for the Chameleon to libusb, but PLEASE pay attention to not fu*k up any other device

ceres-c avatar Aug 14 '20 11:08 ceres-c

@ceres-c I would appreciate some instructions since I am a total newbie in hardware

nov3mb3r avatar Aug 14 '20 11:08 nov3mb3r

It should be pretty straightforward, you have to select the device you're 100% sure to be the chameleon from the dropdown menu and then pick "libusb" in the selector to the right of the green arrow. Then use the big button "install libusb" (or something like that). The chameleon should then be automatically soft-unplugged from your PC and the device list from device manager will be updated. There you should be able to see something like the output @timokasper has "libusb-win32". Just be sure to select the right device to force driver update on (the name should be the same as in Device Manager)

ceres-c avatar Aug 14 '20 11:08 ceres-c

@ceres-c Interestingly enough, there are no devices to choose apart from my keyboard and mouse! I am starting to suspect that my chameleon might be faulty

nov3mb3r avatar Aug 14 '20 12:08 nov3mb3r

Check the "List all devices" checkbox in options menu

ceres-c avatar Aug 14 '20 12:08 ceres-c

I already did that before posting :)

nov3mb3r avatar Aug 14 '20 12:08 nov3mb3r

That's quite strange indeed. It seems a driver issue to me, since an Atmel device is correctly recognized by windows. Could you try with a linux live iso? I can't help you further since USB issues with this kind of devices were one of the reasons I switched from Win to Linux ass a daily driver :)

ceres-c avatar Aug 14 '20 12:08 ceres-c

Will give it a try and make new issues for linux this time if I have problem

nov3mb3r avatar Aug 14 '20 12:08 nov3mb3r

strange , on my win10 x64 machine , using bootloader on Chameleon , I see no COMport, and there is Atxmega128A4U image

and when reconnecting i don't see a virtual com port, image

lvandenb avatar Feb 03 '22 12:02 lvandenb

@lvandenb that looks like expected behavior: the bootloader is a USB device but does not emulate a COM port. The normal firmware shows then up as COM8 in your case.

david-oswald avatar Feb 03 '22 13:02 david-oswald

yes , it was only to show a normal/working situation, vs the one on top.

lvandenb avatar Feb 03 '22 17:02 lvandenb