Difference between pages "Connecting With Sam-BA" and "Template:Get the hardware"

From Low cost, low power, android ARM system board by Mini-Box.com - pico WiKi
(Difference between pages)
Jump to navigation Jump to search
m
 
m
 
Line 1: Line 1:
{{MicroUSB-OTG-port}}
+
* [https://www.mini-box.com/pico-SAM9G45-X pico-SAM9G45 board]
<br>
+
* [https://www.mini-box.com/60w-12v-5A-AC-DC-Power-Adapter 12V, 5A / 60 Watt Switching Power Adapter (110/220V)]
Download a suitable version of Sam-BA from [http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3883 here] and install it.<br>
+
* [https://en.wikipedia.org/wiki/MicroSD#microSD microSD card] - minimum 256Mb in size for [[Releases|Android OS]] or [[Releases|Angstrom Linux]]
  
==Sam-BA on Windows ==
+
''optionally:''
 
+
* a compatible [https://www.mini-box.com/Hannstar-4-3-TFT-with-touchscreen 4.3" TFT LCD with touch screen]
Plug in the pico-SAM9G45 board and it should appear as "atm6124.Sys AMTEL AT91xxxxx Test Board"<br>
+
* an [https://en.wikipedia.org/wiki/Memory_card_reader USB SD Card reader] for writing OS images on the microSD card
 
+
* a [https://en.wikipedia.org/wiki/USB#Mini_and_Micro_connectors Micro-B Plug to Type A Plug] USB cable
https://resources.mini-box.com/online/pico-SAM9G45/images/picture1.jpg
+
* a TTL to RS232 converter and a serial cable for connecting the board using the [[J7 connector|J7]] or [[J9 connector|J9]] connector to the PC serial port
 
 
Start SAM-BA GUI Application.<br> 
 
Choose the USB Connection /usb/ARM0.<br>
 
Select the the at91sam9g45-ek board in the drop-down menu and press connect.<br>
 
 
 
https://resources.mini-box.com/online/pico-SAM9G45/images/picture2.jpg
 
 
 
In the main SAM-BA window you will have:
 
 
 
https://resources.mini-box.com/online/pico-SAM9G45/images/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
 
 
 
NOTE: On some Linux systems, instead of /dev/ttyUSB0, the device that is created may be /dev/ttyACM0 (the dmesg command will show the device).  The sam-ba utility will not look for or find this device.  The workaround is to create a symbolic link called /dev/ttyUSB0 before running the utility:
 
 
 
<pre>sudo ln -sf /dev/ttyACM0 /dev/ttyS0</pre>
 
 
 
sam-ba will then work correctly.  Remember to remove the symbolic link when you are finished using the the utility, so that the system can create a real /dev/ttyUSB0 if needed.
 

Revision as of 07:36, 20 October 2020

optionally: