bushing [Tue, 22 Dec 2009 12:35:36 +0000 (12:35 +0000)]
remove most of the references to translate.h
bushing [Tue, 22 Dec 2009 12:34:24 +0000 (12:34 +0000)]
change usb_cmd struct to be more sane
wean ourselves off translate.h
bushing [Tue, 22 Dec 2009 12:11:15 +0000 (12:11 +0000)]
merge linux and windows clients into one directory... will consolidate makefiles shortly
d18c7db [Tue, 15 Dec 2009 06:28:40 +0000 (06:28 +0000)]
Amontec JTAGKey config
henryk@ploetzli.ch [Sun, 13 Dec 2009 22:55:49 +0000 (22:55 +0000)]
Fix MPFR URL
henryk@ploetzli.ch [Sun, 13 Dec 2009 11:35:46 +0000 (11:35 +0000)]
Change gcc source URL
henryk@ploetzli.ch [Wed, 9 Dec 2009 02:31:01 +0000 (02:31 +0000)]
Add capability to correlate against subcarriers of 212kHz (argument FPGA_HF_READER_RX_XCORR_QUARTER_FREQ | FPGA_HF_READER_RX_XCORR_848_KHZ) and 106kHz (argument FPGA_HF_READER_RX_XCORR_QUARTER_FREQ)
henryk@ploetzli.ch [Thu, 3 Dec 2009 16:21:44 +0000 (16:21 +0000)]
Limit hexsamples to just the amount of requested samples
henryk@ploetzli.ch [Wed, 25 Nov 2009 20:41:41 +0000 (20:41 +0000)]
Add generic CRC calculation code
edouard@lafargue.name [Mon, 23 Nov 2009 09:34:57 +0000 (09:34 +0000)]
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.
d18c7db [Thu, 12 Nov 2009 08:04:40 +0000 (08:04 +0000)]
Fix define typo
d18c7db [Thu, 12 Nov 2009 07:23:12 +0000 (07:23 +0000)]
Also defines to carve out LF related code
henryk@ploetzli.ch [Tue, 10 Nov 2009 05:10:01 +0000 (05:10 +0000)]
#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
henryk@ploetzli.ch [Fri, 6 Nov 2009 15:37:53 +0000 (15:37 +0000)]
Add basic communication shell for Legic RF in reader mode. Needs the new receive function of hi_read_tx.
henryk@ploetzli.ch [Fri, 6 Nov 2009 15:36:57 +0000 (15:36 +0000)]
Jerry-rig a simply hysteresis based receiver into hi_read_tx. Output is via SSC_DIN, which wasn't used in that mode before.
henryk@ploetzli.ch [Thu, 5 Nov 2009 11:13:46 +0000 (11:13 +0000)]
Refactor things around to make it easier to add a reader mode with code reuse
henryk@ploetzli.ch [Sun, 25 Oct 2009 09:58:23 +0000 (09:58 +0000)]
Make canned responsed const
henryk@ploetzli.ch [Fri, 23 Oct 2009 21:40:17 +0000 (21:40 +0000)]
Simplify data types, now that I believe that 'frames' will always be rather short
d18c7db [Thu, 22 Oct 2009 20:21:12 +0000 (20:21 +0000)]
replaced strncasecmp with strcmp to get rid of compile errors
henryk@ploetzli.ch [Fri, 16 Oct 2009 22:07:00 +0000 (22:07 +0000)]
Fix and generify legic response code
henryk@ploetzli.ch [Mon, 12 Oct 2009 11:47:39 +0000 (11:47 +0000)]
Add basic LEGIC RF communication in tag simulation mode
henryk@ploetzli.ch [Mon, 12 Oct 2009 11:46:50 +0000 (11:46 +0000)]
Add defines for TIMER_CLOCK?
henryk@ploetzli.ch [Mon, 12 Oct 2009 07:46:03 +0000 (07:46 +0000)]
Add HF simulator modulation mode for 212kHz subcarrier
henryk@ploetzli.ch [Sun, 11 Oct 2009 18:40:44 +0000 (18:40 +0000)]
Fix commit 232, reenable GUI
henryk@ploetzli.ch [Fri, 9 Oct 2009 15:57:07 +0000 (15:57 +0000)]
Add command to manually set ADC mux source
d18c7db [Tue, 29 Sep 2009 12:13:41 +0000 (12:13 +0000)]
Pushed standard AT91 defines into main code
henryk@ploetzli.ch [Mon, 28 Sep 2009 11:29:17 +0000 (11:29 +0000)]
Rename at91sam7s512.h for case sensitive filesystems
d18c7db [Sun, 27 Sep 2009 20:46:47 +0000 (20:46 +0000)]
Change over to standard AT91 header file
d18c7db [Tue, 22 Sep 2009 09:57:03 +0000 (09:57 +0000)]
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.
henryk@ploetzli.ch [Sat, 19 Sep 2009 21:55:22 +0000 (21:55 +0000)]
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
adam@algroup.co.uk [Sat, 12 Sep 2009 08:11:24 +0000 (08:11 +0000)]
tool to find UIDs in bitstream
henryk@ploetzli.ch [Fri, 11 Sep 2009 02:25:48 +0000 (02:25 +0000)]
Change variable assignments to make it easier to compile static and/or x86 binaries
adam@algroup.co.uk [Thu, 10 Sep 2009 15:12:20 +0000 (15:12 +0000)]
fix mandemod initialisation and add Transit tag trace
henryk@ploetzli.ch [Wed, 9 Sep 2009 07:40:14 +0000 (07:40 +0000)]
Change flashos.bat for the new flash procedure
henryk@ploetzli.ch [Tue, 8 Sep 2009 15:40:22 +0000 (15:40 +0000)]
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
d18c7db [Tue, 8 Sep 2009 10:08:43 +0000 (10:08 +0000)]
Fixed up last gcc 4.1 and 4.4 warnings, added OpenOCD wiggler config
henryk@ploetzli.ch [Tue, 8 Sep 2009 02:36:50 +0000 (02:36 +0000)]
Hopefully correct code for C's strict aliasing rules
henryk@ploetzli.ch [Tue, 8 Sep 2009 00:37:13 +0000 (00:37 +0000)]
Change section_start pointer to char** to prevent aliasing warnings on old toolchain
d18c7db [Mon, 7 Sep 2009 09:53:45 +0000 (09:53 +0000)]
added eh_frame needed for gcc 4.4.1 or higher
d18c7db [Mon, 7 Sep 2009 09:03:45 +0000 (09:03 +0000)]
Updated the windows Makefile to be compatible with both nmake and make
henryk@ploetzli.ch [Sun, 6 Sep 2009 19:19:38 +0000 (19:19 +0000)]
Re-enable -Wall
henryk@ploetzli.ch [Sun, 6 Sep 2009 19:08:56 +0000 (19:08 +0000)]
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
henryk@ploetzli.ch [Sat, 5 Sep 2009 22:45:53 +0000 (22:45 +0000)]
Add make targets for flashing (Windows version untested)
henryk@ploetzli.ch [Sat, 5 Sep 2009 22:17:18 +0000 (22:17 +0000)]
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
adam@algroup.co.uk [Sat, 5 Sep 2009 13:11:31 +0000 (13:11 +0000)]
oops, missed a bit!
adam@algroup.co.uk [Sat, 5 Sep 2009 13:10:17 +0000 (13:10 +0000)]
fix wrong terminology - LRC/CRC and calulate result instead of matching (thanks Henryk!)
adam@algroup.co.uk [Sat, 5 Sep 2009 08:46:59 +0000 (08:46 +0000)]
clarify output
adam@algroup.co.uk [Sat, 5 Sep 2009 07:14:35 +0000 (07:14 +0000)]
tool to find correct byte for 8-bit XOR CRC
adam@algroup.co.uk [Wed, 2 Sep 2009 09:17:34 +0000 (09:17 +0000)]
enforce askdemod argument 0 or 1
d18c7db [Wed, 2 Sep 2009 08:30:22 +0000 (08:30 +0000)]
Updated windows client to handle new flashing method
adam@algroup.co.uk [Tue, 1 Sep 2009 23:17:57 +0000 (23:17 +0000)]
amp command - amplify sample peaks
henryk@ploetzli.ch [Tue, 1 Sep 2009 22:56:07 +0000 (22:56 +0000)]
Fix mkversion.pl for the case where the global svn revision is different from the last changed revision
henryk@ploetzli.ch [Tue, 1 Sep 2009 14:44:38 +0000 (14:44 +0000)]
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
henryk@ploetzli.ch [Tue, 1 Sep 2009 14:35:13 +0000 (14:35 +0000)]
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
henryk@ploetzli.ch [Tue, 1 Sep 2009 05:00:33 +0000 (05:00 +0000)]
Add defines for reset type
henryk@ploetzli.ch [Tue, 1 Sep 2009 04:59:52 +0000 (04:59 +0000)]
Fix argument check for the case of both and not fast
henryk@ploetzli.ch [Mon, 31 Aug 2009 14:52:59 +0000 (14:52 +0000)]
Eradicate all occurences of hardcoded memory addresses from all sources files, except for the FPGA bitstream fallback
henryk@ploetzli.ch [Mon, 31 Aug 2009 03:12:45 +0000 (03:12 +0000)]
Have the Windows batch files check for make
henryk@ploetzli.ch [Mon, 31 Aug 2009 00:47:12 +0000 (00:47 +0000)]
Add forgotten file
henryk@ploetzli.ch [Mon, 31 Aug 2009 00:37:29 +0000 (00:37 +0000)]
Add forgotten file
henryk@ploetzli.ch [Sun, 30 Aug 2009 22:35:12 +0000 (22:35 +0000)]
Make objcopy call less verbose
Add master Makefile
adam@algroup.co.uk [Sun, 30 Aug 2009 18:57:28 +0000 (18:57 +0000)]
maintain alphabetic order!
henryk@ploetzli.ch [Sat, 29 Aug 2009 06:14:28 +0000 (06:14 +0000)]
Only re-compile version.c as often as necessary
Make bootrom version information pointer a proper symbol (with hacky ld strangeness workaround)
henryk@ploetzli.ch [Fri, 28 Aug 2009 21:56:43 +0000 (21:56 +0000)]
Add command and code for bidirectional LF emulation of Hitag2. Should be extended for other types of tags
henryk@ploetzli.ch [Fri, 28 Aug 2009 21:54:47 +0000 (21:54 +0000)]
New FPGA code for bidirectional LF emulation
henryk@ploetzli.ch [Fri, 28 Aug 2009 21:53:54 +0000 (21:53 +0000)]
Add defines for the timer/counter peripheral
henryk@ploetzli.ch [Fri, 28 Aug 2009 07:31:36 +0000 (07:31 +0000)]
Our windows perl doesn't like use strict
henryk@ploetzli.ch [Fri, 28 Aug 2009 06:40:44 +0000 (06:40 +0000)]
Implement version information storage and retrieval for the bootrom and the osimage.
Use perl to create the version information (thereby re-creating the perl dependency and adding an svn dependency) but fall back in case of missing perl or svn
henryk@ploetzli.ch [Fri, 28 Aug 2009 02:40:22 +0000 (02:40 +0000)]
Trying automagic version stuff
henryk@ploetzli.ch [Fri, 28 Aug 2009 00:44:09 +0000 (00:44 +0000)]
Send Stall in response to USB SET FEATURE or CLEAR FEATURE requests. Speeds up device enumeration on linux by 10s.
henryk@ploetzli.ch [Fri, 28 Aug 2009 00:37:28 +0000 (00:37 +0000)]
Add version command
henryk@ploetzli.ch [Fri, 28 Aug 2009 00:36:02 +0000 (00:36 +0000)]
Jump to the correct physical address in Flash. (The comment was wrong, it never used RAM)
henryk@ploetzli.ch [Fri, 28 Aug 2009 00:35:27 +0000 (00:35 +0000)]
termcap is deprecated and doesn't seem to be needed anyway
henryk@ploetzli.ch [Thu, 27 Aug 2009 23:29:49 +0000 (23:29 +0000)]
Add Makefile for fpga directory (Windows codepath is untested, in any case, go.bat is still there)
Retire rbt2c.pl, instead use objcopy to directly convert the .bit file into an .o that can be linked with the flash image
Rename armsrc/fpga.c to armsrc/fpgaloader.c (since there is now a new fpga.o, created from fpga.bit)
Remove fpgaimg.c from subversion, add fpga.bit
Instead of creating fpgaimage.elf and osimage.elf separately, now create a joined fullimage.elf
first (obsoleting ldscript-full), then extract only the fpga and os sections with objcopy
(This creates unspecific warnings about an empty segment, need to investigate)
Implement a rudimentary .bit parser in the firmware, use that to locate the bitstream in the new
fpgaimage (which is just a plain copy of the fpga.bit file) and send it to the FPGA
The code will check the format that's in flash and fall back to the legacy format
henryk@ploetzli.ch [Thu, 27 Aug 2009 16:12:00 +0000 (16:12 +0000)]
(Our Windows ARM toolchain really likes its glue sections)
henryk@ploetzli.ch [Thu, 27 Aug 2009 16:07:35 +0000 (16:07 +0000)]
Add a common linker script with the memory map for the complete project
Use the correct physical addresses in the memory map, and instead translate the addresses during postprocessing with objcopy
henryk@ploetzli.ch [Thu, 27 Aug 2009 04:46:31 +0000 (04:46 +0000)]
The older gnuarm in the windows toolchain seems to need the glue_7t section
henryk@ploetzli.ch [Thu, 27 Aug 2009 04:25:34 +0000 (04:25 +0000)]
Merge linker scripts in bootrom to have a single linker script for the bootloader proper (previously known as bootrom-merged.s19)
Remove the now unnecessary files (merge-srec.pl, ldscript-ram-jtag)
Note that this drops the dependency on perl for bootrom build, so end-users who don't touch the FPGA bitstream will not need perl anymore
henryk@ploetzli.ch [Wed, 26 Aug 2009 17:34:19 +0000 (17:34 +0000)]
Move most rules to Makefile.common
Add automatic dependency generation
Compile ISO14443 files in ARM mode, as was the case with the Linux Makefile before
henryk@ploetzli.ch [Wed, 26 Aug 2009 11:21:05 +0000 (11:21 +0000)]
Change make calls in the cockpit batch files
henryk@ploetzli.ch [Wed, 26 Aug 2009 11:17:05 +0000 (11:17 +0000)]
Consolidate Linux/Windows Makefiles into one, see http://www.proxmark.org/forum/topic/312/consolidating-makefile/
+ Needs GNU make for Windows, a new release of the Windows development environment will follow
+ Is based on the Windows Makefile, so will build everything in Thumb mode, doesn't have flash commands (yet)
adam@algroup.co.uk [Mon, 24 Aug 2009 12:20:54 +0000 (12:20 +0000)]
switch off reader field after hi14areader command
adam@algroup.co.uk [Mon, 24 Aug 2009 12:09:43 +0000 (12:09 +0000)]
fix Mifare AUTH for hi14areader command
henryk@ploetzli.ch [Wed, 19 Aug 2009 23:35:35 +0000 (23:35 +0000)]
Add pretty field strength lights for ListenReaderField() also in LF mode.
d18c7db [Tue, 11 Aug 2009 10:05:52 +0000 (10:05 +0000)]
Junk Eclipse environment files. Not source code.
skamkar [Sat, 8 Aug 2009 07:43:57 +0000 (07:43 +0000)]
unnecessary
skamkar [Sat, 8 Aug 2009 07:42:51 +0000 (07:42 +0000)]
detect usb or no usb for standalone mode [ryan]
skamkar [Sat, 8 Aug 2009 05:50:54 +0000 (05:50 +0000)]
look for binary data in other data
d18c7db [Thu, 6 Aug 2009 12:53:06 +0000 (12:53 +0000)]
Added tiread command to demod TI tags on the PM3
d18c7db [Wed, 5 Aug 2009 08:11:09 +0000 (08:11 +0000)]
Junk Eclipse environment files. Not source code.
skamkar [Tue, 4 Aug 2009 18:21:55 +0000 (18:21 +0000)]
compile in OS X
skamkar [Thu, 30 Jul 2009 22:09:36 +0000 (22:09 +0000)]
added ignores
skamkar [Thu, 30 Jul 2009 21:49:51 +0000 (21:49 +0000)]
keri tag trace
edouard@lafargue.name [Thu, 30 Jul 2009 15:24:03 +0000 (15:24 +0000)]
Add checks in em4x50read to avoid segfaults in case loops go over the GraphTraceLen.
adam@algroup.co.uk [Wed, 29 Jul 2009 16:03:16 +0000 (16:03 +0000)]
[henryk] memory map for linux build
d18c7db [Wed, 29 Jul 2009 13:37:09 +0000 (13:37 +0000)]
Reduced the size of BigBuf to make more room for stack/vars
d18c7db [Tue, 28 Jul 2009 01:21:24 +0000 (01:21 +0000)]
fix crash in client when no buffer is loaded
d18c7db [Tue, 28 Jul 2009 01:03:09 +0000 (01:03 +0000)]
merge-srec.pl create proper S19 file with checksums.
d18c7db [Sat, 25 Jul 2009 11:47:43 +0000 (11:47 +0000)]
added tiwrite command, split LF code from appmain into lfops.c
adam@algroup.co.uk [Fri, 24 Jul 2009 02:30:08 +0000 (02:30 +0000)]
fast flash mode (button already held down) and both (os & fpga) flashing mode