]> cvs.zerfleddert.de Git - proxmark3-svn/log
proxmark3-svn
14 years agoFix issue 14: mandemod and lf em4x em410xread crashes the proxmark3 client app
ksjoberg [Tue, 6 Apr 2010 13:41:37 +0000 (13:41 +0000)]
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.

14 years agoMakefile: add explicit target to compile client only
yobibe [Mon, 29 Mar 2010 10:44:03 +0000 (10:44 +0000)]
Makefile: add explicit target to compile client only

14 years agoFix small issue in make help
yobibe [Mon, 29 Mar 2010 10:36:26 +0000 (10:36 +0000)]
Fix small issue in make help

14 years agostrip trailing space in a more strictly correct place
adam@algroup.co.uk [Mon, 8 Mar 2010 14:20:05 +0000 (14:20 +0000)]
strip trailing space in a more strictly correct place

14 years agomove trailing space stripping to client/proxmark3.c (per discussion on r426)
adam@algroup.co.uk [Mon, 8 Mar 2010 09:16:28 +0000 (09:16 +0000)]
move trailing space stripping to client/proxmark3.c (per discussion on r426)

14 years agostrip trailing space(s) (may have been added by readline)
adam@algroup.co.uk [Sun, 7 Mar 2010 15:25:48 +0000 (15:25 +0000)]
strip trailing space(s) (may have been added by readline)

14 years agorevert command offsets now leading spaces have been stripped (thanks iZsh!)
adam@algroup.co.uk [Sat, 6 Mar 2010 08:01:08 +0000 (08:01 +0000)]
revert command offsets now leading spaces have been stripped (thanks iZsh!)

14 years agoclient/cmdparser.c: Remove the leading spaces before calling the subparser. client...
izsh@fail0verflow.com [Sat, 6 Mar 2010 00:30:24 +0000 (00:30 +0000)]
client/cmdparser.c: Remove the leading spaces before calling the subparser. client/cmdlfhid.c: Modify accordingly.

14 years agofix id offset in hid simulate
adam@algroup.co.uk [Fri, 5 Mar 2010 23:39:07 +0000 (23:39 +0000)]
fix id offset in hid simulate

14 years agoStreamline some code, tidy up redundant functions, no change in functionality.
d18c7db [Fri, 5 Mar 2010 04:14:04 +0000 (04:14 +0000)]
Streamline some code, tidy up redundant functions, no change in functionality.

14 years agoFix up small error in main osc startup delay and replace more custom defines with...
d18c7db [Thu, 4 Mar 2010 08:15:59 +0000 (08:15 +0000)]
Fix up small error in main osc startup delay and replace more custom defines with standard Atmel defines

14 years agoFix FMCN setting so it actually matches datasheet
marcansoft [Thu, 4 Mar 2010 05:01:32 +0000 (05:01 +0000)]
Fix FMCN setting so it actually matches datasheet

1.5us instead of 1us. 1us is only for fuse programming, not for regular
Flash programming.

14 years agoDon't modify the PATH to prevent from mixing multiple arm-eabi compilers in the PATH
izsh@fail0verflow.com [Thu, 4 Mar 2010 00:33:05 +0000 (00:33 +0000)]
Don't modify the PATH to prevent from mixing multiple arm-eabi compilers in the PATH

14 years agoThere is no proof this fix anything. This could just be out of randomness or subtle...
izsh@fail0verflow.com [Thu, 4 Mar 2010 00:30:54 +0000 (00:30 +0000)]
There is no proof this fix anything. This could just be out of randomness or subtle compiler optimization differences due to the change.

14 years agoRemove 512k support, fix flash waitstates
marcansoft [Wed, 3 Mar 2010 13:33:24 +0000 (13:33 +0000)]
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.

14 years agoUse sane optimization for armsrc
marcansoft [Wed, 3 Mar 2010 13:19:29 +0000 (13:19 +0000)]
Use sane optimization for armsrc

14 years agoUpdated BOM with current Digikey part numbers, deleted pricing info as it's volatile.
d18c7db [Wed, 3 Mar 2010 05:38:08 +0000 (05:38 +0000)]
Updated BOM with current Digikey part numbers, deleted pricing info as it's volatile.

14 years agoadd svn ignore to .bash_history
d18c7db [Wed, 3 Mar 2010 02:31:22 +0000 (02:31 +0000)]
add svn ignore to .bash_history

14 years agoFix possible type casting issue. Add another JTAG config file :)
d18c7db [Wed, 3 Mar 2010 02:27:14 +0000 (02:27 +0000)]
Fix possible type casting issue. Add another JTAG config file :)

