aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2006-09-22fix a wrong memset length (we want length of atqa, not length of the pointer ↵laforge1-1/+1
to it). git-svn-id: https://svn.openpcd.org:2342/trunk@216 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-21DFU works (fix various bugs such as forgetting to shift the page number, ↵laforge7-93/+176
checking for invalid page numbers, off-by-one error in flash page calculation, etc.) git-svn-id: https://svn.openpcd.org:2342/trunk@215 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-21some code cleanuplaforge1-7/+15
git-svn-id: https://svn.openpcd.org:2342/trunk@214 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-21use POSITIVE_EDGE as a workaround to the irq storm if HIGH_LEVEL is used. ↵laforge1-1/+5
This basically disables any input from the dbgu serial port, but we don't need it in DFU anyway. git-svn-id: https://svn.openpcd.org:2342/trunk@213 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-21add some debugging output to flash_page()laforge1-1/+6
git-svn-id: https://svn.openpcd.org:2342/trunk@212 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-20add dfu flash header filelaforge1-0/+4
git-svn-id: https://svn.openpcd.org:2342/trunk@211 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-20- add support for flashing to DFUlaforge4-54/+59
git-svn-id: https://svn.openpcd.org:2342/trunk@210 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-20re-set SAK during every chaining iteration (Henryk Ploetz)laforge1-0/+1
git-svn-id: https://svn.openpcd.org:2342/trunk@209 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-20- Add OpenPICC register definition (and USB command handling)laforge28-186/+486
- Add automatic generation of include/compile.h with svn revision and compiletime - Add openpcd_compile_version structure to obtain version via USB - Move LED commands into new CMD_CLS_GENERIC family - Update TODO - Add support for large (2048 byte) request contexts in addition to 64byte - Shrink req_ctx size by collapsing rx and tx buffer into one - move definition of DFU_API_LOCATION to header file - Implement large req_ctx aware USB transmit / refill routines - Implement TX refilling for IRQ Endpoint - Print version information at startup time - move some generic req_ctx processing into usb_handler.c - Some further work on DFU (still not finished) - Only use '-Os' for DFU, use '-O2' for application code git-svn-id: https://svn.openpcd.org:2342/trunk@208 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-20- fix linker scripts and Cstartup.S to correctly relocate shared datalaforge3-3/+5
git-svn-id: https://svn.openpcd.org:2342/trunk@207 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-20fix _edata_shared address definition laforge2-4/+2
git-svn-id: https://svn.openpcd.org:2342/trunk@206 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-20- fix relocation of _data_shared segmentlaforge3-12/+40
git-svn-id: https://svn.openpcd.org:2342/trunk@205 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-20- add linker scripts for SAM7S128laforge3-1/+113
- use S128 linker script if we build DFU for PCD git-svn-id: https://svn.openpcd.org:2342/trunk@204 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-20Add DFU debugging capabilities (makes DFU compile if DEBUG=1)laforge2-0/+160
git-svn-id: https://svn.openpcd.org:2342/trunk@203 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-20- add some more flash related definitionslaforge1-8/+4
git-svn-id: https://svn.openpcd.org:2342/trunk@202 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-20- implement some more missing DFU bitslaforge6-35/+145
- add debugging support to DFU - introduce a auto-generated compile.h to add reviison number/... to firmware git-svn-id: https://svn.openpcd.org:2342/trunk@201 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-20move flash code into dfulaforge1-0/+0
git-svn-id: https://svn.openpcd.org:2342/trunk@200 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-20fix location of dfu_apilaforge1-1/+1
git-svn-id: https://svn.openpcd.org:2342/trunk@199 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-17fix typo (Henryk Ploetz)laforge1-1/+1
git-svn-id: https://svn.openpcd.org:2342/trunk@198 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-14add flash size definitions for AT91SAM7S64/32, correct/complete those for ↵laforge1-8/+24
S128/S256 git-svn-id: https://svn.openpcd.org:2342/trunk@197 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-14spi_transceive cannot work without a rx_buffer due to hardware restrictions ↵laforge1-4/+2
(Bug report by Henryk Ploetz) git-svn-id: https://svn.openpcd.org:2342/trunk@196 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-13add GPL disclaimer to all C files that I wrotelaforge37-33/+949
git-svn-id: https://svn.openpcd.org:2342/trunk@195 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-13Completely separate DFU from application program, we now have a real bootloader.laforge13-203/+1056
DFU occupies 0x00100000 - 0x00100fff in flash, application starts at 0x00101000. DFU also occupies the first couple of bytes in SRAM, application starts at 0x00200024. In order to produce a samba-flashable image, first build dfu.bin by typing 'make -f Makefule.dfu', succeeded by 'make TARGET=... DEBUG=... BOARD=...' and then concatenating the two files together, e.g. cat dfu.bin main_reqa.bin > flash.bin. Actual flashing via DFU is still not operational, but will be implemented next git-svn-id: https://svn.openpcd.org:2342/trunk@194 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-12move to new directorylaforge22-0/+0
git-svn-id: https://svn.openpcd.org:2342/trunk@193 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-12move to new directorylaforge16-0/+0
git-svn-id: https://svn.openpcd.org:2342/trunk@192 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-12move to new directorylaforge113-0/+0
git-svn-id: https://svn.openpcd.org:2342/trunk@191 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-12- we now have two interfaces in the USB device(no author)1-2/+2
git-svn-id: https://svn.openpcd.org:2342/trunk@190 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-12- add SSC READ and LOOP commands(no author)1-3/+14
git-svn-id: https://svn.openpcd.org:2342/trunk@189 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-12add some more documentation / notes(no author)4-0/+267
git-svn-id: https://svn.openpcd.org:2342/trunk@188 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-12usb performance benchmark(no author)1-0/+55
git-svn-id: https://svn.openpcd.org:2342/trunk@187 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-12add some WDT skeleton code(no author)1-0/+23
git-svn-id: https://svn.openpcd.org:2342/trunk@186 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-12some more debug related options (PLL lock status, button status, ssc ↵(no author)1-8/+48
start/stop, slave_reset) git-svn-id: https://svn.openpcd.org:2342/trunk@185 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-12optimize for size, rather than performance(no author)1-1/+1
git-svn-id: https://svn.openpcd.org:2342/trunk@184 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-12pio_irq USB access(no author)3-20/+67
git-svn-id: https://svn.openpcd.org:2342/trunk@183 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-12- fix bootloader switch detection(no author)5-6/+34
git-svn-id: https://svn.openpcd.org:2342/trunk@182 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-12further development of PICC ADC and SSC drivers(no author)2-28/+75
git-svn-id: https://svn.openpcd.org:2342/trunk@181 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-12base address of SPI controller is 'const'(no author)1-1/+1
git-svn-id: https://svn.openpcd.org:2342/trunk@180 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-10- don't configure PA15 as MISO, since poti's are write-only(no author)1-1/+1
git-svn-id: https://svn.openpcd.org:2342/trunk@179 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-10enable clock of TC2 before configuring it(no author)1-0/+3
git-svn-id: https://svn.openpcd.org:2342/trunk@178 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-10- Add notification in case PLL PIO status changes (serial + LED1)(no author)1-0/+16
git-svn-id: https://svn.openpcd.org:2342/trunk@177 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-10Further PIO IRQ fixes(no author)2-10/+22
git-svn-id: https://svn.openpcd.org:2342/trunk@176 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-10- Introduce new "BOARD=" make parameter to distinguish between PICC and PCD PIO(no author)2-9/+35
- Fix PIO assignments to accomodate post-production change in PICC schematics git-svn-id: https://svn.openpcd.org:2342/trunk@175 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-10remove DFU specfic part that is replicated in dfu.c(no author)1-6/+0
git-svn-id: https://svn.openpcd.org:2342/trunk@174 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-10make PWM 'main' build with current environment (no author)1-4/+13
git-svn-id: https://svn.openpcd.org:2342/trunk@173 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-10add PWM and load modulation to main_openpicc (no author)3-15/+119
git-svn-id: https://svn.openpcd.org:2342/trunk@172 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-10use SPI controllers internal timeout(no author)2-8/+21
git-svn-id: https://svn.openpcd.org:2342/trunk@171 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-10move PWM code to OS(no author)1-0/+0
git-svn-id: https://svn.openpcd.org:2342/trunk@170 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-10move PWM code to OS(no author)1-0/+0
git-svn-id: https://svn.openpcd.org:2342/trunk@169 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-10add PLL inhibit support code for PICC(no author)4-31/+47
git-svn-id: https://svn.openpcd.org:2342/trunk@168 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
2006-09-10add unfinished code to read ADC(no author)1-1/+15
git-svn-id: https://svn.openpcd.org:2342/trunk@167 6dc7ffe9-61d6-0310-9af1-9938baff3ed1