Hardware flashing: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
No edit summary
(Cleanup and more information)
Line 1: Line 1:
[[File:PS3_Hardware.JPG|thumb|Typical NOR flashing requires 16 Data wires, 23 Address wires and 3-4 control wires]]
Both early launch consoles which feature NAND flash memory and later consoles which feature NOR flash memory are able to be flashed. Currently the preferred method of flashing the dual-NAND consoles is by using an infectus modchip or similar.
Both early launch consoles which feature NAND flash memory and later consoles which feature NOR flash memory are able to be flashed. Currently the preferred method of flashing the dual-NAND consoles is by using an infectus modchip or similar.


Line 6: Line 8:


Work is currently underway to brink a low cost AVR based NOR flasher that is capable of reading and writing on all consoles by defyboy.
Work is currently underway to brink a low cost AVR based NOR flasher that is capable of reading and writing on all consoles by defyboy.
= NOR Interface Testpoints =
Probably to aid in factory programming, Sony provides NOR testpoints on the bottomside of the motherboard. There are 16 data lines (Word access) and generally 23 Address lines. You will also need to control Chip Enable (#CE), Write Enable (#WE), Tristate (SB_DISABLE) and for some boards Write Protect (#WP)
== Tristate ==
Tristate, or as it is referred to in the service manuals SB_DISABLE exists solely for the purpose of placing the south-bridge pins into high-impedance (the third state) so that we can access the flash without the south-bridge interfering.
Because the tristate pin is not connected to the NOR flash TSOP package, but to the South bridge BGA package, this makes tracing the pin quite difficult. One should be able to locate it by having the running you could ground out the unknown pins whilst checking the continuity of a known address or data line against ground. These should enter high-impedance or no-continuity when you ground out SB_DISABLE.
= Board Revisions =


== COK-001, COK-002, SEM-001 ==
== COK-001, COK-002, SEM-001 ==
[[File:SS2_NOR.JPG|thumbnail|SS2 NOR Testpoints]]
These are the earliest revisions of the PS3 motherboard (CECHA, CECHB, CECHC, CECHE, CECHG) and contain 2 x Samsung K9F1G08U0A-PIB0 128MB NAND Chips for a total of 256MB. These chips are interleaved which is controlled by a proprietary controller chip codenamed "Starship 2" or SS2. This chip handles the interleaving and presents the NANDS to the southbridge as a single large coherent NOR Chip.
These are the earliest revisions of the PS3 motherboard (CECHA, CECHB, CECHC, CECHE, CECHG) and contain 2 x Samsung K9F1G08U0A-PIB0 128MB NAND Chips for a total of 256MB. These chips are interleaved which is controlled by a proprietary controller chip codenamed "Starship 2" or SS2. This chip handles the interleaving and presents the NANDS to the southbridge as a single large coherent NOR Chip.
Probably to aid in factory programming, Sony provides NOR testpoints on the bottomside of the motherboard. There are 16 data lines (Word access) but only 18 address lines, Which would not be sufficient to address all 256MB of memory with word access. One would assume that some kind of paging or bank switching is involved here.




== DIA-001, DIA-002 ==
== DIA-001, DIA-002 ==
[[File:DIA-001_NOR.JPG|thumbnail|DIA-001 NOR Testpoints]]
These boards were the first to get the NOR flash memory from the middle revisions of the PS3 (CECHH, CECHJ, CECHK). Only a single Spansion S29GL128N90TFIR2 16MB NOR flash chip is used and the Starship 2 chip has been completely removed. The 128N is JEDEC CFI compliant and organized as 8,388,608 words or 16,777,216 bytes, addressable as 16-bit words (PS3 modus operandi) and 8-bit / 1 byte when the BYTE# signal is logic zero.
These boards were the first to get the NOR flash memory from the middle revisions of the PS3 (CECHH, CECHJ, CECHK). Only a single Spansion S29GL128N90TFIR2 16MB NOR flash chip is used and the Starship 2 chip has been completely removed. The 128N is JEDEC CFI compliant and organized as 8,388,608 words or 16,777,216 bytes, addressable as 16-bit words (PS3 modus operandi) and 8-bit / 1 byte when the BYTE# signal is logic zero.
Again, Sony has provided NOR testpoints on the bottomside of the motherboard. There are 16 data lines (Word Access), 23 Address lines, And several control signals provided direct from the NOR flash itself. In addition to these are testpoints to provide +3.3v, GND and "Tristate" (To disable the southbridge)


== VER-001 ==
== VER-001 ==
[[File:VER-001_NOR.JPG|thumbnail|VER-001 NOR Testpoints]]
Used in the last revisions of the fatter model PS3 (CECHL, CECHM, CECHP, CECHQ), again with the single Spansion S29GL128N90TFIR2 16MB NOR flash with the exception of the CECHL which used a Samsung K8Q2815UQB-P14B 16MB NOR flash.
Used in the last revisions of the fatter model PS3 (CECHL, CECHM, CECHP, CECHQ), again with the single Spansion S29GL128N90TFIR2 16MB NOR flash with the exception of the CECHL which used a Samsung K8Q2815UQB-P14B 16MB NOR flash.
Of course, A NOR interface was provided on the bottomside of the board, in yet another different layout.


== JSD-001 ==
== JSD-001 ==
[[File:DYN-001_NOR.JPG|thumbnail|DYN-001 Testpoints]]


== JSD-001 ==
== JSD-001 ==
[[File:JSD-001_NOR.JPG|thumbnail|JSD-001 Testpoints]]
This is the pinout originally supplied by Marcan for a CECH-2504A, Points match those taken from a CECH-2504B slim console. Most slims may carry this arrangement.
This is the pinout originally supplied by Marcan for a CECH-2504A, Points match those taken from a CECH-2504B slim console. Most slims may carry this arrangement.
= Pinout Gallery =
<Gallery>
File:SS2_NOR.JPG|SS2 NOR Testpoints
File:VER-001_NOR.JPG|VER-001 NOR Testpoints
File:DIA-001_NOR.JPG|DIA-001 NOR Testpoints
File:DYN-001_NOR.JPG|DYN-001 Testpoints
File:JSD-001_NOR.JPG|JSD-001 Testpoints
</Gallery>

Revision as of 01:55, 10 May 2011

Typical NOR flashing requires 16 Data wires, 23 Address wires and 3-4 control wires

Both early launch consoles which feature NAND flash memory and later consoles which feature NOR flash memory are able to be flashed. Currently the preferred method of flashing the dual-NAND consoles is by using an infectus modchip or similar.


Marcan has made a NOR flasher / address sniffer for his PS3 slim by re-purposing a FPGA board made for Wii hacking. noralizer is a git repo that contains the HDL (verilog) and associated host computer tools for flashing/sniffing. There are ~50 signals to solder. Some PS3s contain two NAND flashes (block devices, unlike NOR flash) that interleave their data. [citation needed]


Work is currently underway to brink a low cost AVR based NOR flasher that is capable of reading and writing on all consoles by defyboy.

NOR Interface Testpoints

Probably to aid in factory programming, Sony provides NOR testpoints on the bottomside of the motherboard. There are 16 data lines (Word access) and generally 23 Address lines. You will also need to control Chip Enable (#CE), Write Enable (#WE), Tristate (SB_DISABLE) and for some boards Write Protect (#WP)

Tristate

Tristate, or as it is referred to in the service manuals SB_DISABLE exists solely for the purpose of placing the south-bridge pins into high-impedance (the third state) so that we can access the flash without the south-bridge interfering.

Because the tristate pin is not connected to the NOR flash TSOP package, but to the South bridge BGA package, this makes tracing the pin quite difficult. One should be able to locate it by having the running you could ground out the unknown pins whilst checking the continuity of a known address or data line against ground. These should enter high-impedance or no-continuity when you ground out SB_DISABLE.

Board Revisions

COK-001, COK-002, SEM-001

These are the earliest revisions of the PS3 motherboard (CECHA, CECHB, CECHC, CECHE, CECHG) and contain 2 x Samsung K9F1G08U0A-PIB0 128MB NAND Chips for a total of 256MB. These chips are interleaved which is controlled by a proprietary controller chip codenamed "Starship 2" or SS2. This chip handles the interleaving and presents the NANDS to the southbridge as a single large coherent NOR Chip.


DIA-001, DIA-002

These boards were the first to get the NOR flash memory from the middle revisions of the PS3 (CECHH, CECHJ, CECHK). Only a single Spansion S29GL128N90TFIR2 16MB NOR flash chip is used and the Starship 2 chip has been completely removed. The 128N is JEDEC CFI compliant and organized as 8,388,608 words or 16,777,216 bytes, addressable as 16-bit words (PS3 modus operandi) and 8-bit / 1 byte when the BYTE# signal is logic zero.

VER-001

Used in the last revisions of the fatter model PS3 (CECHL, CECHM, CECHP, CECHQ), again with the single Spansion S29GL128N90TFIR2 16MB NOR flash with the exception of the CECHL which used a Samsung K8Q2815UQB-P14B 16MB NOR flash.

JSD-001

JSD-001

This is the pinout originally supplied by Marcan for a CECH-2504A, Points match those taken from a CECH-2504B slim console. Most slims may carry this arrangement.

Pinout Gallery