]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/appmain.c
Fix some printf/scanf format strings
[proxmark3-svn] / armsrc / appmain.c
index 4f0a19b9282da939760e155eff77bfea880d0487..56bf67e0c2ccd6507aa757d59b670975390e1530 100644 (file)
@@ -1467,13 +1467,13 @@ void  __attribute__((noreturn)) AppMain(void) {
 
        // Reset SPI
        AT91C_BASE_SPI->SPI_CR = AT91C_SPI_SWRST;
+       AT91C_BASE_SPI->SPI_CR = AT91C_SPI_SWRST; // required twice on some AT91SAM Revisions (see Errata in AT91SAM datasheet)
        // Reset SSC
        AT91C_BASE_SSC->SSC_CR = AT91C_SSC_SWRST;
 
-       // Load the FPGA image, which we have stored in our flash.
-       // (the HF version by default)
+       // Load the FPGA image, which we have stored in our flash (HF version by default)
        FpgaDownloadAndGo(FPGA_BITSTREAM_HF);
-
+       
        StartTickCount();
 
 #ifdef WITH_LCD
Impressum, Datenschutz