Difference between revisions of "Didj"

From eLinux.org
Jump to: navigation, search
Line 131: Line 131:
 
* [[Didj_Mem_Map|Initial Memory Map Dump]]
 
* [[Didj_Mem_Map|Initial Memory Map Dump]]
 
* [[Didj_GPIO_Map|Map of Didj GPIO Pins]]
 
* [[Didj_GPIO_Map|Map of Didj GPIO Pins]]
* [[DJHI Card Compatibility]]
 
  
 
=== JTAG Pin Out ===
 
=== JTAG Pin Out ===
<gallery widths=200px>
+
[[Image:JTAG PADS.jpg|350px|JTAG Test Pads]]
Image:JTAG PADS.jpg|JTAG Test Pads
 
</gallery>
 
  
 
* JTAG on pads
 
* JTAG on pads
Line 148: Line 145:
  
 
For details on mapping these pins to a standard 20-pin ARM JTAG adapter, see http://www.jtagtest.com/pinouts/arm20.
 
For details on mapping these pins to a standard 20-pin ARM JTAG adapter, see http://www.jtagtest.com/pinouts/arm20.
 +
=== Batteries and Recharger Station ===
 +
''' Battery Compartments '''
  
=== Images ===
+
The Didj has two identical battery compartments, the combined collection of batteries are wired in series.
 +
* Battery Compartment Terminals:
 +
** Term 1 - Battery +
 +
** Term 2 - Temp Sensor +  Wired to Pollux pins K20 / GPIOA 28 and K21 / GPIOA 29
 +
** Term 3 - Temp Sensor -
 +
** Term 4 - Battery -
 +
 
 +
''' Rechargeable Batteries '''
 +
 
 +
In addition to the terminals facing the Didj's contacts, there are another set of contacts facing away from the Didj.
 +
These contacts are duplicates used by the charging station.  The batteries themselves are NIMH cells, producing around 2.5v per pack when fully charged.
 +
 
 +
''' Recharging Station '''
 +
 
 +
The recharger station contains a battery charge circuit with temperature monitoring.  The station also has a pair of contacts that duplicate the 9V dc barrel jack.
 +
 
 +
 
 +
== Images ==
 
<gallery perrow=3 caption="PCB Images">
 
<gallery perrow=3 caption="PCB Images">
 
File:Scanned-desoldered-mainboard-front-v2.jpg |Front side mainboard, with LF1000 CPU and SDRAM de-soldered.
 
File:Scanned-desoldered-mainboard-front-v2.jpg |Front side mainboard, with LF1000 CPU and SDRAM de-soldered.
Line 172: Line 188:
 
