Proxmark3 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.

Announcement

Time changes and with it the technology
Proxmark3 @ discord

Users of this forum, please be aware that information stored on this site is not private.

#1 2010-12-13 22:36:38

slipdop
Member
Registered: 2010-01-31
Posts: 8

[SOLVED] Device keeps rebooting after OS flash

Hey guys, so my proxmark3 has been working for some time. i'd say at least over a year. I don't know what release it is on since i havent had a need to change anything.  (keep in mind that in windows, i've never need to load the driver so its definitely prior to winter release)

nonetheless i wanted to extend some of the functionality and wrote up some code to do so. I downloaded the latest version from svn, made my changes, and recompiled. everything went fine. After i complied the code i copied it from my linux vm to my windows xp host and, using the pm3-20090905-r216 client (prox.exe) flashed the os.

during the flash the install appeared to stall for a minute and then i got this:

>prox.exe os osimage.s19
Entering flash-mode...
(You don't have to do anything. Press and release the button only if you want to
 abort)
Waiting for Proxmark to reappear on USB... Found.
Flashing os from osimage.s19
ERROR: A device attached to the system is not functioning.

that doesnt seem good. now the newer flasher.exe nor the old prox.exe can detect the pm3. it appears to looping in some sort of state, showing these lights:

Plug USB cable in ->
ALL
ORANGE
RED
<pause with red lit>
ALL
ORANGE RED
RED GREEN
<pause with RED GREEN>
ALL 
ORANGE RED
RED GREEN
<pause with RED GREEN>
<Continues to loop>

I cannot get it to work on windows, doesnt show up in the device manager.

in linux, when i connect i get the follow errors:

usb 6-2: device descriptor read/64, error -71
usb 6-2: device descriptor read/64, error -71
usb 6-2: device descriptor read/64, error -71
usb 6-2: device not accepting address 25, error -71
huib 6-1:1.0: unable to enumeration USB device on port 2

any ideas?

btw, the version from the svn that i flashed with was:

svn info
Path: .
URL: http://proxmark3.googlecode.com/svn/trunk
Repository Root: http://proxmark3.googlecode.com/svn
Repository UUID: ef4ab9da-24cd-11de-8aaa-f3a34680c41f
Revision: 465
Node Kind: directory
Schedule: normal
Last Changed Author: adam@algroup.co.uk
Last Changed Rev: 463
Last Changed Date: 2010-10-19 07:25:17 -0700 (Tue, 19 Oct 2010)

Last edited by slipdop (2010-12-14 16:24:42)

Offline

#2 2010-12-14 05:25:37

slipdop
Member
Registered: 2010-01-31
Posts: 8

Re: [SOLVED] Device keeps rebooting after OS flash

So i was able to fix it. I downloaded and tried a zillion older releases, clients, etc.. nothing worked.

Then i realized i could still get into bootrom mode by:

 
1. hold down button
2. turn on device
<at this point leds should be red+orange

From that i knew i just needed to reflash the OS.

I downloaded the latest ProxSpace and attempted to use flasher, but it just wouldnt find my device

after looking through the source code i noticed:

flasher.c


 fprintf(stderr,"Waiting for Proxmark to appear on USB... ");
  while (!OpenProxmark(0)) { sleep(1); }

and

proxusb.c 


usb_dev_handle* OpenProxmark(int verbose)

so i changed the OpenProxmark call to enable verbosity

flasher.c

 fprintf(stderr,"Waiting for Proxmark to appear on USB... ");
  while (!OpenProxmark(1)) { sleep(1); }

which when i tried to reflash i saw permission denied message. so i just reran flasher as root while holding down the button in bootrom mode and it reflashed fine

could i make a suggestion that we add a -v option to flasher!?

Offline

#3 2010-12-14 16:25:25

slipdop
Member
Registered: 2010-01-31
Posts: 8

Re: [SOLVED] Device keeps rebooting after OS flash

additionally, when the device is in bootrom mode, its interaction with windows is crap.. the only way i could get it working again is using linux..

Offline

Board footer

Powered by FluxBB