Connecting With Sam-BA

From Low cost, low power, android ARM system board by Mini-Box.com - pico WiKi
(Difference between revisions)
Jump to: navigation, search
(Sam-BA on Linux)
Line 20: Line 20:
 
==Sam-BA on Linux ==
 
==Sam-BA on Linux ==
 
Unload usbserial module if it is already running by issuing:  
 
Unload usbserial module if it is already running by issuing:  
     rmmod usbserial
+
     sudo rmmod usbserial
 
Load usbserial kernel module:
 
Load usbserial kernel module:
     modprobe usbserial vendor=0x03eb product=0x6124
+
     sudo modprobe usbserial vendor=0x03eb product=0x6124
 
Verify that the USB connection is established:
 
Verify that the USB connection is established:
 
     lsusb -d 03eb:6124
 
     lsusb -d 03eb:6124

Revision as of 15:48, 10 January 2011

Another method to see if the board is functional is to test it with SAM-BA.
Download a suitable version from here and install it.

Sam-BA on Windows

Plug in the pico-SAM9G45 board and it should appear as "atm6124.Sys AMTEL AT91xxxxx Test Board"

picture1.jpg

Start SAM-BA GUI Application.
Choose the USB Connection /usb/ARM0.
Select the the at91sam9g45-ek board in the drop-down menu and press connect.

picture2.jpg

In the main SAM-BA window you will have:

picture3.jpg

Sam-BA on Linux

Unload usbserial module if it is already running by issuing:

   sudo rmmod usbserial

Load usbserial kernel module:

   sudo 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

Personal tools
Namespaces
Variants
Actions
Toolbox