Matomat/sam7utils
2015-11-15 18:18:42 +00:00
..
.deps bla 2015-11-15 18:18:42 +00:00
driver bla 2015-11-15 18:18:42 +00:00
loader bla 2015-11-15 18:18:42 +00:00
aclocal.m4 bla 2015-11-15 18:18:42 +00:00
at91flash bla 2015-11-15 18:18:42 +00:00
AUTHORS bla 2015-11-15 18:18:42 +00:00
ChangeLog bla 2015-11-15 18:18:42 +00:00
cmd.c bla 2015-11-15 18:18:42 +00:00
cmd.h bla 2015-11-15 18:18:42 +00:00
config.guess bla 2015-11-15 18:18:42 +00:00
config.h bla 2015-11-15 18:18:42 +00:00
config.h.in bla 2015-11-15 18:18:42 +00:00
config.log bla 2015-11-15 18:18:42 +00:00
config.status bla 2015-11-15 18:18:42 +00:00
config.sub bla 2015-11-15 18:18:42 +00:00
configure bla 2015-11-15 18:18:42 +00:00
configure.in bla 2015-11-15 18:18:42 +00:00
COPYING bla 2015-11-15 18:18:42 +00:00
depcomp bla 2015-11-15 18:18:42 +00:00
INSTALL bla 2015-11-15 18:18:42 +00:00
install-sh bla 2015-11-15 18:18:42 +00:00
io_iokit.c bla 2015-11-15 18:18:42 +00:00
io_posix.c bla 2015-11-15 18:18:42 +00:00
io_win32.c bla 2015-11-15 18:18:42 +00:00
io.h bla 2015-11-15 18:18:42 +00:00
loader128_data.h bla 2015-11-15 18:18:42 +00:00
loader256_data.h bla 2015-11-15 18:18:42 +00:00
main.c bla 2015-11-15 18:18:42 +00:00
Makefile bla 2015-11-15 18:18:42 +00:00
Makefile.am bla 2015-11-15 18:18:42 +00:00
Makefile.in bla 2015-11-15 18:18:42 +00:00
missing bla 2015-11-15 18:18:42 +00:00
NEWS bla 2015-11-15 18:18:42 +00:00
README bla 2015-11-15 18:18:42 +00:00
README.OLD bla 2015-11-15 18:18:42 +00:00
samba.c bla 2015-11-15 18:18:42 +00:00
samba.h bla 2015-11-15 18:18:42 +00:00
stamp-h1 bla 2015-11-15 18:18:42 +00:00
test.c bla 2015-11-15 18:18:42 +00:00

AT91SAM7 USB specific firmware flash approach

Milosch Meriac <meriac@bitmanufaktur.de>

sam7utils: (C) 2006 Erik Gilling



To make sure that the SAM7 interface will be recognized
by the Linux Kernel please add the following line to
/etc/modprobe.conf.local (or /etc/modprobe.conf if this
file doesnt exist):

options usbserial vendor=0x03EB product=0x6124


(Re)Plug your device to make sure it will be detected properly.
Find out which serial port its connected to (see last line
- it's ttyUSB2 in this particular case):

dmesg | grep ttyUSB
 usb 3-1: pl2303 converter now attached to ttyUSB0
 usb 5-2: FTDI USB Serial Device converter now attached to ttyUSB1
 usb 1-7.2: generic converter now attached to ttyUSB2


Install the latest firmware image:

sam7 -l /dev/ttyUSB2
    Chip Version: 0
    Embedded Processor: ARM7TDMI
    NVRAM Region 1 Size: 128 K
    NVRAM Region 2 Size: 0 K
    SRAM Size: 128 K
    Series: AT91SAM7Sxx
    Page Size: 256 bytes
    Lock Regions: 8
sam7> set_clock
sam7> unlock_regions 
    unlocking region 0: done
    unlocking region 1: done
sam7> flash myfirmware.img