Teensy++ 2.0: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
Line 269: Line 269:
*** Need submissions...
*** Need submissions...


=== Teensy adapter Board for NANDway ===
=== Teensy adapter Board for NANDway v1 ===
Layout for a PCB without external Voltage-source (this was the first version without capacitors, Voltageregulator and two bridges)
 
deprecated, use v2 instead
 
==== Gallery ====
<gallery>
File:Teensy adapter Board for NANDway v1 - top.jpg|Teensy adapter Board for NANDway v1 - top
File:Teensy adapter Board for NANDway v1 - bottom.jpg|Teensy adapter Board for NANDway v1 - bottom
</gallery>
 
==== Download ====
[http://playstationhax.it/forums/index.php?app=core&module=attach&section=attach&attach_id=53 Teensy2Clip - Folie.pdf] [https://mega.co.nz/#!Dls10aqQ!yawLBI-hRRksCJmExqwi4B6MQV7Hk8NEfspxAnOu-EQ mirror]
 
=== Teensy adapter Board for NANDway v2 ===


[[File:Teensy adapter Board for NANDway - intro.jpg|Teensy adapter Board for NANDway]]<br />
[[File:Teensy adapter Board for NANDway - intro.jpg|Teensy adapter Board for NANDway]]<br />

Revision as of 18:39, 11 January 2015

Teensy 2.0 ++ Powering

Powering option 1 (voltage regulator, Teensy powered by USB)

Install the 3.3V voltage regulator available at pjrc.com! 5V trace has to be cut and 3V pads have to be shorted! Please refer to https://www.pjrc.com/teensy/3volt.html

DON'T CONNECT THE VCC SOLDER PADS TO ANYTHING!

Powering option 2 (external power, Teensy powered by console)

Connect Teensy's VCC solder pad to PS3's 3.3V supply (see connection diagram). 5V trace has to be cut and 3V pads have to be shorted! Please refer to https://www.pjrc.com/teensy/3volt.html

DON'T INSTALL VOLTAGE REGULATOR!

Teensy 2.0 ++ Downloads

NORway

Used to analyze dumps and also contains hex files to program the Teensy itself.

Mac OS-X patch

if you are on Mac OS-X and having problems with timeouts:

<MikeM64> hahaha, it's a dirty fix, but it seems to work XD
<MikeM64> lemme compile diffs, I got perfect writes happening on my mac now
<MikeM64> 10 writes and 2 timeouts; not bad. better than 20 timeouts / write
<MikeM64> http://pastie.org/8570558 if anyone needs it

NANDway

Project home:

precompiled by judges : http://www.mediafire.com/?i5y1mhhh5lz62xu

Teensy NAND Pinout

File:TeensyNAND.png

Notes:

  • WP: When the NANDs are mounted on the PS3 motherboard - the WP controllines are already connected to +3.3V. If Teensy is used for NANDs on the PS3 motherboard - the WP wire for each NAND can be discarded.
  • Vcc: Teensy 3.3V regulator cannot power the NANDs on the PS3. The drain of the motherboard summed by the other peripherals draw too much current (~1.8A). The NANDs can be powered from external 3.3V power supply like ATX power supply (the orange 3.3V line of the ATX main connector).

NANDway usage

NANDWay.py Serial-Port 0/1 Command

  Serial-Port  Name of serial port to open (eg. COM1, COM2, /dev/ttyACM0, etc)
  0/1  NAND id number: 0-NAND0, 1-NAND1
  Commands:
  *  dump Filename [Offset] [Length]
     dumps to Filename at [Offset] and [Length]
  *  vwrite/write Filename [Offset] [Length]
     Flashes (v=verify) Filename at [Offset] and [Length]
  *  vdiffwrite/diffwrite  Filename Diff-file
     Flashes (v=verify) Filename using a Diff-file
  *  release
     Releases TRISTATE, so that the PS3 can boot
  *  bootloader
     Enters Teensy's bootloader mode (for Teensy reprogramming)
     Notes: 1) All offsets and lengths are in hex
            2) The Diff-file is a file which lists all the changed
               offsets of a dump file. This should increase flashing
               time dramatically.