14 years agoCorrected erroneous bit masking
d18c7db [Sun, 28 Feb 2010 05:30:26 +0000 (05:30 +0000)]
Corrected erroneous bit masking

14 years agofix Makefile for new flasher
adam@algroup.co.uk [Sat, 27 Feb 2010 09:20:04 +0000 (09:20 +0000)]
fix Makefile for new flasher

14 years agoput arm-eabi compiler back on path for those that have followed devkitpro installatio...
adam@algroup.co.uk [Sat, 27 Feb 2010 09:05:03 +0000 (09:05 +0000)]
put arm-eabi compiler back on path for those that have followed devkitpro installation instructions

14 years agoAdded Eagle source files, replaced b/w schema and placement bitmap with combined...
d18c7db [Sat, 27 Feb 2010 01:45:50 +0000 (01:45 +0000)]
Added Eagle source files, replaced b/w schema and placement bitmap with combined colour pdf.

14 years agoAdd KEEP() to version information section
marcansoft [Fri, 26 Feb 2010 23:29:22 +0000 (23:29 +0000)]
Add KEEP() to version information section

Prevents it from being garbage collected

14 years agoAdd explicit PHDRs to bootrom to properly separate data and bss
marcansoft [Fri, 26 Feb 2010 21:40:27 +0000 (21:40 +0000)]
Add explicit PHDRs to bootrom to properly separate data and bss

14 years agoFix minor consistency issue in armsrc/ldscript
marcansoft [Fri, 26 Feb 2010 21:40:14 +0000 (21:40 +0000)]
Fix minor consistency issue in armsrc/ldscript

BSS should be AT>ram (though it really doesn't matter because load size
is 0)

14 years agoBootloader cleanup (UNTESTED!)
marcansoft [Fri, 26 Feb 2010 15:14:47 +0000 (15:14 +0000)]
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

14 years agoMinor fix to armsrc ldscript
marcansoft [Fri, 26 Feb 2010 15:14:27 +0000 (15:14 +0000)]
Minor fix to armsrc ldscript

14 years agoGet rid of flasher memory leak
marcansoft [Fri, 26 Feb 2010 15:13:58 +0000 (15:13 +0000)]
Get rid of flasher memory leak

Too bad the proxmark usb code still has a bajillion :(

14 years agoRemove remnant junk and TODO -> FIXME
marcansoft [Fri, 26 Feb 2010 14:08:54 +0000 (14:08 +0000)]
Remove remnant junk and TODO -> FIXME

14 years agoNew flasher, much more paranoid and much more correct.
marcansoft [Fri, 26 Feb 2010 14:03:43 +0000 (14:03 +0000)]
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.

14 years agoFix up armsrc/ldscript (create proper PHDRs, cleanup)
marcansoft [Fri, 26 Feb 2010 14:03:21 +0000 (14:03 +0000)]
Fix up armsrc/ldscript (create proper PHDRs, cleanup)

Now explicitly creates PHDRs (to avoid including e.g. ELF headers inside
the first PHDR)

14 years agoLink using gcc and get rid of the LIBGCC stuff
marcansoft [Fri, 26 Feb 2010 14:03:03 +0000 (14:03 +0000)]
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.

14 years agoMake version data const
marcansoft [Fri, 26 Feb 2010 14:02:27 +0000 (14:02 +0000)]
Make version data const

14 years agoAdd extra elf.h constants
marcansoft [Fri, 26 Feb 2010 14:02:08 +0000 (14:02 +0000)]
Add extra elf.h constants

14 years agoAdd beginnings of hopeful endian-independence
marcansoft [Fri, 26 Feb 2010 14:01:51 +0000 (14:01 +0000)]
Add beginnings of hopeful endian-independence

14 years agoAdd license header to armsrc/ldscript
marcansoft [Fri, 26 Feb 2010 14:01:31 +0000 (14:01 +0000)]
Add license header to armsrc/ldscript

14 years agoClean up common linker script
marcansoft [Fri, 26 Feb 2010 13:59:37 +0000 (13:59 +0000)]
Clean up common linker script

14 years agoCOMPILING.txt: Request for the arm crosscompiler to be in the PATH
izsh@fail0verflow.com [Fri, 26 Feb 2010 13:49:49 +0000 (13:49 +0000)]
COMPILING.txt: Request for the arm crosscompiler to be in the PATH

14 years agocommon/Makefile.common: Revert the DEVKITARM change. Just need to put the cross compi...
izsh@fail0verflow.com [Fri, 26 Feb 2010 13:06:07 +0000 (13:06 +0000)]
common/Makefile.common: Revert the DEVKITARM change. Just need to put the cross compiler in the path. No need to hardcode for a given distribution and a given version.

14 years agoApply copyright patch from Michael Gernoth
izsh@fail0verflow.com [Thu, 25 Feb 2010 21:57:35 +0000 (21:57 +0000)]
Apply copyright patch from Michael Gernoth

14 years agoAnd directory ;)
d18c7db [Thu, 25 Feb 2010 20:11:10 +0000 (20:11 +0000)]
And directory ;)

