Difference between revisions of "LeapFrog Pollux Platform: Console Access"

From eLinux.org
Jump to: navigation, search
(How To)
(Hardware Needed)
(4 intermediate revisions by the same user not shown)
Line 6: Line 6:
  
 
== Hardware Needed ==
 
== Hardware Needed ==
[[LeapFrog_Pollux_Platform:_Cartridge| Cartridge]] to break out the UART pins on the connector. Or [[LeapFrog_Pollux_Platform:_Console_Access#Connecting_w.2Fo_Cartridge | hardwire to internal connections]]
+
[[LeapFrog_Pollux_Platform:_Cartridge| Cartridge]]
  
 
[[RS232_Level_Shifter]] or FTDI type USB to TTL serial adapter. 3.3v versions are preferred.
 
[[RS232_Level_Shifter]] or FTDI type USB to TTL serial adapter. 3.3v versions are preferred.
Line 13: Line 13:
 
* [http://www.sparkfun.com/commerce/product_info.php?products_id=8531 CP2102 from Sparkfun]
 
* [http://www.sparkfun.com/commerce/product_info.php?products_id=8531 CP2102 from Sparkfun]
  
== Connecting w/o Cartridge ==
+
== Configure Terminal ==
If you don't have a cartridge that breaks out the necessary connections, and you're good with a soldering iron, you can carefully solder on the necessary wires to the internal connections. Then bring the wires out to your serial adapter of choice.
+
  
 +
* Open your terminal program, and go to the connection configuration section.
 +
** Baudrate: 115200
 +
** Parity: None
 +
** Stop Bits: 1
 +
** Flow Control: None
 +
** Com Port/Serial Device:
 +
*** Linux its going to be something like /dev/ttyUSB0 check dmesg after plugging it in to find it.
 +
*** Windows it will be something like Com0 look in Device Manager after plugging it in to find it.
  
[[File:didj-uart.jpg|thumb|350px|left|TX, RX, GND, and VCC soldered directly to the pins.]]
+
Do not connect to the device yet.
* Green UART-TX
+
* Grey UART-RX
+
* Black GROUND
+
* Red +3.3V
+
[[File:didj-cart-pinout.jpg|left|thumb|350px|Picture of the pinout of the LeapFrog Pollux Platform cartridge slot (Underside).]]
+
  
 +
== Configure Hardware ==
 +
You'll need to hook up the hardware, which includes connecting your adapter to your cartridge or cartridge connector pins. Connect adapter Rx to device Tx and adapter Tx to device Rx along with Ground to Ground. Then connect the adapter to your PC.
 +
 +
The +3.3V isn't needed for all Uart connections, however some of the USB->RS-232 breakout boards may require a +3.3V reference voltage..
 +
 +
With everything connected, and your terminal program connected on the right port. Start up your device, you should start seeing quite a bit of text on to the screen. This is the boot up messages, after 20 seconds or so, you should end up at a familiar command prompt, if not, trying hitting return to show it. Once you get the command line, type in ls, you should see a list of folders displayed. If you are not familiar with Linux, this is a good time to familiarize yourself, as you will need to be comfortable on a Linux command line.
  
 
[[Category:Didj]]
 
[[Category:Didj]]

Revision as of 09:17, 14 July 2011

Description

Console access is a fundamental building block when working with the LeapFrog Pollux Platform family of devices. It gives you the ability to list files, run scripts and programs, and generally look around inside the Linux operating system running on the device. A few items are needed, most notably an RS232 to TTL level shifter (MAX232) if you want to use the serial port on your PC to connect to the device, or, since those are getting scarce these days, a USB to Serial converter, something like an FTDI cable.

Software Needed

Terminal - TeraTerm, Minicom, Hyperterminal, Cutecom, etc will do.

Hardware Needed

Cartridge

RS232_Level_Shifter or FTDI type USB to TTL serial adapter. 3.3v versions are preferred.

Configure Terminal

  • Open your terminal program, and go to the connection configuration section.
    • Baudrate: 115200
    • Parity: None
    • Stop Bits: 1
    • Flow Control: None
    • Com Port/Serial Device:
      • Linux its going to be something like /dev/ttyUSB0 check dmesg after plugging it in to find it.
      • Windows it will be something like Com0 look in Device Manager after plugging it in to find it.

Do not connect to the device yet.

Configure Hardware

You'll need to hook up the hardware, which includes connecting your adapter to your cartridge or cartridge connector pins. Connect adapter Rx to device Tx and adapter Tx to device Rx along with Ground to Ground. Then connect the adapter to your PC.

The +3.3V isn't needed for all Uart connections, however some of the USB->RS-232 breakout boards may require a +3.3V reference voltage..

With everything connected, and your terminal program connected on the right port. Start up your device, you should start seeing quite a bit of text on to the screen. This is the boot up messages, after 20 seconds or so, you should end up at a familiar command prompt, if not, trying hitting return to show it. Once you get the command line, type in ls, you should see a list of folders displayed. If you are not familiar with Linux, this is a good time to familiarize yourself, as you will need to be comfortable on a Linux command line.