Examples:

  NANDWay.py COM1
  NANDWay.py COM1 0 dump d:\myflash.bin
  NANDWay.py COM1 1 dump d:\myflash.bin 3D a0
  NANDWay.py COM1 0 write d:\myflash.bin
  NANDWay.py COM3 1 write d:\myflash.bin
  NANDWay.py COM3 1 vwrite d:\myflash.bin 8D A0000
  NANDWay.py COM4 0 diffwrite d:\myflash.bin d:\myflash_diff
  NANDWay.py COM3 1 vdiffwrite d:\myflash.bin d:\myflash_diff
  NANDWay.py COM1 0 release

NORway usage

Usage: %s serialport [command] [filename] [address]
    
serialport  Name of serial port to open (eg. COM1, COM2, /dev/ttyACM0, etc)
command     dump       Reads entire NOR to [filename]
            erase      Erases one sector (128KB) at [address]
            write      Flashes (read-erase-modify-write-verify) [filename]
                       at [address] to NOR
            writeimg   Same as write, but prepend a 16-byte length header
                       [address] is required
            program    Flashes (erase-write-verify) [filename]
                       at [address] to NOR
            release    Releases NOR interface, so the PS3 can boot
filename    Filename for [dump|write|writeimg|program]
address     Address for [erase|write|writeimg|program]
            Default is 0x0, address must be aligned (multiple of 0x20000)

Drivers & UDEV Rules

The Teensy 2.0++ needs windows drivers and linux udev rules to be recognized fully as it was meant to.

WAY-launchers

Simple GUI to run NORway, NANDway and SPIway.

Project home:

Hardware Picture

Teeny++ Dev Board

Installation Requirements

You are going to need a lot parts to accomplish such a task. This takes a lot of patience, and steady hands.
This is a difficult installation! If a part is not needed below it will be specified per model so check there as well.

Parts

The following items are required to perform the installation of the Teensy++ to most PS3 consoles.

1x Sony Playstation 3 Console
1x Teensy 2.0 ++
1x Dremel Tool (Not needed on some models)
1x Drill
1x Roll of Double Sided Foam Tape
1x 30AWG Kynar Wire or 26 AWG Kynar Wire. (Few have reported 30AWG may be too small and has interference but does work if done well.)
1x Torque 10(T-10) Screwdriver
1x Torque 8 (T-8) Screwdriver
1x Regular Phillips Head Screwdriver
1x Solder (Can be leaded or no-lead)
1x Soldering Iron (Radioshack 15-30 Watt Will Work.)
1x Bottle Of Flux No-Clean
1x Bottle Of 99% Isoprobyl Alcohol
1x Box of Q-Tips (For spreading flux and alcohol where needed.)
1x Pair Of Steady Hands (Not Joking. Tremor Fingers will not cut it. You are soldering 40+ points and all must be done very well.)
1x Good Lighting (Either very well lighted room, or a Lamp. You need to be able to check your work.)
1x Magnifying Glass (To check your soldering joints for cold solders.)
1x Patience.

As you can see it requires a lot of materials to perform this kind of job. If you do not already have the parts for this kind of project, it will probably be cheaper to pay someone else to do it and ship it to and from them. Also if you are not confident in your soldering technique, it is a very realistic possibility that you will ruin your Playstation 3 Console during this process as there are a LOT of soldering joints that need to be perfectly made.

Teensy Install Notes by CECH Model

First open the PS3. Follow youtube videos to learn how (Just search).

Once opened, look at the motherboard model printed there. Depending on which model you have follow the case modifications below to install teensy.

There are two methods to use a Teensy 2.0++ Flasher.

1.) Install while the PS3 is somewhat opened still with everything plugged in. (Be careful of shorts.)

2.) Internal Case Modifications. This is the best way to go as you can install the teensy inside of the PS3 for later use. This is the advantage of using a Teensy 2.0++ because it's just small enough to install inside the PS3 with a little case modification. Other flashers are generally too large to do this with the PS3 closed up. You will find there is just no room for it.

COK-001, COK-002, COK-002W, SEM-001

I used the image for the Progskeet, along with an image of which Progskeet pin(GP1 etc.) corresponds to which NAND chip pin name (WP, ALE, CLE, I/O1 etc.) to create a diagram of which testpoint on the mainboard goes to which leg of the NAND chips made by Samsung.

Diagram for wiring Teensy++ 2.0 to a PS3 COK-002 mainboard

So now you can use this diagram not only for downgrading/dumping/writing the NANDs with a Teensy++ 2.0 board, but with any other board available on the Internet.

Important: You must provide a stable 3.3V PSU to both the PS3 board and the Teensy, and don’t forget to unite the GNDs. You can use any PSU which outputs 3.3V @ 1.8A+, the easiest option will be to use a PC PSU.

