Commit Graph

258 Commits

Author SHA1 Message Date
(no author) 616c33c49c more fine-grained debugging primitives
git-svn-id: https://svn.openpcd.org:2342/trunk@58 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-30 10:10:36 +00:00
(no author) d8d8124fae don't use LOOPBACK on non-olimex boards
git-svn-id: https://svn.openpcd.org:2342/trunk@57 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-30 10:08:34 +00:00
(no author) 0a020d13e7 add definition for STALLSENT bit in UDP CSR register
git-svn-id: https://svn.openpcd.org:2342/trunk@56 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-30 10:06:26 +00:00
(no author) 2fdc766302 add definitions for likely/unlikely
git-svn-id: https://svn.openpcd.org:2342/trunk@55 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-30 10:05:49 +00:00
(no author) b17a2f6676 - remove duplicate definition
- add rc632_reg_irq_pin_cfg


git-svn-id: https://svn.openpcd.org:2342/trunk@54 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-29 13:21:14 +00:00
(no author) 9fff97cc84 don't go into reserved values
git-svn-id: https://svn.openpcd.org:2342/trunk@53 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-28 14:40:24 +00:00
(no author) 97b2018485 remove all traces of interrupt_utils.h
git-svn-id: https://svn.openpcd.org:2342/trunk@52 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-28 11:06:14 +00:00
(no author) 9d0d7022e5 - move all librfid-imported header files into include/librfid/
- import rfid_layer2_iso14443a.c from librfid
- fix definition of 14443A ATQA to be __attribute__((packed));
- fix SPI DMA routines (hopefully!)
- introduce new 'hexdump' function for creating hexdump debug output
- move clearing SPI/UDP interrupt code to end of function to prevent re-entrance
- declare spi_transceive() functions static
- add hexdump debug output to DMA spi_transceive
- remove tx_buf/rx_buf buffers and rather use spi_inbuf/spi_outbuf
- add new "main_analog.c" program to use 'q' and 'w' to select analog output
- increase interrupt stack to 1k
- add _main_dbgu() function to allow 'main' programs to extend supported dbgu cmds
- remove old DEBUG_TOGGLE_LED code from main.c
- print ATQA that is received after successful REQA transceive in main_reqa.c
- add OLIMEX make define so we can do "make TARGET=main_dumbreader OLIMEX=1"


git-svn-id: https://svn.openpcd.org:2342/trunk@51 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-28 11:03:33 +00:00
(no author) 5005887042 - re-enable MFIN/MFOUT code since #defines for PAxx are correct now
git-svn-id: https://svn.openpcd.org:2342/trunk@50 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-27 15:35:29 +00:00
(no author) 219d323116 fix MFIN/MFOUT definitions
git-svn-id: https://svn.openpcd.org:2342/trunk@49 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-27 15:27:08 +00:00
(no author) 952042d282 export turn_{on,off}_rf functions
git-svn-id: https://svn.openpcd.org:2342/trunk@48 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-25 09:44:51 +00:00
(no author) c73676920b export turn_{on,off}_rf() functions
git-svn-id: https://svn.openpcd.org:2342/trunk@47 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-25 09:44:04 +00:00
(no author) 92b5f96c44 - add some comments on what this code does
- more debugging output
- switch LED1(red) according to the result of the transceive operation


git-svn-id: https://svn.openpcd.org:2342/trunk@46 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-25 09:43:41 +00:00
(no author) dd0638d20e make rc632 API compatible with librfid. Import real librfid functions.
git-svn-id: https://svn.openpcd.org:2342/trunk@45 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-25 08:32:47 +00:00
(no author) b8b8c2f6b9 remove whitespace that causes problem
git-svn-id: https://svn.openpcd.org:2342/trunk@44 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-25 08:31:42 +00:00
(no author) b7e700b0bd dos2unix
git-svn-id: https://svn.openpcd.org:2342/trunk@43 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-25 08:29:26 +00:00
(no author) 0c1766f431 added support for "make program" (at91flash)
git-svn-id: https://svn.openpcd.org:2342/trunk@42 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-25 07:45:57 +00:00
(no author) 647b4f1ae2 updated linker files directory structure
git-svn-id: https://svn.openpcd.org:2342/trunk@41 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-25 07:28:16 +00:00
(no author) 3b8d883129 changed directory structure
git-svn-id: https://svn.openpcd.org:2342/trunk@40 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-25 07:26:19 +00:00
(no author) 9164ed9344 fixed linker/makefile & updated 'board.h'-concept
git-svn-id: https://svn.openpcd.org:2342/trunk@39 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-25 07:20:58 +00:00
(no author) 82327a2198 don't loopback :)
git-svn-id: https://svn.openpcd.org:2342/trunk@38 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-24 20:14:23 +00:00
(no author) 5ab655eb90 fix main_reqa build
git-svn-id: https://svn.openpcd.org:2342/trunk@37 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-24 19:58:35 +00:00
(no author) 500fb4be8a remaining changes after half-failing commit
git-svn-id: https://svn.openpcd.org:2342/trunk@36 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-24 18:53:34 +00:00
(no author) caf5000333 major rework
git-svn-id: https://svn.openpcd.org:2342/trunk@35 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-24 16:34:55 +00:00
(no author) 6556e87c2b - fix fifo read length
- use openpcd defines for endpoints


