mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-20 21:33:19 -07:00
fixing some fpga and iclass issues
* make fpga_version_info.c phony and delete it on 'make clean' * wait for transfer to complete before returning from FpgaSendCommand() * log correct tag times in iclass simulation * shorten pulse from TC1 to TC0 in StartCountSspClk() * shorten ssp_frame pulse in fpga/hi_reader.v * some reformatting and whitespace fixes
This commit is contained in:
parent
bedae7768c
commit
7a53739728
11 changed files with 170 additions and 184 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue