Commit graph

7628 commits

Author SHA1 Message Date
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
izsh@fail0verflow.com
a63deed172 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. 2010-02-26 13:06:07 +00:00
izsh@fail0verflow.com
212ef3a04d Apply copyright patch from Michael Gernoth 2010-02-25 21:57:35 +00:00
d18c7db
29639ee8e1 And directory ;) 2010-02-25 20:11:10 +00:00
d18c7db
da133b47a9 Delete obsolete windows files 2010-02-25 20:02:01 +00:00
izsh@fail0verflow.com
243dc69001 Fix memset warning 2010-02-24 20:47:32 +00:00
izsh@fail0verflow.com
9e13f87517 Fix a couple of warnings 2010-02-24 20:34:13 +00:00
izsh@fail0verflow.com
e3e96e56df client/Makefile: Typo for Darwin 2010-02-24 20:33:55 +00:00
izsh@fail0verflow.com
f1d7d57428 COMPILING: move to COMPILING.txt. 2010-02-24 19:49:16 +00:00
izsh@fail0verflow.com
8691f5b7bb Fix QT compilation for Windows/MinGW and update the compilation instructions accordingly. 2010-02-24 19:33:29 +00:00
izsh@fail0verflow.com
9cc7c4b4d1 client/COMPILING: move to /COMPILING and add instructions to be able to compile the firmware as well. 2010-02-23 22:10:35 +00:00
izsh@fail0verflow.com
13bb3b4b11 client/COMPILING: Simplify dev. environment initial setup for Windows (WORK STILL IN PROGRESS) 2010-02-23 20:55:35 +00:00
izsh@fail0verflow.com
913d23c661 client/cmdlfem4x.c: Fix a warning about probable uninitialized variable with gcc 4.4 2010-02-23 20:52:50 +00:00
bushing
ba06a4b694 setting svn:eol-style=native on files, part 3
(should be done now, sorry)
2010-02-22 19:29:05 +00:00
bushing
a459118217 setting svn:eol-style=native on files, part 2 2010-02-22 19:25:02 +00:00
bushing
770f73457a setting svn:eol-style=native on files, part 1
(see http://svnbook.red-bean.com/en/1.4/svn.advanced.props.file-portability.html)
2010-02-22 19:18:49 +00:00
adam@algroup.co.uk
30351384b6 correct paths for devkitPro Linux development environment 2010-02-22 12:36:42 +00:00
d18c7db
7b93d91671 Updated missing lib in ProxSpace 2010-02-22 03:54:44 +00:00
d18c7db
72de52ee7b Updates for new MinGW ProxSpace environment 2010-02-22 01:56:15 +00:00
izsh@fail0verflow.com
fddf220a8b Add -O3 on the client's side and fix yielding warnings 2010-02-21 20:01:56 +00:00
izsh@fail0verflow.com
6620e46b00 Ooops, we forgot a few details 2010-02-21 19:58:32 +00:00
marcansoft
4fc25350c2 Add HACKING.txt with coding style guidelines 2010-02-21 19:16:36 +00:00