Linux & Open Source related information for AT91 Smart ARM Microcontrollers
Search: 

Software Tools

SAM-BA

The SAM Boot Assistant (SAM-BA) comes with the AT91 In-system Programmer (ISP). It allows to program flash media through RS232, USB or Jtag SAM-ICE link. SAM-BA only runs on Windows.

Description Binary
SAM Boot Assistant (SAM-BA) on http://www.atmel.com AT91 In-system Programmer (ISP)

SAM-BA Linux initiative

A revision of SAM-BA is ported to Linux. It is at the side of the official SAM-BA ISP revision.

SAM-BA Linux uses the USB connexion through CDC usbserial driver to communicate with the device.

USB CDC Serial driver mount procedure :

  • Login with administrator rights

  • Unload usbserial module if it is already running
rmmod usbserial

  • Load usbserial kernel module
modprobe usbserial vendor=0x03eb product=0x6124

  • Verify that the USB connection is established
lsusb -d 03eb:6124
    Bus 004 Device 006: ID 03eb:6124 Atmel Corp

  • Know which USB connection is established
dmesg
    ...
    kernel: usb 4-2: new full speed USB device using uhci_hcd and address 5
    kernel: usb 4-2: configuration #1 chosen from 1 choice
    kernel: usbserial_generic 4-2:1.0: generic converter detected
    kernel: usbserial_generic: probe of 4-2:1.0 failed with error -5
    kernel: usbserial_generic 4-2:1.1: generic converter detected
    kernel: usb 4-2: generic converter now attached to ttyUSBx

=> you will have to use /dev/ttyUSBx to connect to your board

Description Binary
SAM Boot Assistant (SAM-BA 2.8) Linux port initiative using CDC sam-ba_cdc_2.8.linux_01.zip
SAM Boot Assistant (SAM-BA 2.7) Linux port initiative using CDC sam-ba_cdc_2.7.linux_01.zip

Cross Toolchain

CodeSourcery provides regular, validated releases of the GNU Toolchain for arm processor.
This document refers to arm2007q1-10 version of CodeSourcery toolchain.

Features in this release include:

  • Based on GCC 4.2
  • Support EABI
  • Support for uClinux
  • Support for Cortex-M1 (ARMV6-M) CPUs
  • Improved code generation for Cortex-A8 and Cortex-R4 CPUs
  • Thumb-2 GLIBC binaries

Links:

Description Binary
CodeSourcery GNU cross-toolchain for ARM arm-2007q1-10-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2

mkimage (U-Boot)

The mkimage U-Boot tool is used to convert a standard kernel image into uImage format needed by bootm U-Boot command.

Description Sources Binary
Pre-built static version of the u-boot mkimage tool u-boot sources directory mkimage

Make

Some newer version of make produce errors while compiling the revision we use for U-Boot. The compiling of this code has been validated with make-3.80 : Take it and compile it on your host machine (pace in /usr/local directory for example). You can use it calling the right binary while issuing the cross-compile command:

/usr/local/bin/make-3.80 CROSS_COMPILE=<path_to_cross-compiler/cross-compiler-prefix->

Description Sources Binary
Pre-built static version of the make tool make sources directory make-3.80

  Attachment Action Size Date Who Comment
else make-3.80.bin props, move 931.9 K 16 Nov 2007 - 10:10 NicolasFerre  
else mkimage.bin props, move 460.7 K 17 Jul 2007 - 13:11 PatriceVilchez  
r17 - 03 Jul 2008 - 12:35:12 - NicolasFerre
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.
Atmel® and others, are registered trademarks or trademarks of Atmel Corporation or its subsidiaries.
ARM® and others are registered trademarks or trademarks of ARM Ltd. Other terms and product names may be trademarks of others.
Ideas, requests, contributions ? Connect to LinksToCommunities page.
Syndicate this site RSSATOM