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

From eLinux.org
Jump to: navigation, search
(Connecting w/o Cartridge)
(Description)
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== Description ==
 
== Description ==
Console access is a fundamental building block when working with the [[LeapFrog_Pollux_Platform|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.
+
Console access is a fundamental building block when working with the [[LeapFrog_Pollux_Platform|LeapFrog Pollux Platform]] and [[LeapFrog_NXP3200_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 ==
 
== Software Needed ==
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]
  
== How To ==
+
== Configure Terminal ==
1. You'll need to hook up the hardware, which includes connecting your adapter to your cartridge. Connect adapter Rx to  cartridge Tx and adapter Tx to cartridge Rx along with Ground to Ground. Put the cartridge in the device and 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.
+
* 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.
  
2. Open your terminal program, and go to the connection configuration section.
+
Do not connect to the device yet.
* 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.
 
  
3. 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 coming 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.
+
== 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.
  
== Connecting w/o Cartridge ==
+
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..
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.
 
[[File:didj-cart-pinout.jpg|thumb|350px|Picture of the pinout of the Diji cartridge slot (Underside).]]
 
  
The serial console (115200 8N1) comes out to the cartridge connector.
+
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.
  
[[File:didj-uart.jpg|thumb|350px|left|TX, RX, GND, and VCC soldered directly to the pins.]]
+
[[Category:Didj]]
* Green UART-TX
+
[[Category:Leapster Explorer]]
* Grey UART-RX
+
[[Category:LeapPad Explorer]]
* Black GROUND
+
[[Category:LeapFrog Pollux Platform]]
* Red +3.3V
 

Revision as of 00:46, 14 February 2013

Description

Console access is a fundamental building block when working with the LeapFrog Pollux Platform and [[LeapFrog_NXP3200_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.