If you're using Windows, make sure you have AT91-ISP installed.
If you're using linux and have libusb, you don't need a driver (you may need to be root however)
Flashing a sam7s:
> sam7 --exec set_clock --exec unlock_regions --exec "flash test.bin"
Chip Version: 0
Embedded Processor: ARM7TDMI
NVRAM Region 1 Size: 64 K
NVRAM Region 2 Size: 0 K
SRAM Size: 16 K
Series: AT91SAM7Sxx
Page Size: 128 bytes
Lock Regions: 16
unlocking region 0: done
unlocking region 1: done
usage: sam7 [options]
-e|--exec <cmd> execute cmd instead of entering interactive mode.
-l|--line <line> specifies the line/tty which the boot agent resides.
only used for posix IO.
-h|--help dislay this message and exit.
| wb <addr> <byte> | write <byte> to <addr> |
| rb <addr> | read byte from <addr> |
| ws <addr> <short> | write <short> to <addr> |
| rs <addr> | read short from <addr> |
| ww <addr> <word> | write <word> to <addr> |
| rw <word> | read word from <addr> |
| sf <addr> >file> <offset> <len> | send len bytes of file starting at offset |
| set_clock | set clock as SAM-BA does |
| locked_regions | display locked regions |
| unlock_regions | unlock all lock regions |
| boot_from_flash | set the SAM7X to boot from flash |
| flash <file> | upload <file> to flash using the loader |
| read <file> <addr> <len> | read <len> bytes at <addr> to <file> using R commands |
| manual_flash <file> | upload <file> to flash using wb commands |
| manual_read <file> <addr> <len> | read <len> bytes at <addr> to <file> using rw commands |
| version | get boot program version |
| help | display help screen |

