Editing PS3Cobra Payload Reverse Engineering
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 1: | Line 1: | ||
[[Category:Software]][[Category:Hardware]] | |||
=Description= | =Description= | ||
Dongle is DRM to make sure you have the dongle, the firmware 'special' functionality will not work without it. <br /> | Dongle is DRM to make sure you have the dongle, the firmware 'special' functionality will not work without it. <br /> | ||
Hardwarewise, there are many simularities with [[ | Hardwarewise, there are many simularities with [[PS3JB2_Reverse_Engineering#Hardware_Dongle|PSJB2/TrueBlue]] | ||
Line 58: | Line 55: | ||
| 25EC18 || bl sub_12934 || bl sub_500960 || || | | 25EC18 || bl sub_12934 || bl sub_500960 || || | ||
|- | |- | ||
| 271AF0 || stdu %sp, var_B0(%sp) || b loc_500808 || b loc_500818 || (syscall864 | | 271AF0 || stdu %sp, var_B0(%sp) || b loc_500808 || b loc_500818 || (syscall864) <s>Again, wrong here, loc_500808 is a bad jump.</s><br>this is 1.2! | ||
|- | |- | ||
| 273F80 || stdu %sp, var_B0(%sp) || b sub_500878 || b sub_500990 || (syscall867 | | 273F80 || stdu %sp, var_B0(%sp) || b sub_500878 || b sub_500990 || (syscall867)<s>you have a critical mistake, sub_500878 IS WRONG, :), if you jump here you crash your lv2</s><br> YOUR CRITICAL MISTAKE WAS ONLY PUT 1.2, NOW YOU FIX IT, THANKS<br>didn't meant to be rude, sry :) | ||
|- | |- | ||
| 29245C || stdu %sp, var_100(%sp)|| b sub_5005A8 || || | | 29245C || stdu %sp, var_100(%sp)|| b sub_5005A8 || || | ||
Line 68: | Line 65: | ||
| 293A18 || ld %r9, stru_3403A0 || b sub_500540 || || | | 293A18 || ld %r9, stru_3403A0 || b sub_500540 || || | ||
|- | |- | ||
| 296550 || stdu %sp, var_D0(%sp) || b sub_500640 || ||(syscall606 | | 296550 || stdu %sp, var_D0(%sp) || b sub_500640 || ||(syscall606) | ||
|- | |- | ||
| 296928 || stdu %sp, var_D0(%sp) || b sub_500770 || ||(syscall619 | | 296928 || stdu %sp, var_D0(%sp) || b sub_500770 || ||(syscall619) | ||
|- | |- | ||
| 29BD48 || b sub_11850 || b sub_500358 || || | | 29BD48 || b sub_11850 || b sub_500358 || || | ||
Line 293: | Line 290: | ||
Extern (PS1): | Extern (PS1): | ||
* ''/dev_usb/PSXISO'' | * ''/dev_usb/PSXISO'' | ||
</td></tr> | </td></tr> | ||
<tr><td with="50%"> | <tr><td with="50%"> | ||
Line 346: | Line 336: | ||
Datasheets and usermanuals: http://www.actel.com/products/pa3/docs.aspx#ds <br /> | Datasheets and usermanuals: http://www.actel.com/products/pa3/docs.aspx#ds <br /> | ||
Familyroot: http://www.actel.com/products/pa3/ <br /> | Familyroot: http://www.actel.com/products/pa3/ <br /> | ||
===== Pinout A3P060 VQ100 ===== | ===== Pinout A3P060 VQ100 ===== | ||
Line 563: | Line 552: | ||
==== 12.000 MHz Crystal ==== | ==== 12.000 MHz Crystal ==== | ||
Y2 <br /> | Y2? <br /> | ||
CLK for Atmel <br /> | |||
==== AMS1117 3.3 1032 - Low Dropout Linear Regulator ==== | ==== AMS1117 3.3 1032 - Low Dropout Linear Regulator ==== | ||
U3 <br /> | U3 <br /> | ||
Datasheet: | Datasheet: http://www.sltdigital.com/product/product_pdf/AMS1117.pdf / http://home1.cyber-labo.co.jp/board/goods/pdf/AMS1117.pdf <br /> | ||
[[:File:AMS1117 - SOT-223.png]]<br /> | |||
==== A 47 ( | ==== A 47 (unreferenced 5pin IC : U4) ==== | ||
U4 <br /> | |||
< | A 47 <!--// 51c or s1c ? - hard to see without magnifier //--> <br /> | ||
[[:File:SOT5.PNG]]<br /> | |||
</ | <br /> | ||
==== Atmel ATmega 16A (16MHz AVR - 16KB flash - USB stack + DFU) ==== | ==== Atmel ATmega 16A (16MHz AVR - 16KB flash - USB stack + DFU) ==== | ||
Line 590: | Line 577: | ||
! Pin !! Function !! Notes | ! Pin !! Function !! Notes | ||
|- | |- | ||
| 1 || (MOSI) PB5 || | | 1 || (MOSI) PB5 || | ||
|- | |- | ||
| 2 || (MISO) PB6 || | | 2 || (MISO) PB6 || | ||
|- | |- | ||
| 3 || (SCK) PB7 || | | 3 || (SCK) PB7 || | ||
|- | |- | ||
| 4 || RESET || | | 4 || RESET || | ||
Line 602: | Line 589: | ||
| 6 || GND || | | 6 || GND || | ||
|- | |- | ||
| 7 || XTAL2 || | | 7 || XTAL2 || | ||
|- | |- | ||
| 8 || XTAL1 || | | 8 || XTAL1 || | ||
|- | |- | ||
| 9 || (RXD) PD0 || | | 9 || (RXD) PD0 || | ||
|- | |- | ||
| 10 || (TXD) PD1 || | | 10 || (TXD) PD1 || | ||
|- | |- | ||
| 11 || (INT0) PD2 || | | 11 || (INT0) PD2 || | ||
Line 636: | Line 623: | ||
| 23 || (TDO) PC4 || | | 23 || (TDO) PC4 || | ||
|- | |- | ||
| 24 || (TDI) PC5 || | | 24 || (TDI) PC5 || | ||
|- | |- | ||
| 25 || (TOSC1) PC6 || | | 25 || (TOSC1) PC6 || | ||
Line 642: | Line 629: | ||
| 26 || (TOSC2) PC7 || | | 26 || (TOSC2) PC7 || | ||
|- | |- | ||
| 27 || AVCC || | | 27 || AVCC || | ||
|- | |- | ||
| 28 || GND || | | 28 || GND || | ||
Line 664: | Line 651: | ||
| 37 || (ADC0) PA0 || | | 37 || (ADC0) PA0 || | ||
|- | |- | ||
| 38 || VCC || | | 38 || VCC || | ||
|- | |- | ||
| 39 || GND || | | 39 || GND || | ||
Line 680: | Line 667: | ||
|} | |} | ||
</div> | </div> | ||
==== Winbond 25X16AVSIG (SPI Flash 16Mbit) ==== | ==== Winbond 25X16AVSIG (SPI Flash 16Mbit) ==== | ||
<div style="float:right">[[File:W25X16A - SOIC-8.png|200px|thumb|left|8-pin TSSOP<br />Winbond 25X16A<br />SOIC-8 pinout]]</div> | |||
U1 <br /> | |||
<pre>W - Winbond | |||
25X - SPI Flash with 4KB sectors/64Kbyte blocks, dual output | |||
16A - 16Mbit / 2M-byte | |||
V - Supply Voltage 2.7 to 3.6V | |||
S - Package Type : 8pin SOIC 150-mil | |||
I - Temperature Range: Industrial (-40'C ~ 85'C) | |||
G - Environment: Green Package (Lead-free, RoHS Compliant, Halogen-free (TBBA), Antimony-Oxie-free)</pre> | |||
<div style="float:right">[[File: | datasheet: [http://www.multiupload.com/P2833U5SOW W25X16A.pdf (1.3 MB)] <br /> | ||
Note: can use [http://blog.hodgepig.org/busninja/ Bus Ninja] or [http://flashrom.org/Bus_Pirate Bus Pirate] and [http://flashrom.org/Flashrom FlashROM] - <abbr title="In-System Programming (ISP)">ISP</abbr> is possible, so long as no other devices on the SPI bus are trying to access the device (in that case, you might want to cut Vcc to the FPGA or the regulator for it). | |||
{| border="1" cellspacing="0" cellpadding="5" border="#999" class="wikitable" style="border:1px solid #999; border-collapse: collapse;" | {| border="1" cellspacing="0" cellpadding="5" border="#999" class="wikitable" style="border:1px solid #999; border-collapse: collapse;" | ||
|- bgcolor="#cccccc" | |- bgcolor="#cccccc" | ||
! Pin !! Usage !! | ! Pin !! Usage !! I/O !! Remarks | ||
|- | |- | ||
| 1 || | | 1 || /CS || I || Chip Select (high=deselect, low=select) | ||
|- | |- | ||
| 2 || | | 2 || DO || O || Data output | ||
|- | |- | ||
| 3 || | | 3 || /WP || I || Write Protect (active low) | ||
|- | |- | ||
| 4 || | | 4 || GND || || Ground | ||
|- | |- | ||
| 5 || DIO || I/O || Serial data input/output | |||
|- | |||
| 6 || CLK || I || Serial Clock | |||
|- | |||
| 7 || /HOLD || I || Hold (high=normal/resume, low=hold/pause) | |||
|- | |||
| 8 || VCC || || Vcc (min 2.7-max 3.6V @ Fr0 75MHz / min 3.0-max 3.6V @ Fastread Fr1 100MHz) | |||
|- | |||
|} | |||
==== DG/PS3/PC Selection switch ==== | |||
This switch is tied to pin 4 of the [http://www.ps3devwiki.com/index.php?title=PS3JB2_Reverse_Engineering#Winbond_25X16AVSIG_.28SPI_Flash_16Mbit.29 Winbond 25X16AVSIG Flash chip] and the Ground of the dongle. When in DG and PS3 mode the ground is connected, however when in PC mode the ground is disconnected (assumingly) to disable the flash chip. |