RfidResearchGroup / proxmark3

Iceman Fork - Proxmark3
http://www.icedev.se
GNU General Public License v3.0
3.63k stars 981 forks source link

FPC USART for BT add-on... absent #1163

Closed Einstein2150 closed 3 years ago

Einstein2150 commented 3 years ago

Things to try before submitting bug report read the troubleshooting guide

Compilation problems Try compiling with verbose. make VERBOSE=1 with main makefile or make V=1 with cmake.

flashing problems Have you followed the instructions properly? ie, flashed bootrom seperately first if you are going from Offical repo to RRG/Iceman repo.

-

Describe the bug FPC USART for BT add-on is still absent after:

brew remove  proxmark
brew install --with-blueshark --HEAD rfidresearchgroup/proxmark3/proxmark3

A connection fails:

proxmark3 -p /dev/tty.PM3_RDV40-DevB [=] Session log /Users/a1121460/.proxmark3/logs/log_20210111.txt [+] loaded from JSON file /Users/a1121460/.proxmark3/preferences.json [=] Using UART port /dev/tty.PM3_RDV40-DevB [!!] šŸšØ ERROR: cannot communicate with the Proxmark

To Reproduce Steps to reproduce the behavior:

brew remove  proxmark
brew install --with-blueshark --HEAD rfidresearchgroup/proxmark3/proxmark3

connect bluetooth

proxmark3 -p /dev/tty.PM3_RDV40-DevB [=] Session log /Users/a1121460/.proxmark3/logs/log_20210111.txt [+] loaded from JSON file /Users/a1121460/.proxmark3/preferences.json [=] Using UART port /dev/tty.PM3_RDV40-DevB [!!] šŸšØ ERROR: cannot communicate with the Proxmark

Expected behavior BT Aden should be active

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

(*) Q factor must be measured without tag on the antenna

[+] Displaying LF tuning graph. Divisor 88 (blue) is 134.83 kHz, 95 (red) is 125.00 kHz.

No GUI in this build!

Additional context Bluetooth connection is enabled and established from Settings-Menue in macOS

proxmark3 -p /dev/tty.PM3_RDV40-DevB [=] Session log /Users/a1121460/.proxmark3/logs/log_20210111.txt [+] loaded from JSON file /Users/a1121460/.proxmark3/preferences.json [=] Using UART port /dev/tty.PM3_RDV40-DevB [!!] šŸšØ ERROR: cannot communicate with the Proxmark

iceman1001 commented 3 years ago

.... Have you flashed the device?

tcprst commented 3 years ago

I also see that a brew upgrade proxmark3 is needed. With the recent changes to the formula, blueshark should be fixed and the GCC toolchain should be updated.

iceman1001 commented 3 years ago

if the toolchain is updated, you might need uninstall and reinstall

Einstein2150 commented 3 years ago

.... Have you flashed the device?

yes - pm3-flash-all

iceman1001 commented 3 years ago

what was the output from the compilation? and the flashing?
Since your device doesn't have the bt-addon fw on it , somewhere before is the cause...

Einstein2150 commented 3 years ago

I got it. A complete update of all brew-components and a reinstallation and reflash made it :-)

