My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
At91sam9260GettingStarted  
Getting Started with the AT91SAM9260 Microcontroller on Olimex development board SAM9-L9260
Updated Feb 4, 2010 by casai...@gmail.com

Getting Started with the AT91SAM9260 Microcontroller on Olimex development board SAM9-L9260

On GNU/Linux Ubuntu

I did follow the same instructions of the original Application Note from Atmel. I had used the Sam-ba GNU/Linux version.

The original "prog_sdram.tcl" script didn't work because of some problem in initialize SDRAM, so I went on the GUI version and load the bin file "at91sam9260_getting_started_sdram.bin" on the SDRAM. Finally I had to execute a command "go 0x20000000", I created an empty file with name "start_code_in_SDRAM.tcl" and with one line: go 0x20000000 - after I executed this script file on the program and the LEDs yellow and green started to flash ;-) :-)

Copy of instructions to use Sam-ba GNU/Linux version

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

File: sam-ba_cdc_2.7.linux_01.zip


Sign in to add a comment
Powered by Google Project Hosting