Commit graph

1472 commits

Author SHA1 Message Date
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
henryk@ploetzli.ch
2e68bd4065 Add forgotten file 2009-08-31 00:37:29 +00:00
henryk@ploetzli.ch
db335b3de0 Make objcopy call less verbose
Add master Makefile
2009-08-30 22:35:12 +00:00
adam@algroup.co.uk
269a820f9e maintain alphabetic order! 2009-08-30 18:57:28 +00:00
henryk@ploetzli.ch
4271e82d56 Only re-compile version.c as often as necessary
Make bootrom version information pointer a proper symbol (with hacky ld strangeness workaround)
2009-08-29 06:14:28 +00:00
henryk@ploetzli.ch
0fa9ca5b53 Add command and code for bidirectional LF emulation of Hitag2. Should be extended for other types of tags 2009-08-28 21:56:43 +00:00
henryk@ploetzli.ch
802a36162a New FPGA code for bidirectional LF emulation 2009-08-28 21:54:47 +00:00
henryk@ploetzli.ch
aae8787c03 Add defines for the timer/counter peripheral 2009-08-28 21:53:54 +00:00
henryk@ploetzli.ch
3927b707bd Our windows perl doesn't like use strict 2009-08-28 07:31:36 +00:00
henryk@ploetzli.ch
8a6aec16d8 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
2009-08-28 06:40:44 +00:00
henryk@ploetzli.ch
42bc3be31c Trying automagic version stuff 2009-08-28 02:40:22 +00:00
henryk@ploetzli.ch
8e19377db1 Send Stall in response to USB SET FEATURE or CLEAR FEATURE requests. Speeds up device enumeration on linux by 10s. 2009-08-28 00:44:09 +00:00
henryk@ploetzli.ch
ba8a80b30c Add version command 2009-08-28 00:37:28 +00:00
henryk@ploetzli.ch
7af790aa03 Jump to the correct physical address in Flash. (The comment was wrong, it never used RAM) 2009-08-28 00:36:02 +00:00
henryk@ploetzli.ch
47c872f48f termcap is deprecated and doesn't seem to be needed anyway 2009-08-28 00:35:27 +00:00
henryk@ploetzli.ch
e73e717239 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
2009-08-27 23:29:49 +00:00
henryk@ploetzli.ch
391a974f53 (Our Windows ARM toolchain really likes its glue sections) 2009-08-27 16:12:00 +00:00
henryk@ploetzli.ch
2bfed17db2 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
2009-08-27 16:07:35 +00:00
henryk@ploetzli.ch
fb6e5aa863 The older gnuarm in the windows toolchain seems to need the glue_7t section 2009-08-27 04:46:31 +00:00
henryk@ploetzli.ch
8652988d62 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
2009-08-27 04:25:34 +00:00
henryk@ploetzli.ch
0fc0fca583 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
2009-08-26 17:34:19 +00:00
henryk@ploetzli.ch
97a82e8f36 Change make calls in the cockpit batch files 2009-08-26 11:21:05 +00:00
henryk@ploetzli.ch
7e931bbd32 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)
2009-08-26 11:17:05 +00:00
adam@algroup.co.uk
5435eb0ca2 switch off reader field after hi14areader command 2009-08-24 12:20:54 +00:00
adam@algroup.co.uk
093cbaf63e fix Mifare AUTH for hi14areader command 2009-08-24 12:09:43 +00:00
henryk@ploetzli.ch
bea2a8660e Add pretty field strength lights for ListenReaderField() also in LF mode. 2009-08-19 23:35:35 +00:00
d18c7db
a5d5146c48 Junk Eclipse environment files. Not source code. 2009-08-11 10:05:52 +00:00
skamkar
2ff385b2a8 unnecessary 2009-08-08 07:43:57 +00:00
skamkar
50722269b6 detect usb or no usb for standalone mode [ryan] 2009-08-08 07:42:51 +00:00
skamkar
14ac2f1ea0 look for binary data in other data 2009-08-08 05:50:54 +00:00
d18c7db
7381e8f2f2 Added tiread command to demod TI tags on the PM3 2009-08-06 12:53:06 +00:00
d18c7db
c0bc73bc35 Junk Eclipse environment files. Not source code. 2009-08-05 08:11:09 +00:00
skamkar
48e6e0a65a compile in OS X 2009-08-04 18:21:55 +00:00
skamkar
77d9355e65 added ignores 2009-07-30 22:09:36 +00:00
skamkar
3749f430e5 keri tag trace 2009-07-30 21:49:51 +00:00
edouard@lafargue.name
3628c31882 Add checks in em4x50read to avoid segfaults in case loops go over the GraphTraceLen. 2009-07-30 15:24:03 +00:00
adam@algroup.co.uk
890bf4be90 [henryk] memory map for linux build 2009-07-29 16:03:16 +00:00
d18c7db
0422e2a471 Reduced the size of BigBuf to make more room for stack/vars 2009-07-29 13:37:09 +00:00
d18c7db
f81c82c342 fix crash in client when no buffer is loaded 2009-07-28 01:21:24 +00:00
d18c7db
49209d37da merge-srec.pl create proper S19 file with checksums. 2009-07-28 01:03:09 +00:00
d18c7db
9bea179a71 added tiwrite command, split LF code from appmain into lfops.c 2009-07-25 11:47:43 +00:00
adam@algroup.co.uk
431ae7e0eb fast flash mode (button already held down) and both (os & fpga) flashing mode 2009-07-24 02:30:08 +00:00
adam@algroup.co.uk
ddbe6ff42e forgot the identification details 2009-07-23 15:33:34 +00:00
adam@algroup.co.uk
de79c8afc7 [ryan] home again cat tag traces 2009-07-23 15:21:57 +00:00
d18c7db
0c2ed92d87 Further additions to tidemod to differentiate between ro and rw tags and check crc validity. 2009-07-22 11:39:39 +00:00
adam@algroup.co.uk
1569d97730 buffclear should be available in offline mode 2009-07-22 01:49:54 +00:00