]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/lfops.c
hf mf sim: Multiple fixes (iceman1001/proxmark3 #45)
[proxmark3-svn] / armsrc / lfops.c
index f6cbbfba380d572b0a7f7a76ee20bdef54566ed5..bbd848ce0f46f3e338934c1c39a7cd0afe108040 100644 (file)
@@ -397,10 +397,11 @@ void SimulateTagLowFrequency(int period, int gap, int ledcontrol)
        int i = 0;
        uint8_t *buf = BigBuf_get_addr();
 
-       FpgaDownloadAndGo(FPGA_BITSTREAM_LF);
        FpgaWriteConfWord(FPGA_MAJOR_MODE_LF_EDGE_DETECT | FPGA_LF_EDGE_DETECT_READER_FIELD);
+       //FpgaWriteConfWord(FPGA_MAJOR_MODE_LF_EDGE_DETECT);
 
        AT91C_BASE_PIOA->PIO_PER = GPIO_SSC_DOUT | GPIO_SSC_CLK;
+       //AT91C_BASE_PIOA->PIO_PER = GPIO_SSC_DOUT;
        AT91C_BASE_PIOA->PIO_OER = GPIO_SSC_DOUT;
        AT91C_BASE_PIOA->PIO_ODR = GPIO_SSC_CLK;
 
@@ -447,6 +448,7 @@ OUT:
        FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF);
        StopTicks();
        LED_D_OFF();
+       DbpString("Simulation stopped");
        return; 
 }
 
Impressum, Datenschutz