14 years agoDelete obsolete windows files
d18c7db [Thu, 25 Feb 2010 20:02:01 +0000 (20:02 +0000)]
Delete obsolete windows files

14 years agoFix memset warning
izsh@fail0verflow.com [Wed, 24 Feb 2010 20:47:32 +0000 (20:47 +0000)]
Fix memset warning

14 years agoFix a couple of warnings
izsh@fail0verflow.com [Wed, 24 Feb 2010 20:34:13 +0000 (20:34 +0000)]
Fix a couple of warnings

14 years agoclient/Makefile: Typo for Darwin
izsh@fail0verflow.com [Wed, 24 Feb 2010 20:33:55 +0000 (20:33 +0000)]
client/Makefile: Typo for Darwin

14 years agoCOMPILING: move to COMPILING.txt.
izsh@fail0verflow.com [Wed, 24 Feb 2010 19:49:16 +0000 (19:49 +0000)]
COMPILING: move to COMPILING.txt.

14 years agoFix QT compilation for Windows/MinGW and update the compilation instructions accordingly.
izsh@fail0verflow.com [Wed, 24 Feb 2010 19:33:29 +0000 (19:33 +0000)]
Fix QT compilation for Windows/MinGW and update the compilation instructions accordingly.

14 years agoclient/COMPILING: move to /COMPILING and add instructions to be able to compile the...
izsh@fail0verflow.com [Tue, 23 Feb 2010 22:10:35 +0000 (22:10 +0000)]
client/COMPILING: move to /COMPILING and add instructions to be able to compile the firmware as well.

