summaryrefslogtreecommitdiff
path: root/firmware/src
Commit message (Collapse)AuthorAgeFilesLines
* DFU: Support re-flashing of DFU via DFUHarald Welte2011-07-301-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 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-302-0/+224
| | | | This also adds a new 'main_factory' target for simtrace
* add new RUN_FROM_RAM run-mode for direct DFU-to-RAM supportHarald Welte2011-07-302-1/+3
|
* 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-173-8/+58
|
* simtrace: add support for the analog bus switchHarald Welte2011-06-164-2/+94
|
* simtrace: add more definitions regarding real hw prototypeHarald Welte2011-06-162-1/+22
|
* 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
|
* add missing usb_strings_dfu.txt file to simtrace directoryHarald Welte2010-12-091-0/+5
|
* simtrace: Make sure ATR is sent in its own RCTX and we re-allocate in timeHarald Welte2010-11-211-1/+11
|
* 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-186-80/+292
|
* simtrace: introduce RST pin handlingHarald Welte2010-11-141-12/+32
|
* Initial version of a SAM7 USART based ISO7816-3 T=0 snifferHarald Welte2010-11-145-2/+526
|
* 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
* * move usb descriptors into separate file (src/os/usb_descriptors_openpcd.h)laforge2008-02-235-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 ↵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 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-101-0/+163
| | | | 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
* add power control function definitionmeri2007-04-101-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 inclusionmeri2007-04-101-4/+4
| | | | git-svn-id: https://svn.openpcd.org:2342/trunk@301 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* deleted unsused filesmeri2007-04-102-75/+0
| | | | git-svn-id: https://svn.openpcd.org:2342/trunk@299 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* added blinking green LED to visualize USB inner loop activity - important to ↵meri2007-04-101-1/+12
| | | | | | verify that OpenPCD is stil lrunning git-svn-id: https://svn.openpcd.org:2342/trunk@298 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* added watchdog time support and debouncing on power-cyclemeri2007-04-103-10/+12
| | | | git-svn-id: https://svn.openpcd.org:2342/trunk@297 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* removed ugly CR/LFmeri2007-04-101-25/+25
| | | | git-svn-id: https://svn.openpcd.org:2342/trunk@296 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* added several new USB commands: remote reset, API version and read/write ↵meri2007-04-102-9/+90
| | | | | | volatile flash environment git-svn-id: https://svn.openpcd.org:2342/trunk@295 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* moved flash code to seperate filemeri2007-04-103-2/+75
| | | | git-svn-id: https://svn.openpcd.org:2342/trunk@294 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* introduce constant DA_BASELINE for DAC default valuelaforge2006-12-191-2/+4
| | | | git-svn-id: https://svn.openpcd.org:2342/trunk@291 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* - modify SSC code to again use tc_cdiv_sync for bitclock synchronizationlaforge2006-12-182-36/+43
| | | | git-svn-id: https://svn.openpcd.org:2342/trunk@289 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* - temporarily disable FDT since it's not needed yetlaforge2006-12-181-1/+1
| | | | git-svn-id: https://svn.openpcd.org:2342/trunk@288 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* - iterate over all PIO, not only starting from 27 ?!?laforge2006-12-181-1/+2
| | | | | | | - add debug message when registering callback git-svn-id: https://svn.openpcd.org:2342/trunk@287 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* add DAC driver that was missed two commits agolaforge2006-12-182-0/+77
| | | | git-svn-id: https://svn.openpcd.org:2342/trunk@285 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* add void AT91F_DBGU_Fini prototype to header filelaforge2006-12-181-0/+1
| | | | git-svn-id: https://svn.openpcd.org:2342/trunk@284 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
personal git repositories of Harald Welte. Your mileage may vary