Commit graph

13649 commits

Author SHA1 Message Date
henryk@ploetzli.ch
6c1e2d95f4 Add a ramfunc section in the data segment, which will be copied to ram on startup.
Add a RAMFUNC function attribute to have functions copied to and run from ram.
Fix "blew circular buffer" error in hf 14a snoop by executing SnoopIso14443a from ram (eats about 3.5k of ram)
2010-10-08 10:23:04 +00:00
henryk@ploetzli.ch
2c3685c26c BOOTROM CHANGE: Add jump to interrupt handler from Advanced Interrupt Controller.
This change is necessary for all IRQ functionality. If a future osimage needs IRQ functions, the bootloader must be updated to at least this version.
2010-09-10 22:34:24 +00:00
henryk@ploetzli.ch
d3b1f4e406 Flash green LED during sample transmission ("data samples" and "data hexsamples" commands) to indicate activity (and that the device hasn't hung) 2010-08-23 07:49:44 +00:00
adam@algroup.co.uk
534983d735 iso14a reader patches [Hagen Fritsch] 2010-07-13 13:39:30 +00:00
adam@algroup.co.uk
7e758047e4 iso14a cleanup and implement RATS [Hagen Fritsch] 2010-06-26 08:24:21 +00:00
adam@algroup.co.uk
6c45a008f5 bring snooper into line with new command format 2010-06-26 08:22:42 +00:00
adam@algroup.co.uk
602ac4d7c5 multiple proxmark device support [Mohamed Elsabagh] 2010-05-14 11:04:28 +00:00
adam@algroup.co.uk
bd84638614 create target for binary file archive (linux version) 2010-05-09 12:17:42 +00:00
adam@algroup.co.uk
3612a8a8e2 legic write/simulate [Anon] 2010-05-06 11:24:01 +00:00
adam@algroup.co.uk
538300eed8 legic code tidy up [Hagen Fritsch] 2010-05-04 14:31:54 +00:00
adam@algroup.co.uk
346ad5fbbb Fix linux GUI crash [Hagen Fritsch] 2010-04-20 08:22:05 +00:00
ksjoberg
15cdabd474 Fix issue 14: mandemod and lf em4x em410xread crashes the proxmark3 client app
This fix is quick-and-dirty since it only reduces the amount of stackspace allocated by changing the data type of the array to uint8_t instead of the 32 bit integers. The reduced number of bits is OK since only (at most) 2 of the available bits are used in each element.

At least array bit utilization is improved from 6.66% to 25% :)