DIA-001, DIA-002

Parts not needed? Submitter please list here.


Installation and Case Modification

This installation the case was not modified. It was flashed while opened, and removed.

Teensy++ tucked away below where the psu sits, usb cable hanging out.
Teensy++ soldered to NOR testpoints

VER-001

Usage :

1 - Connect first SB VCC 2v Max

2 - Connect in second step Vcc Teensy2++ 3.3v

Installation and case modification

In this installation, the cables were strategically soldered to fit better and not break or short when the power supply was placed, so no external power was needed.

The shielding was cut with a small dremel to have a more permanent install.
Teensy++ soldered to NOR testpoints
Each pin was carefully bent and were soldered with an idea of where they'd fit between the BD and PSU. Double sided tape was used to hold the teensy 2.0++ in place.
A small port was made for the usd, and a button was later placed next to it for teensy programing

DYN-001

Parts not needed - Torque T-10 Screwdriver. (T-8 IS still needed!)

Installation and Case Modifications

Be sure to make a screw map when disassembling the PS3, there are a lot of screws, and you will not remember where they go.

First and Second dremel area. These 4 pictures show before and after affects and where to dremel on the top side shielding.

DYN-001 Placement Area and first dremel
DYN-001 Wire direction and second dremel
DYN-001 Post dremel for Teensy placement
DYN-001 Teensy fits. Need to wait until MB is back in shielding before final placement.

Third dremel area. These pictures show before and after affects and where to dremel on the bottom side shielding.
This helps with interference by running wires outside the shielding instead of inside. This method has to be done
on these models as unlike JSD-001 Models there are no holes or spaces between the HDD and shielding. It's connected
on DYN-001 Models.

NOTE: When placing teensy, DO NOT PLACE directly on the shielding. Make sure you use a strip of double sided foam tape. to act between the shielding and teensy.

DYN-001 Wire direction and third dremel
DYN-001 Post dremel of bottom shield
DYN-001 Reconstruct shielding and Chip Mounts
DYN-001 Post Wire Job Topside.
DYN-001 Post Wire Job Underside.

Forth and last dremel area. This is done on the case itself. The port for the teensy is covered by the HDD cover area. You will have to take care in cutting open the area. If you did not spread your wires out evenly on the underside of the shielding, it will create a raised section and the port itself will be too high to reach and may have to dremel higher.

DYN-001 Open Port
DYN-001 USB Cable plugged into flasher
DYN-001 HDD + Teensy Cover :)

Notes on Reassembly: Before putting back the blu-ray drive, carefully bend each wire on the topside flat by hand ONE AT A TIME so you do not break the solder joints on the teensy. If you do not bend them flat by hand one at a time carefully, the drive could easily undo one of your soldering joints and you will have to start again. (I managed to do it on the first try. Did I say that you needed 1x of Patience?

Testing: You can test your work before putting the cover top back on. Just make sure blu-ray and power-supply are connected and everything else before trying. This is so you know that everything is fitting okay and that the install has worked for you. Take 3 dumps (Read above on how to take a dump of NOR) and compare them. Do md5sum and sha1sum, and then try and unpack them with norunpack from f0f tools. If they all match, and it unpackages, congratulations you have a good dump!

JSD-001

No dremel required. Design of this CECH 2500 series has an opened hole area to put wires through.


Installation and Case Modification

JSD-001 Teensy Placement. Mounted using double sided foam tape.

JSD-001 Port cut and drilled to view teensy usb port from outside.
JSD-001 Post wire job from motherboard view with wire wrap.

JSD-001 Teensy placement and wired up. Notice open space.
File:JSD-001 testpoints.png
JSD-001 Motherboard NOR Test Points.

JSD-001, Teensy2.0++ Connection Diagram

SUR-001/JTP-001/KTE-001

      • Need submissions...

Teensy adapter Board for NANDway v1

Layout for a PCB without external Voltage-source (this was the first version without capacitors, Voltageregulator and two bridges)

deprecated, use v2 instead

Gallery

Download

Teensy2Clip - Folie.pdf mirror

Teensy adapter Board for NANDway v2

Teensy adapter Board for NANDway
Source article: http://playstationhax.it/forums/topic/1149-teensy-adapter-board-for-nandway/

Hey. in the past, i create a simple adapter board to connect the Teensy to a "360-clip NAND Clip" (the classic kind of NAND Clips). It's easier and faster to solder a board than wire the cables, no more problems with cable breaks and a good connection. An english speaking user ask me for a solder tutorial, so I thought on this occasion, i can write directly to the community. :) Of course, you can find all what you need below to order your own boards.

I hope i could help someone
with kind regards
esprit1711 from psXtools Team :)

