Rationalized LED usage in 14443-B: LED D shows RF Field OK,

and LED A, B and C respectively show:
- Receiving from reader
- Transmitting to tag/reader
- Receiving from tag

Also, updated the snoop function to make full use of the DMA buffer, which removes (in my case) all the 'blew DMA buffer' issues.

Last, moved the compilation of iso1443.c to ARM mode (not thumb) to make it faster on my Linux gcc 4.3 version, otherwise the 'blew DMA buffer' issue was systematic.

Also: restored the "indalademod" command which had mysteriously disappeared from the prox.exe (proxmark3) client!
This commit is contained in:
edouard@lafargue.name 2009-04-26 14:26:06 +00:00
commit 0e25ae1102
5 changed files with 112 additions and 57 deletions

View file

@ -8,8 +8,8 @@
#include <proxmark3.h>
#include "apps.h"
#include "fonts.h"
#ifdef WITH_LCD
#include "fonts.h"
#include "LCD.h"
#endif
@ -657,10 +657,9 @@ void UsbPacketReceived(BYTE *packet, int len)
break;
case CMD_FPGA_MAJOR_MODE_OFF: // ## FPGA Control
LED_C_ON();
FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF);
SpinDelay(200);
LED_C_OFF();
LED_D_OFF(); // LED D indicates field ON or OFF
break;
case CMD_DOWNLOAD_RAW_ADC_SAMPLES_125K: