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 2020-04-24 17:19:24

informaxster
Contributor
Registered: 2020-04-24
Posts: 3

Unable to connect PM3. Bootloop

Hi.
I have a problem with PM3 Easy 512M and would appreciate your help.
I have a Kali Linux system, version 2020.1 with minimal installation, no tools installed.
By connecting PM3 to the USB port I get a bootloop from the output of the dmesg command.
I have tried to connect it to the same USB port by pressing the button and the same thing happens.

root@kali:~# dmesg -w
395.470170] usb 2-1: new full-speed USB device number 2 using xhci_hcd
[411.649819] usb 2-1: new full-speed USB device number 3 using xhci_hcd
[427.837453] usb 2-1: new full-speed USB device number 4 using xhci_hcd
[444.029085] usb 2-1: new full-speed USB device number 5 using xhci_hcd
[460.216699] usb 2-1: new full-speed USB device number 6 using xhci_hcd
[476.400304] usb 2-1: new full-speed USB device number 7 using xhci_hcd
[492.587899] usb 2-1: new full-speed USB device number 8 using xhci_hcd
[508.775506] usb 2-1: new full-speed USB device number 9 using xhci_hcd

I have checked the output of the lsusb command, both push and hold, but the device is not showing.

root@kali:~# lsusb
Bus 001 Device 004: ID 0bda:0139 Realtek Semiconductor Corp. RTS5139 Card Reader Controller
Bus 001 Device 003: ID 13d3:5719 IMC Networks
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I have consulted the serial devices and cannot find any with the name ttyACM0.

root@kali:~# ls /dev/tty
tty    tty10  tty13  tty16  tty19  tty21  tty24  tty27  tty3   tty32  tty35  tty38  tty40  tty43  tty46  tty49  tty51  tty54  tty57  tty6   tty62  tty8   ttyS1
tty0   tty11  tty14  tty17  tty2   tty22  tty25  tty28  tty30  tty33  tty36  tty39  tty41  tty44  tty47  tty5   tty52  tty55  tty58  tty60  tty63  tty9   ttyS2
tty1   tty12  tty15  tty18  tty20  tty23  tty26  tty29  tty31  tty34  tty37  tty4   tty42  tty45  tty48  tty50  tty53  tty56  tty59  tty61  tty7   ttyS0  ttyS3

I have downloaded and compiled the repository.

root@kali:~# apt install --no-install-recommends git ca-certificates build-essential pkg-config libreadline-dev gcc-arm-none-eabi libnewlib-dev
root@kali:~# git clone https://github.com/RfidResearchGroup/proxmark3.git
root@kali:~# apt remove modemmanager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'modemmanager' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@kali:~# cd proxmark3
root@kali:~/proxmark3# make clean
root@kali:~/proxmark3# make all

===================================================================
Platform name:     Proxmark3 Generic target
PLATFORM:          PM3OTHER
Platform extras:   No extra selected
Included options:  LF HITAG ISO15693 LEGICRF ISO14443b ISO14443a ICLASS FELICA NFCBARCODE HFSNIFF HFPLOT
Standalone mode:   LF_SAMYRUN
===================================================================

root@kali:~/proxmark3# cd client
root@kali:~/proxmark3/client# ./proxmark3
[offline] pm3 --> hw connect p /dev/ttyACM0
[=] Using UART port /dev/ttyACM0

[!] ⚠️  ERROR: invalid serial port /dev/ttyACM0

I checked again with the dmesg command, but with the same results.

As note: When you connect PM3 to the USB port, the solid white LED lights up and the following light pattern happens:
Solid amber LED
15 seconds elapse
Amber LED turns off
Blue and green LEDs momentarily on and off
Amber LED lights up again
It repeats

Screenshots LED:
https://ibb.co/4mHbTvL
https://ibb.co/k2bgyzK

What could be happening?
Thank you.

Last edited by informaxster (2020-04-24 17:20:09)

Offline

#2 2020-05-06 17:09:12

TwoWatches
Contributor
Registered: 2020-05-05
Posts: 4

Re: Unable to connect PM3. Bootloop

https://github.com/proxmark3/blob/master/doc/md/Installation_Instructions/Troubleshooting.md

This was helpful for me, having just gone through a similar issue. I solved it by flashing the unit as follows:

proxmark3 /dev/ttyACM0 --flash --unlock-bootloader --image bootrom/obj/bootrom.elf
proxmark3 /dev/ttyACMO --flash --image armsrc/obj/fullimage.elf

Note: I ran sudo make install after the make clean && make all otherwise you may have to run the commands above out of proxmark3/client

Also run

sudo dmesg | grep -i usb To confirm your device is listed

And

[ -r /dev/ttyACM0 ] && [ -w /dev/ttyACM0 ] && echo ok

To make sure you are communicating.

Last edited by TwoWatches (2020-05-06 17:43:17)

Offline

#3 2020-05-16 12:07:25

informaxster
Contributor
Registered: 2020-04-24
Posts: 3

Re: Unable to connect PM3. Bootloop

