summaryrefslogtreecommitdiff
path: root/firmware/src
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* typo: Fix typo, transform reqyests to requests.Holger Hans Peter Freyther2011-01-316-6/+6
|
* 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
* - add new DAC driver (instead of poti) for PICClaforge2006-12-188-29/+110
| | | | | | | | | | | | | | - DFU: put all DEBUG_ defines in "#ifdef DEBUG" enclosure - alter GPIO defines for new OpenPICC v0.4 prototype - add new AT91F_DBGU_Fini() function - take care of new inverted USB pullip in OpenPICC v0.4 prototype - fix typo in 'opicc_reg_write' macro - add some more PICC related SSC code NOTE: this firmware is the first version that will _NOT_ run on a OpenPICC v0.3 anymore! (All changes by Henryk Ploetz) git-svn-id: https://svn.openpcd.org:2342/trunk@283 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* add some more debug statementslaforge2006-12-181-5/+6
| | | | git-svn-id: https://svn.openpcd.org:2342/trunk@281 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* add new 'main_mifare' firmware to demonstrate in-reader librfid mifarelaforge2006-11-281-0/+279
| | | | | | | | implementation. 'j' and 'k' keys on debug port can be switched to read different sectors. git-svn-id: https://svn.openpcd.org:2342/trunk@274 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* - add svn:ignore property to make 'svn st' output more realisticlaforge2006-10-1532-1983/+858
| | | | | | | | | | | | | | | | | | | | | - remove old copy+paste+edit port of parts of librfid - add ability to directly link librfid.a from mainline librfid - make usb string descriptors optional again (config.h) - fix TC_CDIV to reset correctly on swtrig (For OpenPICC) - temporarily re-implement ep0_send_data() in pcd_enumerate.c - make UDP_PUPv4 switching conditional to PCD - introduce DEBUG_UNBUFFERED define in dbgu.c - fix some signed/unsigned/typecast related compiler warnings - remove dead code from src/os/led.c - implement a 'mdelay' and 'usleep' stub function (FIXME!) - rename rc632_... functions into opcd_rc632_... to avoid confusion - introduce new 'main_librfid' TARGET - make main_{reqa,analog} work with librfid rather than old code - introduce mroe debugging options for FIQ handler code in Cstartup_app - lots of PICC work that doesn't need comments now git-svn-id: https://svn.openpcd.org:2342/trunk@266 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* - read fifo _length_, not fifo datalaforge2006-10-041-2/+1
| | | | git-svn-id: https://svn.openpcd.org:2342/trunk@262 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* v0.4 of the readers uses a different pin for the USB pulluplaforge2006-10-045-4/+25
| | | | git-svn-id: https://svn.openpcd.org:2342/trunk@261 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* - add read of serial number via usblaforge2006-10-041-2/+7
| | | | git-svn-id: https://svn.openpcd.org:2342/trunk@260 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* add feature to write full register setlaforge2006-10-041-1/+33
| | | | git-svn-id: https://svn.openpcd.org:2342/trunk@259 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* - first working tested version if system_irq demuxlaforge2006-10-045-57/+98
| | | | | | | | - fix minor issues with PIT timer code - make new led blinkcode implementation work git-svn-id: https://svn.openpcd.org:2342/trunk@257 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* move udp irq/refill back to flash for nowlaforge2006-10-042-4/+4
| | | | git-svn-id: https://svn.openpcd.org:2342/trunk@256 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* reduce number of large request contexts to four, should be sufficient for nowlaforge2006-10-041-1/+1
| | | | git-svn-id: https://svn.openpcd.org:2342/trunk@255 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* - add function to read RC632 serial number laforge2006-10-031-0/+14
| | | | git-svn-id: https://svn.openpcd.org:2342/trunk@254 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* - we have to respond with a STALL to SET_CONFIGURATIONlaforge2006-10-031-31/+33
| | | | | | | | | - add a comment about this strange fact - some code cleanup - add missing 'break' after end of GET_DESCRIPTOR USB_DT_DEVICE git-svn-id: https://svn.openpcd.org:2342/trunk@253 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* - add proper system interrupt (shared) demultiplexing codelaforge2006-10-017-16/+200
| | | | | | | - port debug unit, watchdog timer, periodic interval timer to system_irq.c git-svn-id: https://svn.openpcd.org:2342/trunk@252 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* synchronize bit clock based on software trigger (needed for cdiv_sync)laforge2006-10-011-1/+2
| | | | git-svn-id: https://svn.openpcd.org:2342/trunk@251 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* - add command to read rc632 serial number via USBlaforge2006-10-011-0/+11
| | | | git-svn-id: https://svn.openpcd.org:2342/trunk@250 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* add support for cdiv (sample clock) bit clock synchronizationlaforge2006-10-012-0/+108
| | | | git-svn-id: https://svn.openpcd.org:2342/trunk@248 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* re-define REQ_CTX_STATE_FREE != 0 to detect bugslaforge2006-10-011-1/+1
| | | | git-svn-id: https://svn.openpcd.org:2342/trunk@247 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* initialize req_ctx state as free.laforge2006-10-011-0/+1
| | | | git-svn-id: https://svn.openpcd.org:2342/trunk@246 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* clean up dbgu startup printout laforge2006-10-011-8/+8
| | | | git-svn-id: https://svn.openpcd.org:2342/trunk@245 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* split irq handler in two parts to make it callable from FIQlaforge2006-10-011-2/+10
| | | | git-svn-id: https://svn.openpcd.org:2342/trunk@244 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* - finish implementation of timers based on PITlaforge2006-10-014-1/+217
| | | | | | | - add [untested] code for timer-based LED blink codes git-svn-id: https://svn.openpcd.org:2342/trunk@242 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
* - add (currently inactive) code for the watch dog timerlaforge2006-09-303-5/+23
| | | | git-svn-id: https://svn.openpcd.org:2342/trunk@240 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
personal git repositories of Harald Welte. Your mileage may vary