]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
Update fpgaloader.c (#500)
authorIceman <iceman@iuse.se>
Thu, 30 Nov 2017 11:46:40 +0000 (12:46 +0100)
committerpwpiwi <pwpiwi@users.noreply.github.com>
Thu, 30 Nov 2017 11:46:40 +0000 (12:46 +0100)
This address part1 in issue https://github.com/Proxmark/proxmark3/issues/499

Device power out 13.56Mhz when started (initialised). This output is not stopped until arbitary command is sent.

armsrc/fpgaloader.c

index 1deb5b7dd09c1c19f0c103c580a15623b5c67a4e..c0b04f3cc99c4aa09526dd5a57f71fbec827b4cb 100644 (file)
@@ -434,6 +434,9 @@ void FpgaDownloadAndGo(int bitstream_version)
 
        inflateEnd(&compressed_fpga_stream);
        
 
        inflateEnd(&compressed_fpga_stream);
        
+       // turn off antenna
+       FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF);
+       
        // free eventually allocated BigBuf memory
        BigBuf_free(); BigBuf_Clear_ext(false); 
 }      
        // free eventually allocated BigBuf memory
        BigBuf_free(); BigBuf_Clear_ext(false); 
 }      
Impressum, Datenschutz