Communication Processor Update Package
Updates to the communication processor are stored within a special CPUP package contained within Development kit (DEM or PDEL) PUP files.
In firmware .940 and .945 (and their subsets) exclusively, the CPUP are embedded within encrypted Update Packages.
Each CpUp shares a common header, in little-endian.
|0x10||u32||Unknown, always 0x01000000|
|0x14||u32||Full CPUP size|
|0x18||u32||Payload/data start address|
|0x1C||u32||Extracted/decrypted CPUP size|
Every Playstation Update (PUP) up to version 0.996.090 ship with 2 distinct CpUp update files sharing the same version value for platforms ES1 and ES2 (and later) respectively.
Every version after version 1000 is only a single CpUp ships per Playstation Update.
CP board id
- DEM-3000H has the CP board id 3
- DEM-3000L has the CP board id 4
- PDEL-100x has the CP board id 4
Here are the different CP versions identified as of today:
|CPUP Header||CP Version||System Software Version||CP Platform||CpUp SHA256|
|01000002||1002||1.030 / PDEL-1001 Recovery||ES2||d863715a2733aca58f8ec17d96079ba3150d31df35738a3e287739babdd161e4|
Kernel Boot Loader logs
The Kernel Boot Loader and Non-secure Kernel Boot Loader respectively reference the current CP version in their bootlog (the version issued by KBL appears in the console output), this follows the below standard:
Starting PSP2 Kernel Boot Loader [0x%08x]: %d...revision : %d.build date : %s.....cp info. : bid.%x ver.%04x
Starting PSP2 Kernel Boot Loader (Non-secure) [0x%08x]: %d...BOOTSW.......%d: 0x%08x....: CP time...: CP bid & version
Where bid. is the Board id and ver. is the CP firmware version For example "bid.4 ver.1301" stands for board id 4, CP version 1301
in NSKBL format the information is logged in the following format: "0x00041301 [0x00041301]: CP bid & version" Where 0x0004 is the mask for bid (Board id 4) and 0x1301 is the mask for version (Version 1301).
These version information appear to most likely be read from sysroot at offset 0x44 (length u32 in little endian, 0x01130400 for bid.4 ver.1301, or 0x00041301 with the proper endianness)
You can get additional information by using the sdk's psp2ctrl info command. Information is displayed as such:
DEM-3000H in normal mode
CP: BoardVersion: 3 PackageVersion: 0.9.6.0 RecoveryPackageVersion: 0.9.2.0 ProtocolVersion: 126.96.36.199 Flags: 0x0
DEM-3000H in recovery mode
CP: BoardVersion: 3 PackageVersion: 0.9.6.0 RecoveryPackageVersion: 0.9.2.0 ProtocolVersion: 188.8.131.52 Flags: 0x1
DEM-3000L in normal mode
CP: BoardVersion: 4 PackageVersion: 184.108.40.206 RecoveryPackageVersion: 0.9.6.4 ProtocolVersion: 220.127.116.11 Flags: 0x0
PDEL-1001 in normal mode
CP: BoardVersion: 4 PackageVersion: 18.104.22.168 RecoveryPackageVersion: 22.214.171.124 ProtocolVersion: 126.96.36.199 Flags: 0x0
PDEL-1001 in recovery mode
CP: BoardVersion: 4 PackageVersion: 188.8.131.52 RecoveryPackageVersion: 184.108.40.206 ProtocolVersion: 220.127.116.11 Flags: 0x1
Note: The flag exposed in the above examples is the recovery mode flag, while the flag is set to 0x1, recovery mode is active and the CP is running from the recovery bank.
The Communication Processor is updated through the use of the SceDeci4pCpup module.
The Communication Processor on PS Vita Development units is not downgradable within normal operations (even when downgrading the unit itself using a PUP). It may be possible to downgrade by using the psp2ctrl recover-cp cpupdate.bin command while in recovery mode where cpupdate.bin is a CPUP of a version equal or higher to the RecoveryPackageVersion, it may also be possible to downgrade from the vita side by patching or bypassing the version check performed by SceDeci4pCpup.
CP Recovery mode
In the event that the CP becomes unresponsive, a special recovery mode exists. To enter this mode you need to press the "init" button (physically located at the bottom of the CP) while the AC is plugged in. The CP will then reboot into recovery mode (the LED will turn blue, then green). If your unit is connected, you will get disconnected from TM server until you reconnect the USB cable. You may still experience timeouts when running the psp2ctrl info command, if so your SDK binaries might not be compatible with the version used in the recovery bank and you may need to use older ones.
While in recovery mode, until the AC gets disconnected, the CP will be running its recovery package firmware. While this essentially acts as a downgrade, the version located in the active bank will not change. The version reported by the CP is not the running version but rather the version that is currently flashed in the normal/active bank. It is therefore not possible to downgrade a unit by updating to a PUP while in recovery mode because the version reported will still be higher than the CPUP present inside the PUP.
While this does not permanently downgrades your CP firmware, this is however useful in the attempts of triggering a possible vulnerability that would have been patched on a later revision.