Proxmark3 developers community

Research, development and trades concerning the powerful Proxmark3 device.

Remember; sharing is caring. Bring something back to the community.


"Learn the tools of the trade the hard way." +Fravia

You are not logged in.

#1 2013-05-22 08:09:11

gargoyle
Member
Registered: 2013-05-22
Posts: 1

unable to enumerate USB device

Hi,

I got a problem with my newly bought device. When I try to plug it into my Ubuntu 12.04.2 64-bit I'm faced with the following problems:
- Using USB 2.0

[514308.426462] hub 1-1:1.0: unable to enumerate USB device on port 3
[514308.681854] hub 1-1:1.0: unable to enumerate USB device on port 3

- Using USB 3.0

[514311.505362] usb 3-2: new full-speed USB device number 2 using xhci_hcd
[514311.505615] usb 3-2: Device not responding to set address.
[514311.708965] usb 3-2: Device not responding to set address.
[514311.912186] usb 3-2: device not accepting address 2, error -71

What I've tried is:
- USB 2.0
- USB 3.0
- USB 2.0 hub with power supply

Any suggestions?

/GAR

Offline

#2 2014-07-07 23:58:41

zhovner
Contributor
From: Russia, Moscow
Registered: 2014-06-17
Posts: 14

Re: unable to enumerate USB device

I have the same issue. It worked normal but one day just stopped to recognise.
If connect it with pressed button i get the same errors.
But LED's blinking correctly in both cases: normal boot and normal flashing mode (permanent yellow and red)

[  209.151719] usb 1-1.3: new full-speed USB device number 4 using dwc_otg
[  209.231719] usb 1-1.3: device descriptor read/64, error -32
[  209.421729] usb 1-1.3: device descriptor read/64, error -32
[  209.611707] usb 1-1.3: new full-speed USB device number 5 using dwc_otg
[  209.691716] usb 1-1.3: device descriptor read/64, error -32
[  209.881849] usb 1-1.3: device descriptor read/64, error -32
[  210.071727] usb 1-1.3: new full-speed USB device number 6 using dwc_otg
[  210.491609] usb 1-1.3: device not accepting address 6, error -32
[  210.571758] usb 1-1.3: new full-speed USB device number 7 using dwc_otg
[  210.991610] usb 1-1.3: device not accepting address 7, error -32
[  210.991815] hub 1-1:1.0: unable to enumerate USB device on port 3
[  222.722069] usb 1-1.3: new full-speed USB device number 8 using dwc_otg
[  222.802091] usb 1-1.3: device descriptor read/64, error -32
[  222.992089] usb 1-1.3: device descriptor read/64, error -32
[  224.262127] usb 1-1.3: new full-speed USB device number 10 using dwc_otg
[  224.342117] usb 1-1.3: device descriptor read/64, error -32
[  224.532139] usb 1-1.3: device descriptor read/64, error -32
[  224.722119] usb 1-1.3: new full-speed USB device number 11 using dwc_otg

I was tried different PC's with same result.

Versions last time I saw:

proxmark3> hw version
#db# Prox/RFID mark3 RFID instrument                 
#db# bootrom: master/v1.0.0-32-gc7324be-suspect 2014-07-02 13:35:44                 
#db# os: master/v1.1.0-dirty-suspect 2014-07-03 00:35:41                 
#db# HF FPGA image built on 2014/ 6/19 at 21:26: 2                 
uC: AT91SAM7S256 Rev B          
Embedded Processor: ARM7TDMI          
Nonvolatile Program Memory Size: 256K bytes          
Second Nonvolatile Program Memory Size: None          
Internal SRAM Size: 64K bytes          
Architecture Identifier: AT91SAM7Sxx Series          
Nonvolatile Program Memory Type: Embedded Flash Memory          

Offline

#3 2014-07-08 17:09:13

charliex
Contributor
From: Los Angeles/Scotland
Registered: 2010-08-05
Posts: 70
Website

Re: unable to enumerate USB device

Looks like either USB overcurrent protection (hardware fault) or the firmware is corrupted, if recover mode isn't working, might need to JTAG  or SAM-BA it.

Offline

#4 2014-07-08 18:12:45

zhovner
Contributor
From: Russia, Moscow
Registered: 2014-06-17
Posts: 14

Re: unable to enumerate USB device

Thank you for your reply.

Can you please explain what I need to make for hardware debugging? What can cause USB overcurrent? I have a friends with some  skills in electronics, i can get oscilloscope and make basic tests. It will be useful if you provide me a step by step howto.

Later I will try to use JTAG for flash bootrom. Am I right that only working bootrom needed for recognising over USB?

Offline

#5 2014-07-09 04:18:01

charliex
Contributor
From: Los Angeles/Scotland
Registered: 2010-08-05
Posts: 70
Website

Re: unable to enumerate USB device

over current means its pulling more than 500mA over the usb, which switches off the usb port usually. that means its a hardware fault. doesn't need a scope, the os should tell you ( windows will usually just tell you its overcurrent) , this is the less likely reason.

the bootloader  +button is needed to make it appear via usb in reflash mode , SAM-BA mode requires you to short out some pins and use the samba utility to flash a new file in, read the at91sam7s atmel docs for sam-ba for those instructions.

jtag, just wire up the pins as in the docs and flash in the full flash image, documented on the wiki/svn/git pages on how to do that.

Offline

#6 2014-07-10 07:30:30

zhovner
Contributor
From: Russia, Moscow
Registered: 2014-06-17
Posts: 14

Re: unable to enumerate USB device

No, it's not overcurrent, because I use apple macbook and it popup alert message when USB  pulling more than 500mA. There is no alerts in my case.

Offline

#7 2014-07-10 16:23:40

zhovner
Contributor
From: Russia, Moscow
Registered: 2014-06-17
Posts: 14

Re: unable to enumerate USB device

Today I've tried to flash bootrom via JTAG.
I used original Segger ARM JTAG adapter and exactly following this guide Compiling Proxmark source and firmware upgrading v1.pdf

I've correctly setup JTAG speed before init, CPU type and clock speed auto detection.
It successfully connects to board if select Target -> Connect. At the same time relay clicking once  and all LED's lights up.

FluxBB bbcode test

But when I try to flash bootrom.s19 by selecting  Target -> Program&Verify it returns error:
"Read memory error @ address 0x00200000, word access: Memory access timeout."

FluxBB bbcode test

Can we say now that this is hardware fault? I've just bought it from xfpga.com and upset about this.

Offline

#8 2014-07-11 04:39:20

charliex
Contributor
From: Los Angeles/Scotland
Registered: 2010-08-05
Posts: 70
Website

Re: unable to enumerate USB device

can you do an CFI/ID check on it via the jtag does it see the chip id ok ? try auto speed on the clock too..

Offline

Board footer

Powered by FluxBB