`a1121460@E112-MAC003 ~> brew remove proxmark3 Uninstalling /usr/local/Cellar/proxmark3/HEAD-b60daea... (676 files, 41.0MB) a1121460@E112-MAC003 ~> brew install --with-blueshark --HEAD rfidresearchgroup/proxmark3/proxmark3 ==> Installing proxmark3 from rfidresearchgroup/proxmark3 ==> Cloning https://github.com/RfidResearchGroup/proxmark3.git Updating /Users/a1121460/Library/Caches/Homebrew/proxmark3--git ==> Checking out branch master Already on 'master' Your branch is up to date with 'origin/master'. HEAD is now at b60daea lf t55xx sniff - now uses cliparser ==> make clean ==> make all PLATFORM=PM3RDV4 PLATFORM_EXTRAS=BTADDON BREW_PREFIX=/usr/local ==> make install PREFIX=/usr/local/Cellar/proxmark3/HEAD-b60daea PLATFORM=PM3RDV4 PLATFORM_EXTRAS=BTADDON BREW_PREFIX=/usr/local ==> Install success! ==> The latest bootloader and firmware binaries are ready and waiting in the current homebrew Cellar within share/firmware. šŸŗ /usr/local/Cellar/proxmark3/HEAD-b60daea: 676 files, 41MB, built in 3 minutes 10 seconds a1121460@E112-MAC003 ~> pm3-flash-all [=] Session log /Users/a1121460/.proxmark3/logs/log_20210111.txt [+] loaded from JSON file /Users/a1121460/.proxmark3/preferences.json [+] About to use the following files: [+] /usr/local/Cellar/proxmark3/HEAD-b60daea/bin/../share/proxmark3/firmware/bootrom.elf [+] /usr/local/Cellar/proxmark3/HEAD-b60daea/bin/../share/proxmark3/firmware/fullimage.elf [+] Waiting for Proxmark3 to appear on /dev/tty.usbmodemiceman1 šŸ•‘ 59 found [=] Available memory on this board: 512K bytes

[=] Permitted flash range: 0x00100000-0x00180000 [+] Loading ELF file /usr/local/Cellar/proxmark3/HEAD-b60daea/bin/../share/proxmark3/firmware/bootrom.elf [+] Loading usable ELF segments: [+] 0: V 0x00100000 P 0x00100000 (0x00000200->0x00000200) [R X] @0x94 [+] 1: V 0x00200000 P 0x00100200 (0x00000d50->0x00000d50) [R X] @0x298

[+] Loading ELF file /usr/local/Cellar/proxmark3/HEAD-b60daea/bin/../share/proxmark3/firmware/fullimage.elf [+] Loading usable ELF segments: [+] 0: V 0x00102000 P 0x00102000 (0x000487a0->0x000487a0) [R X] @0x94 [+] 1: V 0x00200000 P 0x0014a7a0 (0x0000176c->0x0000176c) [RW ] @0x48834 [=] Note: Extending previous segment from 0x487a0 to 0x49f0c bytes

[+] Flashing... [+] Writing segments for file: /usr/local/Cellar/proxmark3/HEAD-b60daea/bin/../share/proxmark3/firmware/bootrom.elf [+] 0x00100000..0x001001ff [0x200 / 1 blocks] . OK [+] 0x00100200..0x00100f4f [0xd50 / 7 blocks] ....... OK

[+] Writing segments for file: /usr/local/Cellar/proxmark3/HEAD-b60daea/bin/../share/proxmark3/firmware/fullimage.elf [+] 0x00102000..0x0014bf0b [0x49f0c / 592 blocks] ................................................................... @@@ @@@@@@@ @@@@@@@@ @@@@@@@@@@ @@@@@@ @@@ @@@ @@! !@@ @@! @@! @@! @@! @@! @@@ @@!@!@@@ !!@ !@! @!!!:! @!! !!@ @!@ @!@!@!@! @!@@!!@! !!: :!! !!: !!: !!: !!: !!! !!: !!! : :: :: : : :: ::: : : : : : :: : . .. .. . . .. ... . . . . . .. . ................................................................... ....................................................................................... OK

[+] All done

Have a nice day! a1121460@E112-MAC003 ~> pm3 [=] Session log /Users/a1121460/.proxmark3/logs/log_20210111.txt [+] loaded from JSON file /Users/a1121460/.proxmark3/preferences.json [=] Using UART port /dev/tty.usbmodemiceman1 [=] Communicating with PM3 over USB-CDC

ā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā•— ā–ˆā–ˆā–ˆā•— ā–ˆā–ˆā–ˆā•—ā–ˆā–ˆā–ˆā–ˆā–ˆā•— ā–ˆā–ˆā•”ā•ā•ā–ˆā–ˆā•—ā–ˆā–ˆā–ˆā–ˆā•— ā–ˆā–ˆā–ˆā–ˆā•‘ā•šā•ā•ā•ā–ˆā–ˆā•— ā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā•”ā•ā–ˆā–ˆā•”ā–ˆā–ˆā–ˆā–ˆā•”ā–ˆā–ˆā•‘ ā–ˆā–ˆā–ˆā–ˆā•”ā• ā–ˆā–ˆā•”ā•ā•ā•ā• ā–ˆā–ˆā•‘ā•šā–ˆā–ˆā•”ā•ā–ˆā–ˆā•‘ ā•šā•ā•ā–ˆā–ˆā•— ā–ˆā–ˆā•‘ ā–ˆā–ˆā•‘ ā•šā•ā• ā–ˆā–ˆā•‘ā–ˆā–ˆā–ˆā–ˆā–ˆā•”ā• Iceman ā˜• ā•šā•ā• ā•šā•ā• ā•šā•ā•ā•šā•ā•ā•ā•ā• ā„ļø bleeding edge

https://github.com/rfidresearchgroup/proxmark3/

[ Proxmark3 RFID instrument ]

[ CLIENT ] client: RRG/Iceman/master/b60daea 2021-01-11 16:58:51 compiled with Clang/LLVM Apple LLVM 12.0.0 (clang-1200.0.32.28) OS:OSX ARCH:x86_64

[ PROXMARK3 ] firmware.................. PM3RDV4 external flash............ present smartcard reader.......... present FPC USART for BT add-on... present

[ ARM ] bootrom: RRG/Iceman/master/b60daea 2021-01-11 16:59:49 os: RRG/Iceman/master/b60daea 2021-01-11 17:00:29 compiled with GCC 10.2.1 20201103 (release)

[ FPGA ] LF image built for 2s30vq100 on 2020-07-08 at 23: 8: 7 HF image built for 2s30vq100 on 2020-07-08 at 23: 8:19 HF FeliCa image built for 2s30vq100 on 2020-07-08 at 23: 8:30

[ Hardware ] --= uC: AT91SAM7S512 Rev B --= Embedded Processor: ARM7TDMI --= Nonvolatile Program Memory Size: 512K bytes, Used: 311047 bytes (59%) Free: 213241 bytes (41%) --= Second Nonvolatile Program Memory Size: None --= Internal SRAM Size: 64K bytes --= Architecture Identifier: AT91SAM7Sxx Series --= Nonvolatile Program Memory Type: Embedded Flash Memory

`