|
At91sam9260GettingStarted
Getting Started with the AT91SAM9260 Microcontroller on Olimex development board SAM9-L9260
Getting Started with the AT91SAM9260 Microcontroller on Olimex development board SAM9-L9260On GNU/Linux UbuntuI 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 versionSAM-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 :
rmmod usbserial
modprobe usbserial vendor=0x03eb product=0x6124
lsusb -d 03eb:6124 Bus 004 Device 006: ID 03eb:6124 Atmel Corp
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 |