But now the tutorial with some words (the most things should be self-explanatory).

What you need

Teensy adapter Board for NANDway - what you need

  • 1x adapter board
  • 1x Teensy++ 2.0
  • 1x 5V to 3,3V Voltage Regulator for the Teensy (MCP1825, LM3940 or Pin-compatible)
  • 1x TSSOP 32 NAND-Clip (360-Clip) with equipment (Flat-cable, Pin-header (2x11) and the red adapter board (you get always all these things when you buy a new NAND Clip))
  • 2x Pin-header (1x20)
  • 1x Pin-header (2x4)
optional but recommendable
Optional (if you want power the NAND with external Power)
  • 1x 5V to 3,3V Voltage Regulator (LMS1587CS-3.3 or Pin-compatible)
  • 1x 5V Powersupply (minimum 3A)
Tools
  • Blade
  • Soldering Iron
  • Solder (with rosincore, unless you use flux)
  • Side Cutter

Prepare the Teensy

Teensy adapter Board for NANDway - prepare the Teensy

First of all, we cut the following bridge on the bottom side of the Teensy so that the Teensy no longer works with 5V

Teensy adapter Board for NANDway - cut 5V bridge

now, we solder a bridge between the middle common solder pad and the 3,3V pad

Teensy adapter Board for NANDway - solder 3V bridge

finally, we solder the voltage regulator on the Teensy

Teensy adapter Board for NANDway - solder regulator on Teensy

Solder the adapter board

Solder pinheaders on adapterboard

Solder the pin-header on the board (be careful, the plastic of the pin-header could melt fast)

Teensy adapter Board for NANDway - solder pinheaders on adapterboard

now, plug the red adapter board (which was at the NAND-clip) on the pin-header, solder the pins and cut them if they are too long.

Solder adapterboard on pinheader

Teensy adapter Board for NANDway - solder adapterboard on pinheader

Mount Teensy to board

You can choose, if you want solder the Teensy fixed on the board....

Teensy adapter Board for NANDway - solder teensy on pinheader

... or solder the Teensy on female connector to unplug him any time

Teensy adapter Board for NANDway - solder teensy on female pinheader

Powersource 1x3 pinheader

with the following 1x3 pin-header, you can choose the Powersource for the NAND (external, or USB) (sometimes it can cause problems, when you use the USB as Power Supply)

Teensy adapter Board for NANDway - 1x3 Pinheader Powersource

when you Power the NAND by USB, the final step is to connect the common header-pin with outermost pin

Teensy adapter Board for NANDway - 1x3 Pinheader Powersource by USB

Optional things:
Filtering

for a cleaner voltage, you should solder the capacitors

Teensy adapter Board for NANDway - Solder capacitors for cleaner voltage

Teensy adapter Board for NANDway - Soldered capacitors for cleaner voltage

External regulator

you can also solder a stronger voltage-regulator (than the one on the Teensy) to connect a stronger 5V power supply (than your USB Port).

Before you solder the regulator on the board, you should prepare the large pad of the Regulator and the Board with a layer of tin.

Teensy adapter Board for NANDway - Prepare regulator

Teensy adapter Board for NANDway - Soldered Regulator

DC connector

you can connect your 5V Power supply on the marked solder points. I used a DC-coupling for a better handling

Teensy adapter Board for NANDway - DC connector for external 5V supply

when you want use the external voltage, you must reposition the jumper (like you can see on the picture), but you can always change the powersource with the jumper

Where you can buy this boards?

You can find a zip-file to download below. in this file, you find the complete project folder. You can use the files to view and change the Layout or the circuit diagram, but if you only want a board, you can send this zip-file to a PCB service. I order my boards always at elecrow.com. The board has a size of 55mm x 45mm, so you must order the boards on this page.

Before you add your order to the cart, the options should (except the colour, this is your choice) look like on the following picture (a change of the order quantity only changed the weight and the transportation costs, so i order always 10 boards)

Teensy adapter Board for NANDway - Elecrow

Download

Teensy Adapter Platine V2.zip mirror

You can open the project file with Target3001 (the simplest variant of this tool is free), but below, you find a pdf of the schematic, too

Teensy Adapter Platine V2.pdf mirror