Janco Kock b12fac4b8e Created new file structure 10 lat temu
..
Makefile b12fac4b8e Created new file structure 10 lat temu
README_FIRST.txt b12fac4b8e Created new file structure 10 lat temu
at91sam7s.h b12fac4b8e Created new file structure 10 lat temu
board.h b12fac4b8e Created new file structure 10 lat temu
bootldr_at91sam7s128.ld b12fac4b8e Created new file structure 10 lat temu
bootldr_at91sam7s256.ld b12fac4b8e Created new file structure 10 lat temu
bootldr_at91sam7s64.ld b12fac4b8e Created new file structure 10 lat temu
lib_at91sam7s.h b12fac4b8e Created new file structure 10 lat temu
main.c b12fac4b8e Created new file structure 10 lat temu
startup.s b12fac4b8e Created new file structure 10 lat temu
xloader7.inter b12fac4b8e Created new file structure 10 lat temu

README_FIRST.txt

This bootloader use first 2k of FLASH. Use XMODEM-CRC, XMODEM-1k or YMODEM
to upload your code. (autodetected protocol)

When compiling Nut/OS, in tools->GCC setting->linker script select at91sam7s64_bootrom
or at91sam7s256_bootrom to use with this bootloader.

Use SAM-BA to burn bootloader into flash memory. VERY IMPORTANT: you must erase all
flash to unlock all sector before write bootloader. Bootload don't unlock sector.

You can use ready-to-use binary into /bin directory or recompile.

To compile:
In makefile, select MCU to use (AT91SAM7S64,128,256)
In board.h select uart: UARTO, UART1 or DBGU
In board.h select baudrate
make (using ARM-NONE-EABI gnu compiler)

All source file is inside XLoader7.inter, file format using Interspector text editor,
some weird thing can appear in source code if you open it directly.

Rmi Bilodeau (dec 2010)