Large structures such as these should probably be malloc()ed.
2010-04-06 13:41:37 +00:00
yobibe
33bf54cf3d Makefile: add explicit target to compile client only 2010-03-29 10:44:03 +00:00
yobibe
b38742c92c Fix small issue in make help 2010-03-29 10:36:26 +00:00
adam@algroup.co.uk
23e5d20eed strip trailing space in a more strictly correct place 2010-03-08 14:20:05 +00:00
adam@algroup.co.uk
9cb00f305c move trailing space stripping to client/proxmark3.c (per discussion on r426) 2010-03-08 09:16:28 +00:00
adam@algroup.co.uk
fcdfc43e1f strip trailing space(s) (may have been added by readline) 2010-03-07 15:25:48 +00:00
adam@algroup.co.uk
c6f1fb9dbd revert command offsets now leading spaces have been stripped (thanks iZsh!) 2010-03-06 08:01:08 +00:00
izsh@fail0verflow.com
035303ac5f client/cmdparser.c: Remove the leading spaces before calling the subparser. client/cmdlfhid.c: Modify accordingly. 2010-03-06 00:30:24 +00:00
adam@algroup.co.uk
f443ff3ebc fix id offset in hid simulate 2010-03-05 23:39:07 +00:00
d18c7db
72934aa313 Streamline some code, tidy up redundant functions, no change in functionality. 2010-03-05 04:14:04 +00:00
d18c7db
0aa4cfc2f1 Fix up small error in main osc startup delay and replace more custom defines with standard Atmel defines 2010-03-04 08:15:59 +00:00
marcansoft
9e84fd5b73 Fix FMCN setting so it actually matches datasheet
1.5us instead of 1us. 1us is only for fuse programming, not for regular
Flash programming.
2010-03-04 05:01:32 +00:00
izsh@fail0verflow.com
e7227419e5 Don't modify the PATH to prevent from mixing multiple arm-eabi compilers in the PATH 2010-03-04 00:33:05 +00:00
izsh@fail0verflow.com
ed82636b49 There is no proof this fix anything. This could just be out of randomness or subtle compiler optimization differences due to the change. 2010-03-04 00:30:54 +00:00
marcansoft
24b182d01b Remove 512k support, fix flash waitstates
512k chip support isn't complete anyway and the incorrect clock would've
ended up destroying Flash anyway. The 256k waitstates were set to 0,
which is outside the spec. Set them to 1, which is allowed.
2010-03-03 13:33:24 +00:00
marcansoft
928727a45b Use sane optimization for armsrc 2010-03-03 13:19:29 +00:00
d18c7db
96fdc9543f Updated BOM with current Digikey part numbers, deleted pricing info as it's volatile. 2010-03-03 05:38:08 +00:00
d18c7db
2f2002ad52 add svn ignore to .bash_history 2010-03-03 02:31:22 +00:00
d18c7db
bad6eab230 Fix possible type casting issue. Add another JTAG config file :) 2010-03-03 02:27:14 +00:00
d18c7db
86c35934fc Corrected erroneous bit masking 2010-02-28 05:30:26 +00:00
adam@algroup.co.uk
c2686a4997 fix Makefile for new flasher 2010-02-27 09:20:04 +00:00
adam@algroup.co.uk
09c1ce4bdd put arm-eabi compiler back on path for those that have followed devkitpro installation instructions 2010-02-27 09:05:03 +00:00
d18c7db
bd469288ab Added Eagle source files, replaced b/w schema and placement bitmap with combined colour pdf. 2010-02-27 01:45:50 +00:00
marcansoft
9af4835863 Add KEEP() to version information section
Prevents it from being garbage collected
2010-02-26 23:29:22 +00:00
marcansoft
7f7e715756 Add explicit PHDRs to bootrom to properly separate data and bss 2010-02-26 21:40:27 +00:00
marcansoft
9b87d273b5 Fix minor consistency issue in armsrc/ldscript
BSS should be AT>ram (though it really doesn't matter because load size
is 0)
2010-02-26 21:40:14 +00:00
marcansoft
86d3195518 Bootloader cleanup (UNTESTED!)
- Clean up bootloader asm
- Remove fromflash.c - it's not worth doing in C, do it in ASM
- Clean up linker script
- Force use of symbol inside bootphase2 (otherwise linker
  garbage-collects it)
- Link bootloader with gcc instead of ld
2010-02-26 15:14:47 +00:00
marcansoft
cc7580be7a Minor fix to armsrc ldscript 2010-02-26 15:14:27 +00:00
marcansoft
66d6ba7057 Get rid of flasher memory leak
Too bad the proxmark usb code still has a bajillion :(
2010-02-26 15:13:58 +00:00
marcansoft
0ae6234a5b Remove remnant junk and TODO -> FIXME 2010-02-26 14:08:54 +00:00
marcansoft
8fe1a992c7 New flasher, much more paranoid and much more correct.
Knows how to merge segments to solve the "data overwrites last text
block" issue.

Removed "partition" stuff. Now it just flashes any elf file you pass,
though there's still a -b option required to explicitly enable flashing
the bootloader.
2010-02-26 14:03:43 +00:00
marcansoft
98bf65a640 Fix up armsrc/ldscript (create proper PHDRs, cleanup)
Now explicitly creates PHDRs (to avoid including e.g. ELF headers inside
the first PHDR)
2010-02-26 14:03:21 +00:00
marcansoft
98540684df Link using gcc and get rid of the LIBGCC stuff
GCC knows how to find libgcc, and the proper way to link C code is to
use gcc, not ld.
2010-02-26 14:03:03 +00:00
marcansoft
b7913d8f4b Make version data const 2010-02-26 14:02:27 +00:00
marcansoft
85f2819c8a Add extra elf.h constants 2010-02-26 14:02:08 +00:00
marcansoft
4e3e51b612 Add beginnings of hopeful endian-independence 2010-02-26 14:01:51 +00:00
marcansoft
e949e6a63e Add license header to armsrc/ldscript 2010-02-26 14:01:31 +00:00
marcansoft
845ea63b7c Clean up common linker script 2010-02-26 13:59:37 +00:00
izsh@fail0verflow.com
e0c67c7f45 COMPILING.txt: Request for the arm crosscompiler to be in the PATH 2010-02-26 13:49:49 +00:00