14 years agoclient/COMPILING: Simplify dev. environment initial setup for Windows (WORK STILL...
izsh@fail0verflow.com [Tue, 23 Feb 2010 20:55:35 +0000 (20:55 +0000)]
client/COMPILING: Simplify dev. environment initial setup for Windows (WORK STILL IN PROGRESS)

14 years agoclient/cmdlfem4x.c: Fix a warning about probable uninitialized variable with gcc 4.4
izsh@fail0verflow.com [Tue, 23 Feb 2010 20:52:50 +0000 (20:52 +0000)]
client/cmdlfem4x.c: Fix a warning about probable uninitialized variable with gcc 4.4

14 years agosetting svn:eol-style=native on files, part 3
bushing [Mon, 22 Feb 2010 19:29:05 +0000 (19:29 +0000)]
setting svn:eol-style=native on files, part 3
(should be done now, sorry)

14 years agosetting svn:eol-style=native on files, part 2
bushing [Mon, 22 Feb 2010 19:25:02 +0000 (19:25 +0000)]
setting svn:eol-style=native on files, part 2

14 years agosetting svn:eol-style=native on files, part 1
bushing [Mon, 22 Feb 2010 19:18:49 +0000 (19:18 +0000)]
setting svn:eol-style=native on files, part 1
(see http://svnbook.red-bean.com/en/1.4/svn.advanced.props.file-portability.html)

14 years agocorrect paths for devkitPro Linux development environment
adam@algroup.co.uk [Mon, 22 Feb 2010 12:36:42 +0000 (12:36 +0000)]
correct paths for devkitPro Linux development environment

14 years agoUpdated missing lib in ProxSpace
d18c7db [Mon, 22 Feb 2010 03:54:44 +0000 (03:54 +0000)]
Updated missing lib in ProxSpace

14 years agoUpdates for new MinGW ProxSpace environment
d18c7db [Mon, 22 Feb 2010 01:56:15 +0000 (01:56 +0000)]
Updates for new MinGW ProxSpace environment

14 years agoAdd -O3 on the client's side and fix yielding warnings
izsh@fail0verflow.com [Sun, 21 Feb 2010 20:01:56 +0000 (20:01 +0000)]
Add -O3 on the client's side and fix yielding warnings

14 years agoOoops, we forgot a few details
izsh@fail0verflow.com [Sun, 21 Feb 2010 19:58:32 +0000 (19:58 +0000)]
Ooops, we forgot a few details

14 years agoAdd HACKING.txt with coding style guidelines
marcansoft [Sun, 21 Feb 2010 19:16:36 +0000 (19:16 +0000)]
Add HACKING.txt with coding style guidelines

14 years agomake a start on updating the main README
adam@algroup.co.uk [Sun, 21 Feb 2010 10:23:05 +0000 (10:23 +0000)]
make a start on updating the main README

14 years agoUpdated COMPILING
d18c7db [Sun, 21 Feb 2010 07:45:59 +0000 (07:45 +0000)]
Updated COMPILING

14 years agoWindows specific instructions regarding the compile environment.
d18c7db [Sun, 21 Feb 2010 06:54:43 +0000 (06:54 +0000)]
Windows specific instructions regarding the compile environment.

14 years agoclient/Makefile: Cosmestic changes.
izsh@fail0verflow.com [Sun, 21 Feb 2010 01:07:11 +0000 (01:07 +0000)]
client/Makefile: Cosmestic changes.

14 years agoAdd License/Copyright headers/notices. Please add your own copyright notice if you...
izsh@fail0verflow.com [Sun, 21 Feb 2010 00:47:22 +0000 (00:47 +0000)]
Add License/Copyright headers/notices. Please add your own copyright notice if you have made any nontrivial changes or additions to the code. There are several files without any attribution, currently.

14 years ago/client/Makefile: Output object files to the obj subdir.
izsh@fail0verflow.com [Sun, 21 Feb 2010 00:16:42 +0000 (00:16 +0000)]
/client/Makefile: Output object files to the obj subdir.

14 years agoSome random cleanup
marcansoft [Sun, 21 Feb 2010 00:13:08 +0000 (00:13 +0000)]
Some random cleanup

14 years agoAdd license headers to armsrc/bootrom/common stuff
marcansoft [Sun, 21 Feb 2010 00:12:52 +0000 (00:12 +0000)]
Add license headers to armsrc/bootrom/common stuff

I have kept whatever copyright notices exist. Please add your own
copyright notice if you have made any nontrivial changes or additions to
the code. There are several files without any attribution, currently.

14 years agoSplit str* and mem* into string.[ch]
marcansoft [Sun, 21 Feb 2010 00:10:28 +0000 (00:10 +0000)]
Split str* and mem* into string.[ch]

14 years agoRemoving windows specific code. Everything now compile and work the same for the...
izsh@fail0verflow.com [Sat, 20 Feb 2010 23:35:09 +0000 (23:35 +0000)]
Removing windows specific code. Everything now compile and work the same for the three OS

14 years agoClean up data types, some header cleanup, etc.
marcansoft [Sat, 20 Feb 2010 22:51:00 +0000 (22:51 +0000)]
Clean up data types, some header cleanup, etc.

14 years agoMore CRLF -> LF conversion
marcansoft [Sat, 20 Feb 2010 22:50:30 +0000 (22:50 +0000)]
More CRLF -> LF conversion

14 years agoMore en masse cleanup (whitespace/newlines/headers/etc)
marcansoft [Sat, 20 Feb 2010 21:57:20 +0000 (21:57 +0000)]
More en masse cleanup (whitespace/newlines/headers/etc)

14 years agoMore CRLF -> LF
marcansoft [Sat, 20 Feb 2010 21:56:46 +0000 (21:56 +0000)]
More CRLF -> LF

14 years agoMore CRLF -> LF cleanup
marcansoft [Sat, 20 Feb 2010 21:56:33 +0000 (21:56 +0000)]
More CRLF -> LF cleanup

14 years agoBut let people override CROSS if they reall want to ;)
marcansoft [Sat, 20 Feb 2010 21:32:09 +0000 (21:32 +0000)]
But let people override CROSS if they reall want to ;)

14 years agoSwitch compiler to arm-eabi instead of arm-elf
marcansoft [Sat, 20 Feb 2010 21:28:29 +0000 (21:28 +0000)]
Switch compiler to arm-eabi instead of arm-elf

Non-EABI has been deprecated for a while and in fact won't build
with interworking support these days. Configuring the latest
gcc/binutils for arm-eabi works out of the box, so use that.

14 years agoClean up line endings, switch everything to LF instead of CRLF
marcansoft [Sat, 20 Feb 2010 21:24:25 +0000 (21:24 +0000)]
Clean up line endings, switch everything to LF instead of CRLF

Doing this for bootrom and armsrc for now. If you're using Windows,
please configure your editor for LF line endings.

14 years agoAdd obj/.dummy for clients that don't track empty dirs
marcansoft [Sat, 20 Feb 2010 21:20:47 +0000 (21:20 +0000)]
Add obj/.dummy for clients that don't track empty dirs

