Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | dfu: udp_ep0_recv_clean is static and is not called anywhere | Holger Hans Peter Freyther | 2011-11-10 | 1 | -14/+0 |
| | |||||
* | dfu: The i variable to disable interrupts shadows the outer index | Holger Hans Peter Freyther | 2011-11-10 | 1 | -3/+3 |
| | | | | | | | | In case ram_app_entry() returns do not reset i to 32, otherwise we will never reset the watchdog. src/dfu/dfu.c:1077:7: warning: declaration of āiā shadows a previous local [-Wshadow] src/dfu/dfu.c:1068:6: warning: shadowed declaration is here [-Wshadow] | ||||
* | fix linking issue with latest binutils versionsv0.3 | Bjoern Kerler | 2011-10-21 | 1 | -1/+1 |
| | |||||
* | Fix fi/di calculation for certain mobiles like GT-S770 or HTC Raphael | Bjoern Kerler | 2011-10-21 | 1 | -3/+3 |
| | | | | | There were some mistakes while copying the tables from ISO 7816-3, and also a quite old version of 7816-3 was used. | ||||
* | SIMTRACE: ISO7816: Deal with ATR that don't have historical bytesv0.2 | Harald Welte | 2011-08-16 | 1 | -11/+21 |
| | | | | | In case there are no historical bytes, we immediately transition from the last TD byte into the WAIT_TCK or WAIT_APDU state. | ||||
* | ISO7816: Properly handle T=0 only cards without TCK in ATR | Harald Welte | 2011-08-16 | 1 | -1/+13 |
| | |||||
* | SIMTRACE UART: Reset error status on error related IRQ | Harald Welte | 2011-08-15 | 1 | -0/+9 |
| | | | | | This prevents an IRQ-flood after a parity or overrun error, which in turn would cause a watchdog reset. | ||||
* | simtrace UART: set INACK flag to make sure we ignore any parity error | Harald Welte | 2011-08-15 | 1 | -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... | ||||
* | DBGU: Print Reset controller Status Register on boot | Harald Welte | 2011-08-15 | 1 | -0/+4 |
| | | | | This helps us to discover _why_ the CPU has been rebooted. | ||||
* | USB: Add support for the 3rd DFU interface (RAM) | Harald Welte | 2011-08-15 | 1 | -0/+6 |
| | |||||
* | DFU: Fix execution of software that was loaded to RAM via DFUv0.1 | Harald Welte | 2011-07-30 | 1 | -8/+17 |
| | |||||
* | DFU: Support re-flashing of DFU via DFU | Harald Welte | 2011-07-30 | 1 | -16/+132 |
| | | | | | | | | | 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 load | Harald Welte | 2011-07-30 | 8 | -10/+36 |
| | | | | | This will allow us to load code directly into RAM without going through flash. | ||||
* | simtrace: add some early spi flash utility routines | Harald Welte | 2011-07-30 | 2 | -0/+224 |
| | | | | This also adds a new 'main_factory' target for simtrace | ||||
* | add new RUN_FROM_RAM run-mode for direct DFU-to-RAM support | Harald Welte | 2011-07-30 | 2 | -1/+3 |
| | |||||
* | sam7dfu: update copyright years | Harald Welte | 2011-07-29 | 1 | -1/+1 |
| | |||||
* | sam7dfu: make sure we can use USB reset to get from DFU -> APP | Harald Welte | 2011-07-29 | 1 | -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 data | Harald Welte | 2011-07-07 | 1 | -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 8 | Harald Welte | 2011-07-07 | 1 | -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-up | Harald Welte | 2011-06-30 | 1 | -18/+22 |
| | |||||
* | simtrace: switch VCC_SIM into output mode, as we use it to supply Vcc | Harald Welte | 2011-06-21 | 1 | -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 detection | Harald Welte | 2011-06-21 | 1 | -0/+19 |
| | |||||
* | simtrace: use better names for GPIO lines | Harald Welte | 2011-06-21 | 1 | -4/+5 |
| | |||||
* | simtrace: introduce mode sniffer / mitm switching | Harald Welte | 2011-06-17 | 3 | -8/+58 |
| | |||||
* | simtrace: add support for the analog bus switch | Harald Welte | 2011-06-16 | 4 | -2/+94 |
| | |||||
* | simtrace: add more definitions regarding real hw prototype | Harald Welte | 2011-06-16 | 2 | -1/+22 |
| | |||||
* | update USB strings (company name and some copy+paste mistakes) | Harald Welte | 2011-06-15 | 2 | -3/+3 |
| | |||||
* | typo: Fix typo, transform reqyests to requests. | Holger Hans Peter Freyther | 2011-01-31 | 7 | -7/+7 |
| | |||||
* | add missing usb_strings_dfu.txt file to simtrace directory | Harald Welte | 2010-12-09 | 1 | -0/+5 |
| | |||||
* | simtrace: Make sure ATR is sent in its own RCTX and we re-allocate in time | Harald Welte | 2010-11-21 | 1 | -1/+11 |
| | |||||
* | req_ctx: Increase size of small req_ctx to 128 and have 16 instead of 8 | Harald Welte | 2010-11-18 | 2 | -3/+3 |
| | | | | | This is required to deal with bursts in SIM comminication while using the SIMTRACE firmware | ||||
* | simtrace: fix problems causing bogus waiting time expirations | Harald Welte | 2010-11-18 | 1 | -1/+5 |
| | |||||
* | simtrace: Introduce code for proper handling of PTS / PPS | Harald Welte | 2010-11-18 | 1 | -12/+148 |
| | |||||
* | simtrace: add TC based waiting time counter, signal ATR / expiry via USB | Harald Welte | 2010-11-18 | 6 | -80/+292 |
| | |||||
* | simtrace: introduce RST pin handling | Harald Welte | 2010-11-14 | 1 | -12/+32 |
| | |||||
* | Initial version of a SAM7 USART based ISO7816-3 T=0 sniffer | Harald Welte | 2010-11-14 | 5 | -2/+526 |
| | |||||
* | enable USB string descriptors | Harald Welte | 2010-11-14 | 1 | -1/+1 |
| | |||||
* | disable USB EP0 debugging | Harald Welte | 2010-11-14 | 1 | -1/+1 |
| | |||||
* | Use smaller number of request contexts on a SAM64 | Harald Welte | 2010-11-13 | 1 | -0/+5 |
| | |||||
* | On the Olimex board, the buttons are low-active | Harald Welte | 2010-11-13 | 1 | -1/+7 |
| | | | | | Thus, we need to invert our check during the dfu / main dual boot decision | ||||
* | * move usb descriptors into separate file (src/os/usb_descriptors_openpcd.h) | laforge | 2008-02-23 | 5 | -97/+319 |
| | | | | | | | * 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 āµ | laforge | 2008-02-17 | 1 | -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 simulator | laforge | 2008-02-17 | 2 | -2/+2 |
| | | | | git-svn-id: https://svn.openpcd.org:2342/trunk@412 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 | ||||
* | add rc632 eeprom write function | laforge | 2008-02-08 | 1 | -0/+51 |
| | | | | git-svn-id: https://svn.openpcd.org:2342/trunk@407 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 | ||||
* | Add watchdog reset to dfu | henryk | 2007-11-07 | 1 | -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 id | meri | 2007-04-10 | 1 | -0/+163 |
| | | | | git-svn-id: https://svn.openpcd.org:2342/trunk@306 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 | ||||
* | make sure that WDT_DEBUG is undefined | meri | 2007-04-10 | 1 | -1/+3 |
| | | | | git-svn-id: https://svn.openpcd.org:2342/trunk@305 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 | ||||
* | add power control function definition | meri | 2007-04-10 | 1 | -2/+2 |
| | | | | git-svn-id: https://svn.openpcd.org:2342/trunk@302 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 | ||||
* | decreased USB debug verbosity to allow full debug code inclusion | meri | 2007-04-10 | 1 | -4/+4 |
| | | | | git-svn-id: https://svn.openpcd.org:2342/trunk@301 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 | ||||
* | deleted unsused files | meri | 2007-04-10 | 2 | -75/+0 |
| | | | | git-svn-id: https://svn.openpcd.org:2342/trunk@299 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 |