** [http://hackaday.com/2010/02/01/leapfrog-didj-handheld-linux-on-the-cheap/ Didj Hacking]
 
** [http://hackaday.com/2010/02/01/leapfrog-didj-handheld-linux-on-the-cheap/ Didj Hacking]
 
** [http://hackaday.com/2010/02/03/leapfrog-didj-followup/ Didj Hacking Followup]
 
** [http://hackaday.com/2010/02/03/leapfrog-didj-followup/ Didj Hacking Followup]
 
= Batteries and Recharger Station =
 
 
=== Battery Compartments ===
 
The Didj has two identical battery compartments, the combined collection of batteries are wired in series.
 
Each battery compartment has four terminals:
 
*Term 1 - Battery +
 
*Term 2 - Temp Sensor +  Wired to Pollux pins K20 / GPIOA 28 and K21 / GPIOA 29
 
*Term 3 - Temp Sensor -
 
*Term 4 - Battery -
 
 
=== Rechargeable Batteries ===
 
In addition to the terminals facing the Didj's contacts, there are another set of contacts facing away from the Didj.
 
These contacts are duplicates used by the charging station.  The batteries themselves are NIMH cells, producing around 2.5v per pack when fully charged.
 
 
=== Recharger Station ===
 
The recharger station contains a battery charge circuit with temperature monitoring.  The station also has a pair of contacts that duplicate the 9V dc barrel jack.
 
 
  
  

Revision as of 13:54, 5 July 2011

The LeapFrog Didj

Platform

LeapFrog Pollux Platform

The Didj is part of 3 different devices that all share a common hardware platform, based around the Pollux SoC. The platform page contains information generic across these devices, and it is recommended that you refer to that page as it is a good starting point to understanding the Didj, and contains some basic How To's and Tutorials to get you started.

Project Summary

The Didj was a toy produced by Leapfrog marketed for educational games for children aged 5-10.

Didj was end-of-lifed by Leapfrog in mid-2010. It has been replaced by the Leapster Explorer.

Although Didj has a proprietary graphical front end, it runs a generic Linux distribution on an Arm based processor. Soon after the Didj's release, it was discovered that the cartridge port contained pins that allowed for serial console access with root privileges. After this discovery, work began to modify the Didj into an accessible emulation device.

Since development began, much has been accomplished, including:

  • Discovered that the Arm chip is the same as on the GP2X Wiz, only at a lower clock speed.
  • Created cartridges that support SD cards
  • Accessed the UART features in the cartridge slot

Project Goals

Here is a place to list all the the goals or wants that we have for this project.

  • GP2x / GP2X_Wiz
    • Port Libraries
    • Flash Player
    • Emulation (Wiz Emulators)
      • NES
      • SNES
      • Gameboy BW/Color/ Advance
      • Gamegear
      • MAME
      • Atari 2600
      • Colecovision
      • Others
  • GUI
    • Custom or Modified
      • Customizable Themes
  • Homebrew Games
  • Overclock Processor

Project Status and Issues

Emulators

GBA Emulator

Tutorials/How To's

Getting Started

Booting From External Sources

Toolchains/Cross Compiler Environments

Flashing the Didj

Hardware Adding, Hacking

LFConnect Software

Mounting Didj USB Drive

Networking

On Host

On Didj

Graphics


Kernel Update

Source Code

Development Scripts and Programs

Technical Information

Details

JTAG Pin Out

JTAG Test Pads

  • JTAG on pads
    • TP8 - VREF
    • TP9 - nTRST
    • TP10 - TDI
    • TP11 - TMS
    • TP12 - TCK
    • TP13 - TDO
    • TP14 - GND

For details on mapping these pins to a standard 20-pin ARM JTAG adapter, see http://www.jtagtest.com/pinouts/arm20.

Batteries and Recharger Station

Battery Compartments

The Didj has two identical battery compartments, the combined collection of batteries are wired in series.

  • Battery Compartment Terminals:
    • Term 1 - Battery +
    • Term 2 - Temp Sensor + Wired to Pollux pins K20 / GPIOA 28 and K21 / GPIOA 29
    • Term 3 - Temp Sensor -
    • Term 4 - Battery -

Rechargeable Batteries

In addition to the terminals facing the Didj's contacts, there are another set of contacts facing away from the Didj. These contacts are duplicates used by the charging station. The batteries themselves are NIMH cells, producing around 2.5v per pack when fully charged.

Recharging Station

The recharger station contains a battery charge circuit with temperature monitoring. The station also has a pair of contacts that duplicate the 9V dc barrel jack.


Images

Discussion


SSP / SPI Controller

Didj SPI Info

File System Info

  • rootfs / rootfs rw
  • /dev/root / jffs2 ro
  • none /proc proc rw
  • sysfs /sys sysfs rw
  • /dev/ram0 /tmp tmpfs rw
  • /dev/mtdblock1 /flags jffs2 rw,sync,noatime
  • /dev/mtdblock2 /mfgdata jffs2 ro,sync,noatime
  • /dev/mtdblock10 /Didj vfat rw,noatime,fmask=0022,dmask=0022,codepage=cp437,iocha rset=iso8859-1
  • /dev/mtdblock11 /Cart vfat ro,noatime,fmask=0022,dmask=0022,codepage=cp437,iocha rset=iso8859-1

Filesystem Size Mounted on

/dev/mtdblock6 14.0M /

/dev/mtdblock1 896.0k /flags

/dev/mtdblock2 1.0M /mfgdata

/dev/mtdblock9 215.8M /Didj


if at boot you see:

root=31:04

you are using mtd4: 00e00000 00020000 "Linux_RFS0"

root=31:06

you are using mtd6: 00e00000 00020000 "Linux_RFS1"


Important File Locations