#define CMD_SETUP_WRITE 0x0001\r
#define CMD_FINISH_WRITE 0x0003\r
#define CMD_HARDWARE_RESET 0x0004\r
+#define CMD_START_FLASH 0x0005
#define CMD_ACK 0x00ff\r
\r
// For general mucking around\r
QTGUI = guidummy.o
endif
-all: proxmark3 snooper cli
+all: proxmark3 snooper cli flasher
proxmark3: LDFLAGS+=$(QTLDFLAGS)
proxmark3: proxmark3.o gui.o command.o usb.o $(QTGUI)
cli: cli.o gui.o command.o usb.o guidummy.o
+flasher: flasher.o usb.o
+
proxguiqt.moc.cpp: proxguiqt.h
$(MOC) -o$@ $^
clean:
- rm -f cli proxmark3 snooper *.o *.moc.cpp
+ rm -f cli flasher proxmark3 snooper *.o *.moc.cpp
.PHONY: all clean
sleep(1);
fprintf(stderr,"Waiting for Proxmark to reappear on USB...\n");
+ fprintf(stderr,"(Press and hold down button NOW if your bootloader requires it)\n");
while(!(devh=OpenProxmark(0))) { sleep(1); }
fprintf(stderr,"Found...\n");