Commit graph

9117 commits

Author SHA1 Message Date
edouard@lafargue.name
c86cc30801 Added the new SRIX4K reading routine, thanks to jonor. Regression tested against SRI512 tags,
but I do not have SRIX4K tags to test this with.
2009-11-23 09:34:57 +00:00
d18c7db
e70140224f Fix define typo 2009-11-12 08:04:40 +00:00
d18c7db
c0d04e9540 Also defines to carve out LF related code 2009-11-12 07:23:12 +00:00
henryk@ploetzli.ch
b1083ec9f7 #ifdef out the calls to the ISO15693/14443/14443a functions so that the -D on the make command line actually can be used to reduce code size 2009-11-10 05:10:01 +00:00
henryk@ploetzli.ch
dcc10e5e31 Add basic communication shell for Legic RF in reader mode. Needs the new receive function of hi_read_tx. 2009-11-06 15:37:53 +00:00
henryk@ploetzli.ch
24fe4dffb4 Jerry-rig a simply hysteresis based receiver into hi_read_tx. Output is via SSC_DIN, which wasn't used in that mode before. 2009-11-06 15:36:57 +00:00
henryk@ploetzli.ch
add16a6287 Refactor things around to make it easier to add a reader mode with code reuse 2009-11-05 11:13:46 +00:00
henryk@ploetzli.ch
4014b814fb Make canned responsed const 2009-10-25 09:58:23 +00:00
henryk@ploetzli.ch
ccedd6ae6b Simplify data types, now that I believe that 'frames' will always be rather short 2009-10-23 21:40:17 +00:00
d18c7db
ec81f90ec3 replaced strncasecmp with strcmp to get rid of compile errors 2009-10-22 20:21:12 +00:00
henryk@ploetzli.ch
aac23b2434 Fix and generify legic response code 2009-10-16 22:07:00 +00:00
henryk@ploetzli.ch
a7247d858b Add basic LEGIC RF communication in tag simulation mode 2009-10-12 11:47:39 +00:00
henryk@ploetzli.ch
bb4d2cca76 Add defines for TIMER_CLOCK? 2009-10-12 11:46:50 +00:00
henryk@ploetzli.ch
ecf53cb215 Add HF simulator modulation mode for 212kHz subcarrier 2009-10-12 07:46:03 +00:00
henryk@ploetzli.ch
789d706a7d Fix commit 232, reenable GUI 2009-10-11 18:40:44 +00:00
henryk@ploetzli.ch
5fc8250f7f Add command to manually set ADC mux source 2009-10-09 15:57:07 +00:00
d18c7db
6949aca9fa Pushed standard AT91 defines into main code 2009-09-29 12:13:41 +00:00
henryk@ploetzli.ch
5d32e2bf60 Rename at91sam7s512.h for case sensitive filesystems 2009-09-28 11:29:17 +00:00
d18c7db
aafd94b868 Change over to standard AT91 header file 2009-09-27 20:46:47 +00:00
d18c7db
d3ae0de746 Small changes to some armsrc makefile to allow conditional compilation of various protocols via defines, change winsrc makefile to allow override of compiler location via external defines, finally change fpgaloader to actually check that the image upload succeeded instead of just blindly sending it and hoping for the best. 2009-09-22 09:57:03 +00:00
henryk@ploetzli.ch
c3adc9fd60 Create a stamp file for download completion so that it won't have to be redone later
Unpack newlib before compiling gcc, fixes the bug where header files were not installed
2009-09-19 21:55:22 +00:00
adam@algroup.co.uk
a93bd81d88 tool to find UIDs in bitstream 2009-09-12 08:11:24 +00:00
henryk@ploetzli.ch
709b784c16 Change variable assignments to make it easier to compile static and/or x86 binaries 2009-09-11 02:25:48 +00:00
adam@algroup.co.uk
ac86b65681 fix mandemod initialisation and add Transit tag trace 2009-09-10 15:12:20 +00:00
henryk@ploetzli.ch
ccb6ae9169 Change flashos.bat for the new flash procedure 2009-09-09 07:40:14 +00:00
henryk@ploetzli.ch
1b2c893632 Fix data segement. You may now use stuff like int foo = 1; in global context (as opposed to both int foo = 0; which is bss and const int foo = 1; which is rodata) without having the sky come
crashing down
2009-09-08 15:40:22 +00:00
d18c7db
715d74c5be Fixed up last gcc 4.1 and 4.4 warnings, added OpenOCD wiggler config 2009-09-08 10:08:43 +00:00
henryk@ploetzli.ch
45dcfac2cc Hopefully correct code for C's strict aliasing rules 2009-09-08 02:36:50 +00:00
henryk@ploetzli.ch
9dbe0941fd Change section_start pointer to char** to prevent aliasing warnings on old toolchain 2009-09-08 00:37:13 +00:00
d18c7db
57fcd2d7d1 added eh_frame needed for gcc 4.4.1 or higher 2009-09-07 09:53:45 +00:00
d18c7db
a8120704f7 Updated the windows Makefile to be compatible with both nmake and make 2009-09-07 09:03:45 +00:00
henryk@ploetzli.ch
d4086fe2b7 Re-enable -Wall 2009-09-06 19:19:38 +00:00
henryk@ploetzli.ch
bb03181744 Fix FPGA load code for the generic case where a new style bitstream is not DWORD aligned
Completely switch to byte-wise load, shouldn't make much of a difference since this is not timing-critical
2009-09-06 19:08:56 +00:00
henryk@ploetzli.ch
64b8119836 Add make targets for flashing (Windows version untested) 2009-09-05 22:45:53 +00:00
henryk@ploetzli.ch
83288efc7d Remove unused code from hitag2.c
Mark intermittently used code in iso15693.c as attribute unused
Change CFLAGS to -Werror to enforce warning free code
2009-09-05 22:17:18 +00:00
adam@algroup.co.uk
7cea81eea6 oops, missed a bit! 2009-09-05 13:11:31 +00:00
adam@algroup.co.uk
98af9ddf8c fix wrong terminology - LRC/CRC and calulate result instead of matching (thanks Henryk!) 2009-09-05 13:10:17 +00:00
adam@algroup.co.uk
c5847014fd clarify output 2009-09-05 08:46:59 +00:00
adam@algroup.co.uk
4962d41420 tool to find correct byte for 8-bit XOR CRC 2009-09-05 07:14:35 +00:00
adam@algroup.co.uk
c2c80de8ab enforce askdemod argument 0 or 1 2009-09-02 09:17:34 +00:00
d18c7db
3cc63bdf91 Updated windows client to handle new flashing method 2009-09-02 08:30:22 +00:00
adam@algroup.co.uk
523f4c90a1 amp command - amplify sample peaks 2009-09-01 23:17:57 +00:00
henryk@ploetzli.ch
4f3bd9738f Fix mkversion.pl for the case where the global svn revision is different from the last changed revision 2009-09-01 22:56:07 +00:00
henryk@ploetzli.ch
8fcbf652da New bootrom
+ Add common area at end of RAM to communicate between main os and bootrom
+ Lower stack end to make room for common area
+ Implement CMD_DEVICE_INFO in both OS and bootrom to give information about the current state and supported features
+ Allow hands-free firmware update: When CMD_START_FLASH is received over USB in OS mode, the device will reset and enter the bootrom
  Pressing the button in hands-free update mode takes precedence: releasing the button will immediately abort firmware update and 
  perform a reset. Do not press the button.