git-svn-id: https://svn.openpcd.org:2342/trunk@34 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-23 18:32:16 +00:00
(no author) 5d247b5958 fix clear bit
git-svn-id: https://svn.openpcd.org:2342/trunk@33 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-23 17:22:28 +00:00
(no author) 168cbe5ffd implement clear and set bit functions via usb
git-svn-id: https://svn.openpcd.org:2342/trunk@32 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-23 16:47:50 +00:00
(no author) 6f4beed83a add definitions for clear and set bit commands
git-svn-id: https://svn.openpcd.org:2342/trunk@31 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-23 16:47:32 +00:00
(no author) fe4d6ec252 add clear bits and set bits functions
git-svn-id: https://svn.openpcd.org:2342/trunk@30 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-23 16:47:18 +00:00
(no author) eca19c6f63 make sure DEBUGP macros work when -DDEBUG is not used
git-svn-id: https://svn.openpcd.org:2342/trunk@29 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-23 16:46:35 +00:00
(no author) 32b83e88df build for real hardware, not olimex develboard
git-svn-id: https://svn.openpcd.org:2342/trunk@28 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-23 16:46:17 +00:00
(no author) a607facacf implement help message, get and clear bit operations
git-svn-id: https://svn.openpcd.org:2342/trunk@27 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-23 16:45:39 +00:00
(no author) 327d426e30 - add RC632 Interrupt USB packet generation
- use new IRQ priority definitions


git-svn-id: https://svn.openpcd.org:2342/trunk@26 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-23 15:45:21 +00:00
(no author) e48e98964e add definition of IRQ "Command"
git-svn-id: https://svn.openpcd.org:2342/trunk@25 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-23 15:44:50 +00:00
(no author) 83a235b306 add interrupt priority definitions
git-svn-id: https://svn.openpcd.org:2342/trunk@24 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-23 15:44:32 +00:00
(no author) 071e2e6fc8 - message about not implemented VFIFO stuff
- fix length of read fifo packets


git-svn-id: https://svn.openpcd.org:2342/trunk@23 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-23 15:44:10 +00:00
(no author) 174bf894f8 - reset endpoint in case of CLEAR FEATURE request (data toggle!)
- fix endpoint numbering (if we have 0x01, we can't have 0x81)
- don't generate interrupts for EP2/EP3  (yet)
- correct use of DEBUGPCRF where applicable


git-svn-id: https://svn.openpcd.org:2342/trunk@22 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-23 14:36:04 +00:00
(no author) 880465ce17 - increase to 320kHz SPI clock rate
- enable SPI overflow interrupts


git-svn-id: https://svn.openpcd.org:2342/trunk@21 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-23 14:34:36 +00:00
(no author) da75ea5948 fix length of returned usb packet
git-svn-id: https://svn.openpcd.org:2342/trunk@20 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-23 14:33:32 +00:00
(no author) 2c303468af cosmetic cleanup of debug statements
git-svn-id: https://svn.openpcd.org:2342/trunk@19 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-23 13:25:01 +00:00
(no author) ae06ac82ca add host helper program to test OpenPCD
git-svn-id: https://svn.openpcd.org:2342/trunk@18 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-23 13:01:57 +00:00
(no author) 56fa0102a8 add pll calculation helper
git-svn-id: https://svn.openpcd.org:2342/trunk@17 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-23 13:01:34 +00:00
(no author) 94d184f816 further cleanup (remove separate rc632_debug.{c,h}
git-svn-id: https://svn.openpcd.org:2342/trunk@16 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-23 12:47:50 +00:00
(no author) 917b88ae09 clean up directory tree
git-svn-id: https://svn.openpcd.org:2342/trunk@15 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-23 12:45:43 +00:00
(no author) fc29838a76 add 256
git-svn-id: https://svn.openpcd.org:2342/trunk@14 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-23 12:44:18 +00:00
(no author) 0dca1ae728 f
git-svn-id: https://svn.openpcd.org:2342/trunk@13 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-23 12:43:21 +00:00
(no author) e71336c5d1 new include files
git-svn-id: https://svn.openpcd.org:2342/trunk@12 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-23 09:04:19 +00:00
(no author) ba38753683 new header files
git-svn-id: https://svn.openpcd.org:2342/trunk@11 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-23 08:58:17 +00:00
(no author) 5f148f59e7 - add S256 linker script
- add USB transmit routines
- connect usb OUT endpoint with parser / spi


git-svn-id: https://svn.openpcd.org:2342/trunk@10 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-22 14:24:58 +00:00
(no author) 413333331a fix spi
git-svn-id: https://svn.openpcd.org:2342/trunk@9 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-07-21 23:47:38 +00:00