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.
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.
Pages: 1
Hello,
I am a new user to the Proxmark, and I was wondering if I could get some help with it.
So I read a bunch of flash-related problems that many people are having, and I do have one of my own, but I guess my concern right now is to try and get this Proxmark3 up and running successfully.
I have in my red bag a Proxmark3 (unknown of its age), a USB cable, a green disc LF antenna and a red wrapped inductance coil (both have a mini USB connector), and a bunch of RFID tags/cards/chips. I also downloaded "pm3-20090905-r216", a new version of the Proxmark3 software, and I am running a Windows XP machine that successfully detects the Proxmark3 when I run "prox.exe", the GUI that states, "connected to device".
Here's the deal: I need some reassurance that I'm heading in the right direction to being able to read both LF and HF RFIDs. The first order of business is knowing that I successfully compiled the code in the zip file.
In the Proxmark3 Project Hosting site -> Compiling, it states that if I find the fpga, os, and bootrom images and the prox GUI executable, then the code was successfully compiled. However, when I go to run the "5makeall" command on the console (after clicking on "0setpath.bat"), I receive two noticeable errors. I am wondering if this has anything to do with the problems I am experiencing:
--------------------------
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\mbarrene\My Documents\Proxmark\ProxSpace\pm3-20090905-r216\cockpit>5makeall
C:\Documents and Settings\mbarrene\My Documents\Proxmark\ProxSpace\pm3-20090905-r216\cockpit>call 1makearm.bat
perl ../tools/mkversion.pl .. > version.c || copy ../common/default_version.c version.c
arm-elf-gcc -c -I../include -Wall -O6 -mthumb -mthumb-interwork -o obj/version.o version.c
arm-elf-ld -g -Tldscript -Map=obj/fullimage.map -o obj/fullimage.elf obj/version.o obj/fpga.o obj/start.o obj/appmain.o obj/lfops.o obj/iso15693.o obj/util.o obj/hitag2.o obj/usb.o obj/iso14443.o obj/iso14443a.o obj/fpgaloader.o ../../devkitARM/lib/gcc/arm-elf/4.1.0/interwork/libgcc.a
obj/start.o: file not recognized: File format not recognized
make: *** [obj/fullimage.elf] Error 1
perl ../tools/mkversion.pl .. > version.c || copy ../common/default_version.c version.c
arm-elf-gcc -c -I../include -Wall -mthumb -mthumb-interwork -o obj/version.o version.c
arm-elf-ld -g -Tldscript-flash --oformat elf32-littlearm -Map=obj/bootrom.map -o obj/bootrom.elf obj/version.o obj/ram-reset.o obj/flash-reset.o obj/fromflash.o obj/usb.o obj/bootrom.o
process_begin: CreateProcess(NULL, sh C:\Documents and Settings\mbarrene\My Documents\Proxmark\ProxSpace\devkitARM\bin\arm-elf-ld -g -Tldscript-flash --oformat elf32-littlearm -Map=obj/bootrom.map -o obj/bootrom.elf obj/version.o obj/ram-reset.o obj/flash-reset.o obj/fromflash.o obj/usb.o obj/bootro
m.o, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [obj/bootrom.elf] Error 2
Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.
C:\Documents and Settings\mbarrene\My Documents\Proxmark\ProxSpace\pm3-20090905-r216\cockpit>
--------------------
Despite these errors, I still find the image files and the executable in their respective directories. Is everything okay here?
Any help would be greatly appreciated!
Thank you,
Mario B.
Offline
obj/start.o: file not recognized: File format not recognized
This should definitely not happen. The .s19 files that you find in your directories are probably the shipped files that are in there for a quick first start. If you want to make sure you have your self-compiled binaries, you need to clean the directory first. For this, after clicking 0setpath.bat, do (in the shell opened by 0setpath.bat):
cd ..\winsrc
make clean
cd ..\armsrc
make clean
cd ..\bootrom
make clean
cd ..\cockpit
5makeall.bat
(This applies to the cockpit batch files shipped in r216. The newer 5makeall.bat from r222 would allow you to do "5makeall.bat clean" instead of the first 7 commands.)
Offline
Latest SVN version supports "5makeall clean" which cleans everything.
Offline
Hey guys,
Thanks for the reply.
Here is what I did in the console (you don't have to look at eveything, just the highlighted portions):
------------------------------------------------------------------------------------------------------------------------------------------
C:\Documents and Settings\mbarrene\My Documents\ProxSpace\pm3-20090905-r216\cockpit>cd ..\winsrc
C:\Documents and Settings\mbarrene\My Documents\ProxSpace\pm3-20090905-r216\winsrc>make clean
makefile:22: *** missing separator. Stop.
C:\Documents and Settings\mbarrene\My Documents\ProxSpace\pm3-20090905-r216\winsrc>dir
Volume in drive C has no label.
Volume Serial Number is 2CEC-12D8
Directory of C:\Documents and Settings\mbarrene\My Documents\ProxSpace\pm3-20090905-r216\winsrc
10/26/2009 01:21 PM <DIR> .
10/26/2009 01:21 PM <DIR> ..
10/26/2009 01:21 PM <DIR> .svn
09/05/2009 04:10 PM 77,118 command.cpp
09/05/2009 04:10 PM 13,952 gui.cpp
10/26/2009 01:21 PM <DIR> include
09/05/2009 04:10 PM 970 Makefile
10/26/2009 01:21 PM <DIR> obj
09/05/2009 04:10 PM 14,150 prox.cpp
10/26/2009 01:24 PM 281,088 prox.exe
09/05/2009 04:10 PM 3,541 prox.h
09/05/2009 04:27 PM 102,400 vc90.pdb
7 File(s) 493,219 bytes
5 Dir(s) 156,851,101,696 bytes free
C:\Documents and Settings\mbarrene\My Documents\ProxSpace\pm3-20090905-r216\winsrc>make clean
makefile:22: *** missing separator. Stop.
C:\Documents and Settings\mbarrene\My Documents\ProxSpace\pm3-20090905-r216\winsrc>cd ..\armsrc
C:\Documents and Settings\mbarrene\My Documents\ProxSpace\pm3-20090905-r216\armsrc>make clean
del /q obj\*.o
del /q obj\*.elf
del /q obj\*.s19
del /q obj\*.map
del /q obj\*.d
del /q version.c
C:\Documents and Settings\mbarrene\My Documents\ProxSpace\pm3-20090905-r216\armsrc>cd ..\bootrom
C:\Documents and Settings\mbarrene\My Documents\ProxSpace\pm3-20090905-r216\bootrom>make clean
del /q obj\*.o
del /q obj\*.elf
Could Not Find C:\Documents and Settings\mbarrene\My Documents\ProxSpace\pm3-20090905-r216\bootrom\obj\*.elf
del /q obj\*.s19
del /q obj\*.map
del /q obj\*.d
del /q version.c
C:\Documents and Settings\mbarrene\My Documents\ProxSpace\pm3-20090905-r216\bootrom>cd ..\cockpit
C:\Documents and Settings\mbarrene\My Documents\ProxSpace\pm3-20090905-r216\cockpit>5makeall.bat
C:\Documents and Settings\mbarrene\My Documents\ProxSpace\pm3-20090905-r216\cockpit>call 1makearm.bat
perl ../tools/mkversion.pl .. > version.c || copy ../common/default_version.c version.c
arm-elf-gcc -c -I../include -Wall -O6 -mthumb -mthumb-interwork -o obj/version.o version.c
make: *** No rule to make target `fpga.bit', needed by `obj/fpga.o'. Stop.
perl ../tools/mkversion.pl .. > version.c || copy ../common/default_version.c version.c
arm-elf-gcc -c -I../include -Wall -mthumb -mthumb-interwork -o obj/version.o version.c
arm-elf-gcc -c -I../include -Wall -mthumb-interwork -o obj/ram-reset.o ram-reset.s
arm-elf-gcc -c -I../include -Wall -mthumb-interwork -o obj/flash-reset.o flash-reset.s
arm-elf-gcc -c -I../include -Wall -mthumb-interwork -o obj/fromflash.o fromflash.c
arm-elf-gcc -c -I../include -Wall -mthumb-interwork -o obj/usb.o ../common/usb.c
arm-elf-gcc -c -I../include -Wall -mthumb-interwork -o obj/bootrom.o bootrom.c
arm-elf-ld -g -Tldscript-flash --oformat elf32-littlearm -Map=obj/bootrom.map -o obj/bootrom.elf obj/version.o obj/ram-reset.o obj/flash-reset.o obj/fromflash.o obj/usb.o obj/bootrom.o
arm-elf-objcopy -Osrec --srec-forceS3 --strip-debug --no-change-warnings --change-addresses -0x100000 --change-start 0 --change-section-address .bss+0 --change-section-address .data+0 --change-section-address .
commonarea+0 obj/bootrom.elf obj/bootrom.s19
Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.
C:\Documents and Settings\mbarrene\My Documents\ProxSpace\pm3-20090905-r216\cockpit>
-----------------------------------------------------------------------------------------------------------------------------
I tried executing "make clean" in the winsrc directory and it came back with:
"makefile:22: *** missing separator. Stop."
Also, below I highlighted a file that was not found when cleaning up the bootrom directory. Is this okay?
Finally, the output has dramatically changed after making everything again (and after cleaning), this time without any errors. Am I good to go now?
Thanks!
Mario B.
Offline
mbarrenecheajr, have you fixed the problem? How did you make it? Actually I faced the same problem here ......
Offline
I just delete all the shipped .o .elf ect files, it works now
>cd /armsrc
>make clean
>cd ..
>cd cockit
>1makearm.bat
or
>cd /armsrc
>make
Offline
Pages: 1