+ Require each flash sequence to be preceded by a CMD_START_FLASH to set up the boundaries for the following flash sequence
  Not compatible with linux flasher before SVN revision 200
  Currently no compatible flasher for Windows. WINDOWS USERS: DO NOT UPDATE YOUR BOOTROM YET
+ Protect bootrom flash area unless magic unlock sequence is given in CMD_START_FLASH
2009-09-01 14:44:38 +00:00
henryk@ploetzli.ch
a5b1ba2023 New flash tool, needs to be ported to Windows.
+ [f]ast is gone, current mode will be autodetected
+ uses hands-free firmware update if supported by the bootrom (to be committed)
+ uses new bootrom safety features against accidental misflashes (to be committed)
+ supports S19 files with base address 0x0 or base address 0x100000
+ supports old bootroms which expect 0x0 and new bootroms which expect 0x100000 (to be committed)
+ new argument style: first argument is comma-separated (no spaces!) list of partition names, remaining arguments are file names
  os and fpga may be abbreviated, bootrom must be given in full
  Examples:   ./flasher os ../armsrc/obj/osimage.s19
              ./flasher bootrom,o,f ../bootrom/obj/bootrom.s19 ../armsrc/obj/osimage.s19 ../armsrc/obj/fpgaimage.s19
2009-09-01 14:35:13 +00:00
henryk@ploetzli.ch
d5d42c0a4b Add defines for reset type 2009-09-01 05:00:33 +00:00
henryk@ploetzli.ch
0c13c669cf Fix argument check for the case of both and not fast 2009-09-01 04:59:52 +00:00
henryk@ploetzli.ch
e3ae025783 Eradicate all occurences of hardcoded memory addresses from all sources files, except for the FPGA bitstream fallback 2009-08-31 14:52:59 +00:00
henryk@ploetzli.ch
52b3d184ce Have the Windows batch files check for make 2009-08-31 03:12:45 +00:00
henryk@ploetzli.ch
3742d90563 Add forgotten file 2009-08-31 00:47:12 +00:00