aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2011-08-15simtrace UART: set INACK flag to make sure we ignore any parity errorHarald Welte1-3/+3
As a SIM card tracer, we want to remain completely passive and thus not signal back parity errors with the ISO 7816 NACK. The UART INACK flag does exactly that...
2011-08-15DBGU: Print Reset controller Status Register on bootHarald Welte1-0/+4
This helps us to discover _why_ the CPU has been rebooted.
2011-08-15USB: Add support for the 3rd DFU interface (RAM)Harald Welte1-0/+6
2011-07-30add simtrace README fileHarald Welte1-0/+9
2011-07-30Merge branch 'simtrace'Harald Welte38-65/+1870
2011-07-30update mkcompile_h to work with git repositoryHarald Welte2-4/+155
2011-07-30DFU: Fix execution of software that was loaded to RAM via DFUv0.1Harald Welte1-8/+17
2011-07-30DFU: Support re-flashing of DFU via DFUHarald Welte2-18/+134
As we re-locate the entire sam7dfu program into RAM, we don't need to execute from flash and can thus re-program the DFU partition via the DFU protocol itself (alternate setting '1'). We also implement downloading executable code into RAM using alternate setting '2'. The latter part is not properly executed yet.
2011-07-30DFU: add third 'alternate configuration' for RAM loadHarald Welte8-10/+36
This will allow us to load code directly into RAM without going through flash.
2011-07-30simtrace: add some early spi flash utility routinesHarald Welte3-1/+225
This also adds a new 'main_factory' target for simtrace
2011-07-30Makefile: SIMtrace uses SAM7S128, not 256Harald Welte2-2/+2
2011-07-30add new RUN_FROM_RAM run-mode for direct DFU-to-RAM supportHarald Welte4-3/+99
2011-07-30use gcc/ld flags -ffunction-sections and --gc-sectionsHarald Welte4-17/+17
This will discard unused functions from the resulting binary
2011-07-29sam7dfu: update copyright yearsHarald Welte1-1/+1
2011-07-29sam7dfu: make sure we can use USB reset to get from DFU -> APPHarald Welte1-2/+14
When we went through a Download -> Manifest cycle, we can switch back to dfuIDLE. However, we need to memorize that manifest had already happened and thus should treat a host-initiated bus reset as trigger to switch back into application mode.
2011-07-07USB driver: use the DFU-provided function to send EP0 dataHarald Welte1-48/+1
There is no point in replicating the functionality that already exists in the DFU section of the flash
2011-07-07dfu: fix EP0 IN trasnfers that are even multiple of 8Harald Welte1-4/+14
We have to send a ZLP at the end of such transfers, otherwise the host will time out at the end of the transfer. This resulted in multi-second delays for recognizing the SIMtrace hardware by the USB host.
2011-07-07USB driver: use the DFU-provided function to send EP0 dataHarald Welte1-48/+1
There is no point in replicating the functionality that already exists in the DFU section of the flash
2011-07-07dfu: fix EP0 IN trasnfers that are even multiple of 8Harald Welte1-4/+14
We have to send a ZLP at the end of such transfers, otherwise the host will time out at the end of the transfer. This resulted in multi-second delays for recognizing the SIMtrace hardware by the USB host.
2011-06-30simtrace: initialize sniffer mode right after start-upHarald Welte1-18/+22
2011-06-21simtrace: switch VCC_SIM into output mode, as we use it to supply VccHarald Welte1-2/+8
This is just a temp rework in the 1st generation prototype, as the bus switch has too high resistance for passing throuhg Vcc from the phone to the SIM.
2011-06-21simtrace: add VCC_PHINE IRQ detectionHarald Welte1-0/+19
2011-06-21simtrace: use better names for GPIO linesHarald Welte1-4/+5
2011-06-17simtrace: introduce mode sniffer / mitm switchingHarald Welte4-8/+74
2011-06-16simtrace: add support for the analog bus switchHarald Welte5-3/+96
2011-06-16simtrace: add more definitions regarding real hw prototypeHarald Welte4-1/+32
2011-06-15update USB strings (company name and some copy+paste mistakes)Harald Welte2-3/+3
2011-01-31typo: Fix typo, transform reqyests to requests.Holger Hans Peter Freyther6-6/+6
2011-01-31typo: Fix typo, transform reqyests to requests.Holger Hans Peter Freyther7-7/+7
2011-01-31vsprintf.c: Fix compilation by including limits.hHolger Hans Peter Freyther1-0/+1
The INT_MAX define was not known to this code with a GCC 4.5.2/binutils 2.21/newlib 1.19.0 toolchain as build for osmocomBB. Include limits.h to fix that.
2010-12-09add missing usb_strings_dfu.txt file to simtrace directoryHarald Welte1-0/+5
2010-11-21AT91SAM7.h: Fix computation of AT91C_IFLASH_LOCK_REGION_SIZEHarald Welte1-1/+1
2010-11-21simtrace: Make sure ATR is sent in its own RCTX and we re-allocate in timeHarald Welte1-1/+11
2010-11-18simtrace: Commit Makefile changes to support build of simtrace WARNINGHarald Welte2-6/+18
These changes will enable the simtrace firmware to be built like this: make -f Makefile.dfu BOARD=OLIMEX make BOARD=SIMTRACE DEBUG=1 TARGET=main_simtrace
2010-11-18ausb: fix interrupt URB callbackHarald Welte1-2/+14
2010-11-18ausb: make ausb_test compile againHarald Welte2-2/+2
2010-11-18req_ctx: Increase size of small req_ctx to 128 and have 16 instead of 8Harald Welte2-3/+3
This is required to deal with bursts in SIM comminication while using the SIMTRACE firmware
2010-11-18ausb: fix interrupt URB callbackHarald Welte1-2/+14
2010-11-18simtrace: fix problems causing bogus waiting time expirationsHarald Welte1-1/+5
2010-11-18simtrace: Introduce code for proper handling of PTS / PPSHarald Welte1-12/+148
2010-11-18simtrace: add TC based waiting time counter, signal ATR / expiry via USBHarald Welte7-80/+316
2010-11-15ausb: make ausb_test compile againHarald Welte2-2/+2
2010-11-14simtrace: introduce RST pin handlingHarald Welte1-12/+32
2010-11-14Initial version of a SAM7 USART based ISO7816-3 T=0 snifferHarald Welte6-2/+529
2010-11-14enable USB string descriptorsHarald Welte1-1/+1
2010-11-14disable USB EP0 debuggingHarald Welte1-1/+1
2010-11-13Use smaller number of request contexts on a SAM64Harald Welte1-0/+5
2010-11-13On the Olimex board, the buttons are low-activeHarald Welte1-1/+7
Thus, we need to invert our check during the dfu / main dual boot decision
2010-11-13AT91SAM7S: Fix linker script (stack) for 64kByte flash versionHarald Welte1-1/+1
2010-11-13mark _ctype as const to be able to put it in flashHarald Welte2-2/+2