Thanks for answering.
I have run the dmesg command and the same result still appears (I bypass the PC devices). It seems to be continuously disconnected and reconnected. This in a USB 3.0 port.

root@kali:~#dmesg | grep -i usb
[1106.744969] usb 1-1: new full-speed USB device number 2 using xhci_hcd
root@kali:~# dmesg | grep -i usb
[1122.928813] usb 1-1: new full-speed USB device number 3 using xhci_hcd
root@kali:~# dmesg | grep -i usb
[1139.116666] usb 1-1: new full-speed USB device number 4 using xhci_hcd
root@kali:~# dmesg | grep -i usb
[1155.308514] usb 1-1: new full-speed USB device number 5 using xhci_hcd
[1171.496381] usb 1-1: new full-speed USB device number 6 using xhci_hcd
root@kali:~#

No results appear on a USB 2.0 port (I bypass PC devices) with the dmesg command, but the device turns on.

root@kali:~#dmesg | grep -i usb
root@kali:~#

As you indicate, I have executed the following commands:

root@kali:~/proxmark3#make accessrights

================================================== =================
Platform name: Proxmark3 Generic target
PLATFORM: PM3OTHER
Platform extras: No extra selected
Included options: LF HITAG ISO15693 LEGICRF ISO14443b ISO14443a ICLASS FELICA NFCBARCODE HFSNIFF HFPLOT
Standalone mode: LF_SAMYRUN
================================================== =================
sudo adduser root dialout
Adding user `root 'to group` dialout' ...
Adding user root to group dialout
Donate.
root@kali:~/proxmark3#

I close my session and start again.

root@kali:~/proxmark3#[-r / dev / ttyACM0] && [-w / dev / ttyACM0] && echo ok
root@kali:~/proxmark3#

I proceed to the installation.

root@kali:~/proxmark3# make install

===================================================================
Platform name:     Proxmark3 Generic target
PLATFORM:          PM3OTHER
Platform extras:   No extra selected
Included options:  LF HITAG ISO15693 LEGICRF ISO14443b ISO14443a ICLASS FELICA NFCBARCODE HFSNIFF HFPLOT
Standalone mode:   LF_SAMYRUN
===================================================================
[*] MAKE client/install
[@] Installing client to /usr/local...
[*] MAKE bootrom/install
[@] Installing bootrom to /usr/local...
[*] MAKE fpga_compress/install
[*] MAKE armsrc/install
[@] Installing fullimage to /usr/local...
[*] MAKE bootrom/all
make[1]: Nothing to be done for 'all'.
[*] MAKE fpga_compress/all
make[1]: Nothing to be done for 'all'.
[*] MAKE armsrc/all
make[1]: Nothing to be done for 'all'.
[*] MAKE recovery/install
[@] Installing recovery to /usr/local...
[*] MAKE mfkey/install
[@] Installing mfkey32 mfkey32v2 mfkey64 to /usr/local...
[*] MAKE nonce2key/install
[@] Installing nonce2key to /usr/local...
[*] MAKE client/all
make[1]: Nothing to be done for 'all'.
[*] MAKE recovery/all
make[1]: Nothing to be done for 'all'.
[*] MAKE mfkey/all
make[1]: Nothing to be done for 'all'.
[*] MAKE nonce2key/all
make[1]: Nothing to be done for 'all'.
[@] Installing common resources to /usr/local...
root@kali:~/proxmark3#

I have followed the Troubleshooting guide with the following results:

root@kali:~# proxmark3 /dev/ttyACM0
[=] Session log /root/.proxmark3/log_20200516.txt
[=] Using UART port /dev/ttyACM0

[!] ⚠️  ERROR: invalid serial port /dev/ttyACM0

root@kali:~#

Tested with the button pressed and not pressed, in USB 2.0 and USB 3.0 port:

root@kali:~/proxmark3# proxmark3 /dev/ttyACM0 --flash --unlock-bootloader --image bootrom/obj/bootrom.elf
[=] Session log /root/.proxmark3/log_20200516.txt
[+] About to use the following file:
[+]     bootrom/obj/bootrom.elf
[+] Waiting for Proxmark3 to appear on /dev/ttyACM0
 ? ............................................................
[!] ⚠️  ERROR: invalid serial port /dev/ttyACM0

[!!] ? Could not find Proxmark3 on /dev/ttyACM0.

[!!] ? Aborted on error.

Have a nice day!
root@kali:~/proxmark3#

The guide says the following, but on my device it is not met.

Unplug, press the Proxmark3 button and keep it pressed when you plug it on USB. If the red LEDs show a "off/on/off/on" pattern, you're goot, you manually entered into the bootloader mode

The following happens, both in the USB 2.0 port and USB 3.0:
When you connect PM3 to the USB port, the solid white LED lights up and the following light pattern happens:

  1. Solid amber LED.

  2. 15 seconds elapse.

  3. Amber LED turns off.

  4. Blue and green LEDs momentarily on and off.

  5. Amber LED lights up again.

It repeats.

What could be happening?
Thank you.

Screenshots LED:
first-step.jpg
second-step.jpg

Offline

Board footer

Powered by FluxBB