ChameleonMini icon indicating copy to clipboard operation
ChameleonMini copied to clipboard

Macbook connection issue

Open willpowell8 opened this issue 8 years ago • 25 comments

I connect by board in DFU mode (no lights on) to my mac having installed avrdude with brew and get the following:

MacBook-Pro-3:Chameleon-Mini` Keytree20$ sudo avrdude -c flip2 -p ATXMega128A4U -B 60 -P usb -U application:w:Chameleon-Mini.hex:i -U eeprom:w:Chameleon-Mini.eep:i

avrdude: Error: No matching USB device found
avrdude: AVR device initialized and ready to accept instructions

Reading |                                                    | 0% 0.00savrdude: error reading signature data for part "ATxmega128A4U", rc=-1
avrdude: error reading signature data, rc=-1

avrdude done.  Thank you.

Not Sure how to resolve.

willpowell8 avatar Oct 17 '16 13:10 willpowell8

Can you check if any of the solutions in https://github.com/emsec/ChameleonMini/issues/26 applies?

david-oswald avatar Oct 17 '16 14:10 david-oswald

It looks like my issue is that it device isnt recognised on USB. Not sure why... any ideas?

willpowell8 avatar Oct 17 '16 21:10 willpowell8

What does dmesg output when you plug in the device? What about lsusb?

david-oswald avatar Oct 19 '16 06:10 david-oswald

Just got mine today and having same issue. Excited to get this up and running! :)

hydrotik avatar Oct 19 '16 22:10 hydrotik

the macbook i'm using doesn't even have usb3.0.. the error is exactly the same. (osx 10.8, avrdude version 6.2)

dmesg dosn't show anything chameleon-ly with: sudo dmesg | grep -i usb (?) maybe it's the cable, i'll get a new one.

zetteeh avatar Oct 20 '16 00:10 zetteeh

worked with a fresh new cable!

zetteeh avatar Oct 20 '16 22:10 zetteeh

+1 for wilpowell8's issue on Mac. (Mac OS X 10.11.6).

Cable seems OK otherwise. Will try another if that's the general consensus.

Thanks!

pktmterenceg avatar Oct 21 '16 11:10 pktmterenceg

Just to add my 2 cents, I was in the same situation and had tried with 2 different cables, After an hour of scratching my head I decided to try a third cable and... It worked perfectly fine. Who knew these cables could be so dodgy?

g-c-n avatar Oct 23 '16 21:10 g-c-n

Ok, since we're narrowing in on a possible solution here, would you care to endorse the brand/model of cable that worked for you? Please & thank you.

pktmterenceg avatar Oct 24 '16 07:10 pktmterenceg

I had the same issue. It worked for me once I unplugged and replugged the reader.

fergus avatar Oct 24 '16 10:10 fergus

I have changed the cable, replugged still with no joy.

willpowell8 avatar Nov 01 '16 08:11 willpowell8

I've tried 4 cables now and nothing...

hydrotik avatar Nov 22 '16 23:11 hydrotik

@g-c-n What cable did you use?

geo-rg avatar Nov 28 '16 13:11 geo-rg

Bump. I never solved this, and then packed everything up for a big move. Just now getting back to it, and even with new cables, I'm still exactly where I was a year ago. I'd really, really like to get this working.

Thanks.

pktmterenceg avatar Nov 05 '17 17:11 pktmterenceg

same problem on OSX (El Captain) /dev/tty.usbmodem1421 is present if the chameleon is plugged in the cable works perfect with my pm3

WolfgangMau avatar Jan 12 '18 17:01 WolfgangMau

@david-oswald Any input on this? Seems like a number of folks are having this issue and this thing is sitting in my desk wasting away. Maybe @zetteeh you can provide some info on how you got this up and running for the rest of us?

hydrotik avatar Jan 12 '18 18:01 hydrotik

ok, looks like a 'layer 8 problem' ( Human error ) I have a 'ChameleonMini RevE Rebooted' - I think this device behaves different from the one which is covered here. my fault

WolfgangMau avatar Jan 12 '18 20:01 WolfgangMau

I'm now on the same situation :-( Don't work on MAC OS SIERRA 10.12.6.

Any solutions?

sudo dmesg | grep -i cham
stateNumber is On012123.201667 Chameleon-Mini@fd131000: AppleUSBDevice::ResetDevice: <software attempt to RESET>
012123.221647 Chameleon-Mini@fd131000: AppleUSBDevice::ResetDevice: <software attempt to RESET>
012123.241634 Chameleon-Mini@fd131000: AppleUSBDevice::ResetDevice: <software attempt to RESET>
012123.261752 Chameleon-Mini@fd131000: AppleUSBDevice::ResetDevice: <software attempt to RESET>
012123.281677 Chameleon-Mini@fd131000: AppleUSBDevice::ResetDevice: <software attempt to RESET>
012123.301712 Chameleon-Mini@fd131000: AppleUSBDevice::ResetDevice: <software attempt to RESET>
012123.453984 Chameleon-Mini@fd131000: AppleUSBDevice::ResetDevice: <software attempt to RESET>
012123.473551 Chameleon-Mini@fd131000: AppleUSBDevice::ResetDevice: <software attempt to RESET>
012123.493673 Chameleon-Mini@fd131000: AppleUSBDevice::ResetDevice: <software attempt to RESET>
012123.513620 Chameleon-Mini@fd131000: AppleUSBDevice::ResetDevice: <software attempt to RESET>
012123.533642 Chameleon-Mini@fd131000: AppleUSBDevice::ResetDevice: <software attempt to RESET>
012123.553615 Chameleon-Mini@fd131000: AppleUSBDevice::ResetDevice: <software attempt to RESET>

AndreasBujok avatar Jan 26 '18 12:01 AndreasBujok

BTW,

the funny thing is, that the upgrade process with avrdude works very well without any issues :-O

AndreasBujok avatar Jan 26 '18 13:01 AndreasBujok

Very strange.

After installing the driver for the PL2303 (https://www.adafruit.com/product/954) i got back the device "usbmodemFD1311" for my ChameleonMini :-)

WTF?!?

AndreasBujok avatar Feb 01 '18 19:02 AndreasBujok

When I had the stock Atmel drivers for the Chameleon installed on a Windows 10 box, installing the Google adb USB drivers for Android Studio wiped out my device. We're you using it on the same USB port as something else?

On Feb 1, 2018 2:42 PM, "Andreas Bujok" [email protected] wrote:

Very strange.

After installing the driver for the PL2303 (https://www.adafruit.com/ product/954) i got back the device "usbmodemFD1311" for my ChameleonMini :-)

WTF?!?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/emsec/ChameleonMini/issues/41#issuecomment-362379325, or mute the thread https://github.com/notifications/unsubscribe-auth/AVI4uDD8_DBpw8c7k0djS2Hf1Y7T2GWeks5tQhOpgaJpZM4KYo2f .

maxieds avatar Feb 01 '18 21:02 maxieds

Hi @maxieds.

Sorry, but i don't understand your question?!? I'm using a MacBook with SIERRA 10.12.6.

Cheers Andreas

AndreasBujok avatar Feb 02 '18 09:02 AndreasBujok

Hey guys why won't you just install a Virtual Machine (Linux/Win) on ur Macs. Linux if you want to use commands and for Win there is GUI so its up to u to choose !

hamsik7 avatar Feb 02 '18 15:02 hamsik7

While we Mac users could do that, I don’t think that’s the right answer. Here’s why:

  1. There is some underlying issue keeping (would-be) host OS from seeing the device, and this issue really ought to be properly understood and addressed.

  2. If the host can’t see a USB device, what causes you to believe that a VM - which inherently relies upon the host for basic USB services - would be able to see the same device?

pktmterenceg avatar Feb 02 '18 16:02 pktmterenceg

I had the same problem in Ubuntu 16.4 "avrdude: Error: No matching USB device found"

  1. I changed the cable but it did not help,
  2. then I connected to the device "socat - / dev / ttyACM0, crnl" and once again I entered the command "upgrade" then everything was ok.

banannd avatar Mar 21 '19 07:03 banannd