summaryrefslogtreecommitdiff
path: root/firmware
Commit message (Collapse)AuthorAgeFilesLines
...
* DFU: Fix execution of software that was loaded to RAM via DFUv0.1Harald Welte2011-07-301-8/+17
|
* DFU: Support re-flashing of DFU via DFUHarald Welte2011-07-302-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.
* DFU: add third 'alternate configuration' for RAM loadHarald Welte2011-07-308-10/+36
| | | | | This will allow us to load code directly into RAM without going through flash.
* simtrace: add some early spi flash utility routinesHarald Welte2011-07-303-1/+225
| | | | This also adds a new 'main_factory' target for simtrace
* Makefile: SIMtrace uses SAM7S128, not 256Harald Welte2011-07-302-2/+2
|
* add new RUN_FROM_RAM run-mode for direct DFU-to-RAM supportHarald Welte2011-07-304-3/+99
|
* use gcc/ld flags -ffunction-sections and --gc-sectionsHarald Welte2011-07-304-17/+17
| | | | This will discard unused functions from the resulting binary
* sam7dfu: update copyright yearsHarald Welte2011-07-291-1/+1
|
* sam7dfu: make sure we can use USB reset to get from DFU -> APPHarald Welte2011-07-291-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.
* USB driver: use the DFU-provided function to send EP0 dataHarald Welte2011-07-071-48/+1
| | | | | There is no point in replicating the functionality that already exists in the DFU section of the flash
* dfu: fix EP0 IN trasnfers that are even multiple of 8Harald Welte2011-07-071-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.
* simtrace: initialize sniffer mode right after start-upHarald Welte2011-06-301-18/+22
|
* simtrace: switch VCC_SIM into output mode, as we use it to supply VccHarald Welte2011-06-211-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.
* simtrace: add VCC_PHINE IRQ detectionHarald Welte2011-06-211-0/+19
|
* simtrace: use better names for GPIO linesHarald Welte2011-06-211-4/+5
|
* simtrace: introduce mode sniffer / mitm switchingHarald Welte2011-06-174-8/+74
|
* simtrace: add support for the analog bus switchHarald Welte2011-06-165-3/+96
|
* simtrace: add more definitions regarding real hw prototypeHarald Welte2011-06-164-1/+32
|
* update USB strings (company name and some copy+paste mistakes)Harald Welte2011-06-152-3/+3
|
* typo: Fix typo, transform reqyests to requests.Holger Hans Peter Freyther2011-01-317-7/+7
|
* vsprintf.c: Fix compilation by including limits.hHolger Hans Peter Freyther2011-01-311-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.
* add missing usb_strings_dfu.txt file to simtrace directoryHarald Welte2010-12-091-0/+5
|
* AT91SAM7.h: Fix computation of AT91C_IFLASH_LOCK_REGION_SIZEHarald Welte2010-11-211-1/+1
|
* simtrace: Make sure ATR is sent in its own RCTX and we re-allocate in timeHarald Welte2010-11-211-1/+11
|
* simtrace: Commit Makefile changes to support build of simtrace WARNINGHarald Welte2010-11-182-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
* req_ctx: Increase size of small req_ctx to 128 and have 16 instead of 8Harald Welte2010-11-182-3/+3
| | | | | This is required to deal with bursts in SIM comminication while using the SIMTRACE firmware
* simtrace: fix problems causing bogus waiting time expirationsHarald Welte2010-11-181-1/+5
|
* simtrace: Introduce code for proper handling of PTS / PPSHarald Welte2010-11-181-12/+148
|
* simtrace: add TC based waiting time counter, signal ATR / expiry via USBHarald Welte2010-11-187-80/+316
|
* simtrace: introduce RST pin handlingHarald Welte2010-11-141-12/+32
|
* Initial version of a SAM7 USART based ISO7816-3 T=0 snifferHarald Welte2010-11-146-2/+529
|
* enable USB string descriptorsHarald Welte2010-11-141-1/+1
|
* disable USB EP0 debuggingHarald Welte2010-11-141-1/+1
|
* Use smaller number of request contexts on a SAM64Harald Welte2010-11-131-0/+5
|
* On the Olimex board, the buttons are low-activeHarald Welte2010-11-131-1/+7
| | | | | Thus, we need to invert our check during the dfu / main dual boot decision
* AT91SAM7S: Fix linker script (stack) for 64kByte flash versionHarald Welte2010-11-131-1/+1
|
* mark _ctype as const to be able to put it in flashHarald Welte2010-11-132-2/+2
|
* add linker scripts for AT91SAM7S64 (64kByte flash / 16kByte RAM) variantHarald Welte2010-11-122-0/+210
|
* fix STAT_ERR/STAT_IRQ bit definition error in RC632 STATUS register definitionlaforge2008-05-241-2/+2
| | | | git-svn-id: https://svn.openpcd.org:2342/trunk@478 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* * move usb descriptors into separate file (src/os/usb_descriptors_openpcd.h)laforge2008-02-237-98/+556
| | | | | | | * add USB HID skeleton git-svn-id: https://svn.openpcd.org:2342/trunk@426 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* allow GETSTATE and GETSTATUS requests in MANIFEST state (compatibility with ↵laforge2008-02-171-3/+19
| | | | | | dfu-util) git-svn-id: https://svn.openpcd.org:2342/trunk@413 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* fix USB strings: OpenPCD is a RFID Reader, not a simulatorlaforge2008-02-172-2/+2
| | | | git-svn-id: https://svn.openpcd.org:2342/trunk@412 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* add rc632 eeprom write functionlaforge2008-02-081-0/+51
| | | | git-svn-id: https://svn.openpcd.org:2342/trunk@407 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* add more rc632 register definitions (from librfid)laforge2008-02-081-4/+38
| | | | git-svn-id: https://svn.openpcd.org:2342/trunk@406 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* update README with correct compile instrucitons, refer to wikilaforge2008-02-081-1/+6
| | | | git-svn-id: https://svn.openpcd.org:2342/trunk@405 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* make sure librfid is used when compiling main_mifarelaforge2008-01-221-0/+4
| | | | git-svn-id: https://svn.openpcd.org:2342/trunk@401 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* Add watchdog reset to dfuhenryk2007-11-071-1/+8
| | | | git-svn-id: https://svn.openpcd.org:2342/trunk@314 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* main_presence initial check in - continuous scanning for new tag idmeri2007-04-103-0/+171
| | | | git-svn-id: https://svn.openpcd.org:2342/trunk@306 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* make sure that WDT_DEBUG is undefinedmeri2007-04-101-1/+3
| | | | git-svn-id: https://svn.openpcd.org:2342/trunk@305 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* changed to default AT91SAM7S128 for OpenPCDmeri2007-04-101-1/+1
| | | | git-svn-id: https://svn.openpcd.org:2342/trunk@304 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
personal git repositories of Harald Welte. Your mileage may vary