Test binary using SAM-BA

Download and Install

  1. Download the sam-ba_2.10 and SAM-BA_2.10_sam3s8_sd8_s16_patch_1.0. then install!

SAM-BA Boot

SAM-BA Boot is a boot program in ROM. After enabling it, we can re-program the internal flash of sam3s microcontroller using the SAM-BA GUI. Follow the explanation to enable it:

  1. On the board, close jumper JP3 to enable SAM-BA Boot.

    Note: Internal flash will be erased at the same time.


  2. Power on the board and wait several seconds and then Open jumper JP3.



  3. Connect EK board to PC usb port using the micro-USB 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

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



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



  3. Find and select the binary file in the project folder, such as:
    (the folder your files Extracted)\Embedded Workbench 6.0\arm\examples\Atmel\sam3s\sam3s-ek2\examples_graphics\smc_lcd\build\ewarm_620\flash\bin\flash.bin

    Click on "Send File" button to program flash.


  4. 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.


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


  6. Close SAM-BA GUI.


Run the application


Re-plug in power supply to reboot the board, and you will see user LCD display.

[Debug using SAM-ICE]
Atmel Corporation ©2011