Test binary using SAM-BA
Download and Install
-
Download the latest AT91-ISP tools(SAM-BA included) from
ATMEL website and install it following
install process.
SAM-BA Boot
SAM-BA Boot is a boot program in ROM. After enabling it, we can re-program the internal flash of sam3u microcontroller using the SAM-BA GUI. Follow the explanation to enable it:
-
On the board, close jumper JP1 to enable SAM-BA Boot.
Note: Internal flash will be erased at the same time.
-
Power on the board and wait several seconds and then Open jumper JP1.

-
Connect EK board to PC usb port using the usb A/B cable.
Your PC should find new usb device and install driver automatically.
After installing finished, click on the USB icon in the notification bar to make sure ATMEL AT91xxxxx Test Board appears in taskbar notification area.

Program the board with SAM-BA GUI
-
Launch SAM-BA program,and "\usb\ARM0" will be selected automaticlly.
Select EK board name in the Pull-down menu.
Press "Connect" button.

-
Select the Flash Panned Window.
Select "Enable Flash Access" from Scripts and click "Execute" button.

-
Find and select the binary file in the project folder, such as:
C:\AT91SAM\basic-parallel-lcd-project-keil\at91sam3u-ek\basic-parallel-lcd-project\uv2\at91sam3u4-flash\at91sam3u4-flash.bin
Click on "Send File" button to program flash.

-
After the flash is programmed, SAM-BA is asking if you want to lock the involved Flash region.
Select Yes or No according to your needs.

-
Select "Boot from Flash (GPNVM1)" from Scripts and click "Execute" button.

-
Close SAM-BA GUI.
Run the application
Press NRSTB button BP2 on the EK board, and you will see user LCD display.
Atmel Corporation ©2009