projects
/
proxmark3-svn
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix some printf/scanf format strings
[proxmark3-svn]
/
armsrc
/
appmain.c
diff --git
a/armsrc/appmain.c
b/armsrc/appmain.c
index 4f0a19b9282da939760e155eff77bfea880d0487..56bf67e0c2ccd6507aa757d59b670975390e1530 100644
(file)
--- a/
armsrc/appmain.c
+++ b/
armsrc/appmain.c
@@
-1467,13
+1467,13
@@
void __attribute__((noreturn)) AppMain(void) {
// Reset SPI
AT91C_BASE_SPI->SPI_CR = AT91C_SPI_SWRST;
// 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;
// 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);
FpgaDownloadAndGo(FPGA_BITSTREAM_HF);
-
+
StartTickCount();
#ifdef WITH_LCD
StartTickCount();
#ifdef WITH_LCD
Impressum
,
Datenschutz