Editing Syscon Hardware
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 2: | Line 2: | ||
PS4 Syscon is codenamed '''Colwick'''. It is a custom Renesas RL78/G13. | PS4 Syscon is codenamed '''Colwick'''. It is a custom Renesas RL78/G13. | ||
= Pictures = | = Pictures = | ||
Line 23: | Line 13: | ||
! Offset !! Size !! Description !! Notes | ! Offset !! Size !! Description !! Notes | ||
|- | |- | ||
| 0x00000 || 0x20000 || Code | | 0x00000 || 0x20000 || Code Area || | ||
|- | |- | ||
| 0x20000 || 0xD0000 || Reserved || OCDROM is here | | 0x20000 || 0xD0000 || Reserved || OCDROM is here | ||
|- | |- | ||
| 0xF0000 || 0x800 || | | 0xF0000 || 0x800 || SFR Area || | ||
|- | |- | ||
| 0xF0800 || 0x800 || Reserved | | 0xF0800 || 0x800 || Reserved || | ||
|- | |- | ||
| 0xF1000 || 0x1000 || Data | | 0xF1000 || 0x1000 || Data Area || | ||
|- | |- | ||
| 0xF2000 || 0xCF00 || Mirror || Mirror of a portion of | | 0xF2000 || 0xCF00 || Mirror || Mirror of a portion of code area | ||
|- | |- | ||
| 0xFEF00 || 0xFE0 || RAM || | | 0xFEF00 || 0xFE0 || RAM || | ||
|- | |- | ||
| 0xFFEE0 || 0x20 || | | 0xFFEE0 || 0x20 || GPR || | ||
|- | |- | ||
| 0xFFF00 || 0x100 || | | 0xFFF00 || 0x100 || SFR 2nd Area || | ||
|} | |} | ||
Line 114: | Line 104: | ||
! Name !! Description !! Notes | ! Name !! Description !! Notes | ||
|- | |- | ||
| SOH || | | SOH || Command Frame Header || 0x01 Always | ||
|- | |- | ||
| STX || | | STX || Data Frame Header || 0x02 Always | ||
|- | |- | ||
| LEN || | | LEN || Length of info || In Command Frame: length of COM + command info length / In Data frame: Data info length | ||
|- | |- | ||
| COM || | | COM || Command number || | ||
|- | |- | ||
| SUM || | | SUM || Checksum || checksum of command (initial byte (0x00) - LEN - COM - INFO ) / (initial byte (0x00) - LEN - DAT) | ||
|- | |- | ||
| ETB || | | ETB || Footer of data frame || 0x17 Always | ||
|- | |- | ||
| | | ETX || Command frame footer || 0x03 Always | ||
| | |||
| | |||
|- | |- | ||
|} | |} | ||
= | = Pinout (100pin) = | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
Line 482: | Line 206: | ||
| 40 || P70 || -> HDR-A pin 10 (HDR-A SPI-CLK) | | 40 || P70 || -> HDR-A pin 10 (HDR-A SPI-CLK) | ||
|- | |- | ||
| 41 || P06 || power switch (PSU-1) | | 41 || P06 || power switch(PSU-1) | ||
|- | |- | ||
| 42 || P05 || | | 42 || P05 || | ||
Line 510: | Line 234: | ||
| 54 || P50 || power switch (SB-1 + SB-2 + DDR3) | | 54 || P50 || power switch (SB-1 + SB-2 + DDR3) | ||
|- | |- | ||
| 55 || P51 || power switch (SB-0) (6pin near | | 55 || P51 || power switch (SB-0) (6pin near wifi + 8pin between SC/SB) | ||
|- | |- | ||
| 56 || P52 || testpoint? | | 56 || P52 || testpoint? | ||
Line 564: | Line 288: | ||
| 81 || P151 || power switch (PSU-3) | | 81 || P151 || power switch (PSU-3) | ||
|- | |- | ||
| 82 || P150 || | | 82 || P150 || WIFI reset? | ||
|- | |- | ||
| 83 || P27 || NC testpoint | | 83 || P27 || NC testpoint | ||
Line 586: | Line 310: | ||
| 92 || P102 || | | 92 || P102 || | ||
|- | |- | ||
| 93 || P04 || i2c ( | | 93 || P04 || i2c (PCIE clockgen smbus?) | ||
|- | |- | ||
| 94 || P03 || -> HDR-F pin 1 (i2c ( | | 94 || P03 || -> HDR-F pin 1 (i2c (PCIE clockgen smbus?)) | ||
|- | |- | ||
| 95 || P02 || -> HDR-F pin 2 (XXX did I fuckup the HDR-F mapping here?) | | 95 || P02 || -> HDR-F pin 2 (XXX did I fuckup the HDR-F mapping here?) | ||
Line 604: | Line 328: | ||
|} | |} | ||
= | = Dump and Restore = | ||
We are able to make a 1:1 copy of a PS4 Syscon and put it on another chip. This allows to install a dump of a PS4 Syscon to a brand new chip then swap it. | |||
This is often used in firmware revert [[Downgrade]] method to avoid having to flash the same chip each time one wants to revert firmware but instead only have to swap the chips. | |||
= Syscon glitching = | |||
By glitching Syscon, it is possible to dump its EEPROM, including NVS. | |||
To be documented. |