Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add new RUN_FROM_RAM run-mode for direct DFU-to-RAM support | Harald Welte | 2011-07-30 | 4 | -3/+99 |
| | |||||
* | use gcc/ld flags -ffunction-sections and --gc-sections | Harald Welte | 2011-07-30 | 4 | -17/+17 |
| | | | | This will discard unused functions from the resulting binary | ||||
* | 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 | 4 | -8/+74 |
| | |||||
* | simtrace: add support for the analog bus switch | Harald Welte | 2011-06-16 | 5 | -3/+96 |
| | |||||
* | simtrace: add more definitions regarding real hw prototype | Harald Welte | 2011-06-16 | 4 | -1/+32 |
| | |||||
* | 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 |
| | |||||
* | vsprintf.c: Fix compilation by including limits.h | Holger Hans Peter Freyther | 2011-01-31 | 1 | -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 directory | Harald Welte | 2010-12-09 | 1 | -0/+5 |
| | |||||
* | AT91SAM7.h: Fix computation of AT91C_IFLASH_LOCK_REGION_SIZE | Harald Welte | 2010-11-21 | 1 | -1/+1 |
| | |||||
* | simtrace: Make sure ATR is sent in its own RCTX and we re-allocate in time | Harald Welte | 2010-11-21 | 1 | -1/+11 |
| | |||||
* | simtrace: Commit Makefile changes to support build of simtrace WARNING | Harald Welte | 2010-11-18 | 2 | -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 8 | Harald Welte | 2010-11-18 | 2 | -3/+3 |
| | | | | | This is required to deal with bursts in SIM comminication while using the SIMTRACE firmware | ||||
* | ausb: fix interrupt URB callback | Harald Welte | 2010-11-18 | 1 | -2/+14 |
| | |||||
* | 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 | 7 | -80/+316 |
| | |||||
* | ausb: make ausb_test compile again | Harald Welte | 2010-11-15 | 2 | -2/+2 |
| | |||||
* | 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 | 6 | -2/+529 |
| | |||||
* | 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 | ||||
* | AT91SAM7S: Fix linker script (stack) for 64kByte flash version | Harald Welte | 2010-11-13 | 1 | -1/+1 |
| | |||||
* | mark _ctype as const to be able to put it in flash | Harald Welte | 2010-11-13 | 2 | -2/+2 |
| | |||||
* | add linker scripts for AT91SAM7S64 (64kByte flash / 16kByte RAM) variant | Harald Welte | 2010-11-12 | 2 | -0/+210 |
| | |||||
* | fix STAT_ERR/STAT_IRQ bit definition error in RC632 STATUS register definition | laforge | 2008-05-24 | 1 | -2/+2 |
| | | | | git-svn-id: https://svn.openpcd.org:2342/trunk@478 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 | ||||
* | Make the diffmiller decoder a __ramfunc. Should severely increase decoder ↵ | henryk | 2008-05-22 | 2 | -2/+2 |
| | | | | | | speed (needs testing), but takes up 4k of RAM git-svn-id: https://svn.openpcd.org:2342/trunk@477 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 | ||||
* | Switch SSC DMA Tx buffer allocation to dynamic, frees about 16k of RAM (the ↵ | henryk | 2008-05-22 | 1 | -20/+46 |
| | | | | | | four static buffers took about 18k, the new dynamic allocations take about 2k) git-svn-id: https://svn.openpcd.org:2342/trunk@476 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 | ||||
* | Add code to change uid/nonce on the fly | henryk | 2008-04-28 | 1 | -0/+44 |
| | | | | git-svn-id: https://svn.openpcd.org:2342/trunk@475 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 | ||||
* | Check received length of the frame that is supposed to contain the PCD challenge | henryk | 2008-04-28 | 2 | -5/+30 |
| | | | | | | | Add code to get/set uid/nonce git-svn-id: https://svn.openpcd.org:2342/trunk@474 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 | ||||
* | Remove obsolete command | henryk | 2008-03-21 | 1 | -20/+0 |
| | | | | git-svn-id: https://svn.openpcd.org:2342/trunk@473 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 | ||||
* | Change inf for OpenPICC | henryk | 2008-03-18 | 1 | -6/+6 |
| | | | | git-svn-id: https://svn.openpcd.org:2342/trunk@472 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 | ||||
* | Add new hardware revision, make it the default | henryk | 2008-03-18 | 3 | -3/+15 |
| | | | | git-svn-id: https://svn.openpcd.org:2342/trunk@471 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 | ||||
* | Print error code in case of error | henryk | 2008-03-18 | 1 | -1/+3 |
| | | | | git-svn-id: https://svn.openpcd.org:2342/trunk@470 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 | ||||
* | set_nonce function | henryk | 2008-03-18 | 1 | -24/+35 |
| | | | | git-svn-id: https://svn.openpcd.org:2342/trunk@469 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 | ||||
* | this would be the more correct parity value | henryk | 2008-03-18 | 1 | -0/+1 |
| | | | | git-svn-id: https://svn.openpcd.org:2342/trunk@468 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 | ||||
* | Scale back the debug output | henryk | 2008-03-18 | 1 | -6/+38 |
| | | | | | | | Print UID, nonce and response git-svn-id: https://svn.openpcd.org:2342/trunk@467 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 | ||||
* | Scale back the debug output | henryk | 2008-03-18 | 1 | -1/+1 |
| | | | | git-svn-id: https://svn.openpcd.org:2342/trunk@466 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 | ||||
* | Remove performance print, it's blocking the IRQ too long which in turn will ↵ | henryk | 2008-03-18 | 1 | -0/+2 |
| | | | | | | | | | make the SSC TXSYN IRQ arrive late, which will make the SSC not switch to CONTINUOUS in time which will truncate all frames longer than 3.5 data bytes git-svn-id: https://svn.openpcd.org:2342/trunk@465 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 | ||||
* | Actually use the received data for the decision whether to send anticol frames | henryk | 2008-03-18 | 1 | -4/+8 |
| | | | | git-svn-id: https://svn.openpcd.org:2342/trunk@464 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 |