Config Services: Difference between revisions
No edit summary |
m Add anchors |
||
(23 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
__TOC__ | |||
{{Anchor|Cfg}}{{Anchor|CfgU}}{{Anchor|CFG}}{{Anchor|CFGU}}{{Anchor|cfg:u}} | |||
= Config | = Config service "cfg:u" = | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 12: | Line 11: | ||
| 0x00010082 | | 0x00010082 | ||
| | | | ||
| [[CfgS:GetConfigInfoBlk2|GetConfigInfoBlk2]] | | [[CfgS:GetConfigInfoBlk2|GetConfigInfoBlk2]]/GetConfig | ||
|- | |- | ||
| 0x00020000 | | 0x00020000 | ||
| | | | ||
| [[Cfg:SecureInfoGetRegion|SecureInfoGetRegion]] | | [[Cfg:SecureInfoGetRegion|SecureInfoGetRegion]]/GetRegion | ||
|- | |- | ||
| 0x00030040 | | 0x00030040 | ||
Line 40: | Line 39: | ||
| 0x00080080 | | 0x00080080 | ||
| [[7.0.0-13]] | | [[7.0.0-13]] | ||
| | | [[Cfg:TranslateCountryInfo|TranslateCountryInfo]] | ||
|- | |- | ||
| 0x00090040 | | 0x00090040 | ||
Line 52: | Line 51: | ||
| 0x000B0000 | | 0x000B0000 | ||
| [[9.3.0-21|9.3.0-X]] | | [[9.3.0-21|9.3.0-X]] | ||
| | | IsFangateSupported | ||
|} | |} | ||
= Config service "cfg: | {{Anchor|CfgS}}{{Anchor|CFGS}}{{Anchor|cfg:s}} | ||
= Config service "cfg:s" = | |||
cfg:s contains all the commands in [[#cfg:u|cfg:u]], in addition to the following: | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
Line 64: | Line 63: | ||
! Available since system version | ! Available since system version | ||
! Description | ! Description | ||
|- | |- | ||
| 0x04010082 | | 0x04010082 | ||
Line 118: | Line 113: | ||
|- | |- | ||
| 0x040D0040 | | 0x040D0040 | ||
| | | | ||
| | | SetUUIDClockSequence | ||
|- | |- | ||
| 0x040E0000 | | 0x040E0000 | ||
| | | | ||
| | | GetUUIDClockSequence | ||
|- | |- | ||
| 0x040F0000 | | 0x040F0000 | ||
| | | | ||
| | | [[CfgS:ClearParentalControls|ClearParentalControls]] | ||
|} | |} | ||
CfgS command 0x04060000(SecureInfoGetRegion) is used by NIM module to determine the SOAP RegionId, when sending SOAP requests. See [[Nandrw/sys/SecureInfo_A|here]]. | CfgS command 0x04060000(SecureInfoGetRegion) is used by NIM module to determine the SOAP RegionId, when sending SOAP requests. See [[Nandrw/sys/SecureInfo_A|here]]. | ||
{{Anchor|CfgI}}{{Anchor|CFGI}}{{Anchor|cfg:i}} | |||
= Config service "cfg:i" = | = Config service "cfg:i" = | ||
cfg:i contains all the commands in [[#cfg:u|cfg:u]] and [[#cfg:s|cfg:s]], in addition to the following: | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
Line 138: | Line 136: | ||
! Available since system version | ! Available since system version | ||
! Description | ! Description | ||
|- | |- | ||
| 0x08010082 | | 0x08010082 | ||
Line 237: | Line 175: | ||
| 0x080A0000 | | 0x080A0000 | ||
| | | | ||
| This updates the config block for blkID 0x00040001. | | ResetAnalogStickCalibrationParam? This updates the config block for blkID 0x00040001. | ||
|- | |- | ||
| 0x080B0082 | | 0x080B0082 | ||
Line 328: | Line 266: | ||
|} | |} | ||
{{Anchor|CfgNor}}{{Anchor|CFGNOR}}{{Anchor|cfg:nor}} | |||
= Config NVRAM service "cfg:nor" = | = Config NVRAM service "cfg:nor" = | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 339: | Line 278: | ||
| 0x00020000 | | 0x00020000 | ||
| [[CfgNor:Shutdown|Shutdown]] | | [[CfgNor:Shutdown|Shutdown]] | ||
|- | |||
| 0x00030040 | |||
| (u8 flag) Writes the input flag to state. Uses SPI service command [[SPI_Services|EnableSpiBus]]. | |||
|- | |||
| 0x00040000 | |||
| Writes the u8 from the state written by 0x00030040 to cmdreply[2]. | |||
|- | |- | ||
| 0x00050082 | | 0x00050082 | ||
Line 345: | Line 290: | ||
| 0x00060082 | | 0x00060082 | ||
| [[CfgNor:WriteData|WriteData]] | | [[CfgNor:WriteData|WriteData]] | ||
|- | |||
| 0x00070000 | |||
| This just uses the WREN command. | |||
|- | |||
| 0x00080000 | |||
| This just uses the WRDI command. | |||
|- | |||
| 0x00090000 | |||
| [[CfgNor:ReadIdentification|ReadIdentification]] | |||
|- | |||
| 0x000A0000 | |||
| This waits for the WIP bit in the status register to clear(wait for writing to finish). | |||
|- | |||
| 0x000B0000 | |||
| This waits for the WEL bit in the status register to become set(write enabled). | |||
|- | |||
| 0x000C0000 | |||
| This writes the value of the WIP bit in the status register to u8 cmdreply[2]. | |||
|- | |||
| 0x000D0000 | |||
| This writes the value of the WIP bit in the status register to u8 cmdreply[2]. | |||
|- | |||
| 0x000E0000 | |||
| [[CfgNor:ReadStatusRegister|ReadStatusRegister]] | |||
|- | |||
| 0x000F0082 | |||
| [[CfgNor:ReadDataOther|ReadDataOther]] | |||
|- | |||
| 0x00100082 | |||
| [[CfgNor:WriteDataOther|WriteDataOther]] | |||
|- | |||
| 0x00110040 | |||
| (u32 offset) Uses command WREN then waits for WEL to become enabled. Sends command 0xDB to SPI followed by the specified flash offset. | |||
|- | |||
| 0x00120040 | |||
| (u32 offset) Identical to 0x00110040 except this uses SPI-command 0xD8 instead("block erase"). | |||
|- | |||
| 0x00130000 | |||
| This uses SPI command 0xB9 for "Deep power down". | |||
|- | |||
| 0x00140000 | |||
| This uses SPI command 0xAB for "Release from deep power down". | |||
|} | |} | ||
This is an interface for the | This is an interface for the [[SPI::NOR]] service, for accessing the Wifi NVRAM/SPI Flash. | ||
[[Category:Services]] |