14 years agomarcan's patch until he gets commit access. Remove C library's includes from the...
izsh@fail0verflow.com [Sat, 20 Feb 2010 03:07:55 +0000 (03:07 +0000)]
marcan's patch until he gets commit access. Remove C library's includes from the firmware side since it's not available anyway and not used

14 years agoOops forgot a file
izsh@fail0verflow.com [Sat, 20 Feb 2010 00:38:24 +0000 (00:38 +0000)]
Oops forgot a file

14 years agoFix windows compilation issues. But still not final. We should move to pthread and...
izsh@fail0verflow.com [Sat, 20 Feb 2010 00:36:48 +0000 (00:36 +0000)]
Fix windows compilation issues. But still not final. We should move to pthread and factorize the code with *nix). Ideally we should move to libusb-1.0 too.

14 years agoRemoved hackish usb.h file, re-added Info.plist
d18c7db [Fri, 19 Feb 2010 23:24:49 +0000 (23:24 +0000)]
Removed hackish usb.h file, re-added Info.plist

14 years agoNot a source code file
d18c7db [Thu, 18 Feb 2010 08:32:41 +0000 (08:32 +0000)]
Not a source code file

14 years agoTweak JTAG config file
d18c7db [Thu, 18 Feb 2010 08:29:03 +0000 (08:29 +0000)]
Tweak JTAG config file

14 years agoAttempt at getting the windows client to at least compile without bombing out with...
d18c7db [Thu, 18 Feb 2010 08:24:26 +0000 (08:24 +0000)]
Attempt at getting the windows client to at least compile without bombing out with errors, may not be fully usable, e.g. plot window doesn't come up, etc

14 years agofix output inversion in mandemod
adam@algroup.co.uk [Mon, 15 Feb 2010 21:15:52 +0000 (21:15 +0000)]
fix output inversion in mandemod

14 years agomissing parameter in 'threshold' command help
adam@algroup.co.uk [Mon, 8 Feb 2010 22:02:18 +0000 (22:02 +0000)]
missing parameter in 'threshold' command help

14 years agofix 'data load' filename pointer
adam@algroup.co.uk [Mon, 8 Feb 2010 17:37:02 +0000 (17:37 +0000)]
fix 'data load' filename pointer

14 years agoCosmetic changes, replace mismatched indentation
izsh@fail0verflow.com [Mon, 8 Feb 2010 11:58:40 +0000 (11:58 +0000)]
Cosmetic changes, replace mismatched indentation

14 years agocommand parser shortcuts e.g. 'd p' will call 'data plot' (from rumpeltux)
adam@algroup.co.uk [Mon, 8 Feb 2010 09:23:39 +0000 (09:23 +0000)]
command parser shortcuts e.g. 'd p' will call 'data plot' (from rumpeltux)

14 years agoAdded some Eclipse files (.settings .cproject .project) to svn ignore
d18c7db [Mon, 8 Feb 2010 03:31:08 +0000 (03:31 +0000)]
Added some Eclipse files (.settings .cproject .project) to svn ignore

14 years agoget rid of implicit declaration warnings
adam@algroup.co.uk [Sun, 7 Feb 2010 00:31:32 +0000 (00:31 +0000)]
get rid of implicit declaration warnings

14 years agoalphabet ;)
izsh@fail0verflow.com [Sat, 6 Feb 2010 18:24:22 +0000 (18:24 +0000)]
alphabet ;)

14 years agodamn that alphabet!
adam@algroup.co.uk [Sat, 6 Feb 2010 18:11:49 +0000 (18:11 +0000)]
damn that alphabet!

14 years agomerge 'lfsamples' and 'hfsamples' into 'samples'
adam@algroup.co.uk [Sat, 6 Feb 2010 18:06:31 +0000 (18:06 +0000)]
merge 'lfsamples' and 'hfsamples' into 'samples'

14 years agostreamline CmdEM410xWatch
adam@algroup.co.uk [Sat, 6 Feb 2010 18:05:05 +0000 (18:05 +0000)]
streamline CmdEM410xWatch

14 years agousability hint
adam@algroup.co.uk [Sat, 6 Feb 2010 15:50:20 +0000 (15:50 +0000)]
usability hint

14 years agomore helpful error message (from Sourcerer)
adam@algroup.co.uk [Sat, 6 Feb 2010 09:54:38 +0000 (09:54 +0000)]
more helpful error message (from Sourcerer)

14 years agoAndreas fix for LEGIC MIM1024
adam@algroup.co.uk [Sat, 6 Feb 2010 09:43:33 +0000 (09:43 +0000)]
Andreas fix for LEGIC MIM1024

Impressum, Datenschutz