Chinaunix首页 | 论坛 | 博客
  • 博客访问: 15529454
  • 博文数量: 2005
  • 博客积分: 11986
  • 博客等级: 上将
  • 技术积分: 22535
  • 用 户 组: 普通用户
  • 注册时间: 2007-05-17 13:56
文章分类

全部博文(2005)

文章存档

2014年(2)

2013年(2)

2012年(16)

2011年(66)

2010年(368)

2009年(743)

2008年(491)

2007年(317)

分类:

2009-10-31 16:09:11

使用SAM-BA和RomBoot烧写at91sam7s64

使用SAM-BA和RomBoot烧写at91sam7s64(作者:gliethttp)


 »  »

Software Tools

SAM-BA

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

Description Binary FAQ applicable
SAM Boot Assistant (SAM-BA) on for at91sam9xe (SAM-BA 2.8),
for at91sam9g20 (SAM-BA 2.8),
for at91sam9263 (SAM-BA 2.7)

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 instead of \usb\ARM0 to connect to your board

info You can also use .tcl scripts from this flavor of SAM-BA. This is useful if you want to run demos.

Description Binary FAQ applicable
SAM Boot Assistant (SAM-BA 2.9) Linux port initiative using CDC sam-ba_2.9_cdc_linux.zip  
SAM Boot Assistant (SAM-BA 2.8) Linux port initiative using CDC sam-ba_cdc_2.8.linux_01.zip for at91sam9xe, for at91sam9g20
SAM Boot Assistant (SAM-BA 2.7) Linux port initiative using CDC sam-ba_cdc_2.7.linux_01.zip for at91sam9263

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:

  • CodeSourcery website :
  • FAQ:
  • Binaries:
Description Binary
CodeSourcery GNU cross-toolchain for ARM

mkimage (U-Boot)

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

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

Make

warning Not needed for newer .

Some newer version of make produce errors while compiling some older revision of . The compiling of this old 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=

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

else , 931.9 K 16 Nov 2007 - 10:10  
else mkimage.bin props, move 460.7 K 17 Jul 2007 - 13:11  
r24 - 23 Jul 2009 - 12:38:30 -
阅读(3760) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~