Difference between revisions of "Filesystem services PXI"
Jump to navigation
Jump to search
TimmSkiller (talk | contribs) (Update HasFile/HasDirectory) |
|||
(76 intermediate revisions by 11 users not shown) | |||
Line 1: | Line 1: | ||
+ | = Post 3.x = | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
− | ! Command Header | + | ! Command Header, starting with [[3.0.0-5]] |
+ | ! Available since system version | ||
! Description | ! Description | ||
|- | |- | ||
| 0x000101C2 | | 0x000101C2 | ||
− | | OpenFile | + | | [[1.0.0-0]] |
+ | | [[FSPXI:OpenFile|OpenFile]] | ||
|- | |- | ||
| 0x00020142 | | 0x00020142 | ||
− | | DeleteFile | + | | [[1.0.0-0]] |
+ | | [[FSPXI:DeleteFile|DeleteFile]] | ||
|- | |- | ||
| 0x00030244 | | 0x00030244 | ||
− | | RenameFile | + | | [[1.0.0-0]] |
+ | | [[FSPXI:RenameFile|RenameFile]] | ||
|- | |- | ||
| 0x00040142 | | 0x00040142 | ||
− | | DeleteDirectory | + | | [[1.0.0-0]] |
+ | | [[FSPXI:DeleteDirectory|DeleteDirectory]] | ||
|- | |- | ||
| 0x00050202 | | 0x00050202 | ||
− | | CreateFile | + | | [[1.0.0-0]] |
+ | | [[FSPXI:CreateFile|CreateFile]] | ||
|- | |- | ||
| 0x00060182 | | 0x00060182 | ||
− | | CreateDirectory | + | | [[1.0.0-0]] |
+ | | [[FSPXI:CreateDirectory|CreateDirectory]] | ||
|- | |- | ||
| 0x00070244 | | 0x00070244 | ||
− | | RenameDirectory | + | | [[1.0.0-0]] |
+ | | [[FSPXI:RenameDirectory|RenameDirectory]] | ||
|- | |- | ||
| 0x00080102 | | 0x00080102 | ||
− | | OpenDirectory | + | | [[1.0.0-0]] |
+ | | [[FSPXI:OpenDirectory|OpenDirectory]] | ||
|- | |- | ||
| 0x00090142 | | 0x00090142 | ||
− | | ReadFile | + | | [[1.0.0-0]] |
+ | | [[FSPXI:ReadFile|ReadFile]] | ||
|- | |- | ||
| 0x000A00C2 | | 0x000A00C2 | ||
− | | CalculateFileHashSHA256 | + | | [[1.0.0-0]] |
+ | | [[FSPXI:CalculateFileHashSHA256|CalculateFileHashSHA256]] | ||
|- | |- | ||
| 0x000B0182 | | 0x000B0182 | ||
− | | WriteFile | + | | [[1.0.0-0]] |
+ | | [[FSPXI:WriteFile|WriteFile]] | ||
|- | |- | ||
| 0x000C0104 | | 0x000C0104 | ||
+ | | [[1.0.0-0]] | ||
| [[FSPXI:CalcSavegameMAC|CalcSavegameMAC]] | | [[FSPXI:CalcSavegameMAC|CalcSavegameMAC]] | ||
|- | |- | ||
| 0x000D0080 | | 0x000D0080 | ||
− | | GetFileSize | + | | [[1.0.0-0]] |
+ | | [[FSPXI:GetFileSize|GetFileSize]] | ||
|- | |- | ||
| 0x000E0100 | | 0x000E0100 | ||
− | | SetFileSize | + | | [[1.0.0-0]] |
+ | | [[FSPXI:SetFileSize|SetFileSize]] | ||
|- | |- | ||
| 0x000F0080 | | 0x000F0080 | ||
− | | CloseFile | + | | [[1.0.0-0]] |
+ | | [[FSPXI:CloseFile|CloseFile]] | ||
|- | |- | ||
| 0x001000C2 | | 0x001000C2 | ||
− | | ReadDirectory | + | | [[1.0.0-0]] |
+ | | [[FSPXI:ReadDirectory|ReadDirectory]] | ||
|- | |- | ||
| 0x00110080 | | 0x00110080 | ||
− | | CloseDirectory | + | | [[1.0.0-0]] |
+ | | [[FSPXI:CloseDirectory|CloseDirectory]] | ||
|- | |- | ||
| 0x001200C2 | | 0x001200C2 | ||
+ | | [[1.0.0-0]] | ||
| [[FSPXI:OpenArchive|OpenArchive]] | | [[FSPXI:OpenArchive|OpenArchive]] | ||
|- | |- | ||
| 0x00130102 | | 0x00130102 | ||
− | | | + | | [[1.0.0-0]] |
+ | | [[FSPXI:HasFile|HasFile]] | ||
|- | |- | ||
| 0x00140102 | | 0x00140102 | ||
− | | | + | | [[1.0.0-0]] |
+ | | [[FSPXI:HasDirectory|HasDirectory]] | ||
|- | |- | ||
− | | | + | | 0x001500C0 |
− | | | + | | [[1.0.0-0]] |
+ | | [[FSPXI:CommitSaveData|CommitSaveData]] | ||
|- | |- | ||
| 0x00160080 | | 0x00160080 | ||
− | | CloseArchive | + | | [[1.0.0-0]] |
+ | | [[FSPXI:CloseArchive|CloseArchive]] | ||
|- | |- | ||
| 0x00170080 | | 0x00170080 | ||
− | | | + | | [[1.0.0-0]] |
+ | | [[FSPXI:LockArchive|LockArchive]] (archivehandlelo, archivehandlehi) | ||
|- | |- | ||
| 0x00180000 | | 0x00180000 | ||
− | | GetCardType | + | | [[1.0.0-0]] |
+ | | [[FSPXI:GetCardType|GetCardType]] | ||
|- | |- | ||
| 0x00190000 | | 0x00190000 | ||
− | | GetSdmcArchiveResource | + | | [[1.0.0-0]] |
+ | | [[FSPXI:GetSdmcArchiveResource|GetSdmcArchiveResource]] | ||
|- | |- | ||
| 0x001A0000 | | 0x001A0000 | ||
− | | GetNandArchiveResource | + | | [[1.0.0-0]] |
+ | | [[FSPXI:GetNandArchiveResource|GetNandArchiveResource]] | ||
|- | |- | ||
| 0x001B0000 | | 0x001B0000 | ||
− | | GetSdmcFatFsError | + | | [[1.0.0-0]] |
+ | | [[FSPXI:GetSdmcFatFsError|GetSdmcFatFsError]] | ||
|- | |- | ||
| 0x001C0000 | | 0x001C0000 | ||
− | | | + | | [[1.0.0-0]] |
+ | | [[FSPXI:IsSdmcDetected|IsSdmcDetected]] | ||
|- | |- | ||
| 0x001D0000 | | 0x001D0000 | ||
− | | | + | | [[1.0.0-0]] |
+ | | [[FSPXI:IsSdmcWritable|IsSdmcWritable]] | ||
|- | |- | ||
| 0x001E0042 | | 0x001E0042 | ||
+ | | [[1.0.0-0]] | ||
| [[FSPXI:GetSdmcCid|GetSdmcCid]] | | [[FSPXI:GetSdmcCid|GetSdmcCid]] | ||
|- | |- | ||
| 0x001F0042 | | 0x001F0042 | ||
+ | | [[1.0.0-0]] | ||
| [[FSPXI:GetNandCid|GetNandCid]] | | [[FSPXI:GetNandCid|GetNandCid]] | ||
|- | |- | ||
| 0x00200000 | | 0x00200000 | ||
− | | GetSdmcSpeedInfo | + | | [[1.0.0-0]] |
+ | | [[FSPXI:GetSdmcSpeedInfo|GetSdmcSpeedInfo]] | ||
|- | |- | ||
| 0x00210000 | | 0x00210000 | ||
− | | GetNandSpeedInfo | + | | [[1.0.0-0]] |
+ | | [[FSPXI:GetNandSpeedInfo|GetNandSpeedInfo]] | ||
|- | |- | ||
| 0x00220042 | | 0x00220042 | ||
− | | GetSdmcLog | + | | [[1.0.0-0]] |
+ | | [[FSPXI:GetSdmcLog|GetSdmcLog]] | ||
|- | |- | ||
| 0x00230042 | | 0x00230042 | ||
− | | GetNandLog | + | | [[1.0.0-0]] |
+ | | [[FSPXI:GetNandLog|GetNandLog]] | ||
|- | |- | ||
| 0x00240000 | | 0x00240000 | ||
− | | ClearSdmcLog | + | | [[1.0.0-0]] |
+ | | [[FSPXI:ClearSdmcLog|ClearSdmcLog]] | ||
|- | |- | ||
| 0x00250000 | | 0x00250000 | ||
− | | ClearNandLog | + | | [[1.0.0-0]] |
+ | | [[FSPXI:ClearNandLog|ClearNandLog]] | ||
|- | |- | ||
| 0x00260000 | | 0x00260000 | ||
− | | | + | | [[1.0.0-0]] |
+ | | [[FSPXI:CardSlotIsInserted|CardSlotIsInserted]] | ||
|- | |- | ||
| 0x00270000 | | 0x00270000 | ||
− | | CardSlotPowerOn | + | | [[1.0.0-0]] |
+ | | [[FSPXI:CardSlotPowerOn|CardSlotPowerOn]] | ||
|- | |- | ||
| 0x00280000 | | 0x00280000 | ||
− | | CardSlotPowerOff | + | | [[1.0.0-0]] |
+ | | [[FSPXI:CardSlotPowerOff|CardSlotPowerOff]] | ||
|- | |- | ||
| 0x00290000 | | 0x00290000 | ||
− | | | + | | [[1.0.0-0]] |
+ | | [[FSPXI:CardSlotGetIFPowerStatus|CardSlotGetIFPowerStatus]] | ||
|- | |- | ||
| 0x002A0040 | | 0x002A0040 | ||
− | | CardNorDirectCommand | + | | [[1.0.0-0]] |
+ | | [[FSPXI:CardNorDirectCommand|CardNorDirectCommand]] | ||
|- | |- | ||
| 0x002B0080 | | 0x002B0080 | ||
− | | CardNorDirectCommandWithAddress | + | | [[1.0.0-0]] |
+ | | [[FSPXI:CardNorDirectCommandWithAddress|CardNorDirectCommandWithAddress]] | ||
|- | |- | ||
| 0x002C0082 | | 0x002C0082 | ||
− | | CardNorDirectRead | + | | [[1.0.0-0]] |
+ | | [[FSPXI:CardNorDirectRead|CardNorDirectRead]] | ||
|- | |- | ||
| 0x002D00C2 | | 0x002D00C2 | ||
− | | CardNorDirectReadWithAddress | + | | [[1.0.0-0]] |
+ | | [[FSPXI:CardNorDirectReadWithAddress|CardNorDirectReadWithAddress]] | ||
|- | |- | ||
| 0x002E0082 | | 0x002E0082 | ||
− | | CardNorDirectWrite | + | | [[1.0.0-0]] |
+ | | [[FSPXI:CardNorDirectWrite|CardNorDirectWrite]] | ||
|- | |- | ||
| 0x002F00C2 | | 0x002F00C2 | ||
− | | CardNorDirectWriteWithAddress | + | | [[1.0.0-0]] |
+ | | [[FSPXI:CardNorDirectWriteWithAddress|CardNorDirectWriteWithAddress]] | ||
|- | |- | ||
| 0x003000C2 | | 0x003000C2 | ||
− | | | + | | [[1.0.0-0]] |
+ | | [[FSPXI:CardNorDirectRead_4xIO|CardNorDirectRead_4xIO]] | ||
|- | |- | ||
| 0x00310082 | | 0x00310082 | ||
− | | CardNorDirectCpuWriteWithoutVerify | + | | [[1.0.0-0]] |
+ | | [[FSPXI:CardNorDirectCpuWriteWithoutVerify|CardNorDirectCpuWriteWithoutVerify]] | ||
|- | |- | ||
| 0x00320040 | | 0x00320040 | ||
− | | CardNorDirectSectorEraseWithoutVerify | + | | [[1.0.0-0]] |
+ | | [[FSPXI:CardNorDirectSectorEraseWithoutVerify|CardNorDirectSectorEraseWithoutVerify]] | ||
|- | |- | ||
| 0x00330080 | | 0x00330080 | ||
− | | GetProductInfo | + | | [[1.0.0-0]] |
+ | | [[FSPXI:GetProductInfo|GetProductInfo]] | ||
|- | |- | ||
| 0x00340040 | | 0x00340040 | ||
− | | SetCardSpiBaudrate | + | | [[1.0.0-0]] |
+ | | [[FSPXI:SetCardSpiBaudrate|SetCardSpiBaudrate]] | ||
|- | |- | ||
| 0x00350040 | | 0x00350040 | ||
− | | SetCardSpiBusMode | + | | [[1.0.0-0]] |
+ | | [[FSPXI:SetCardSpiBusMode|SetCardSpiBusMode]] | ||
|- | |- | ||
| 0x00360040 | | 0x00360040 | ||
− | | | + | | [[1.0.0-0]] |
+ | | [[FSPXI:SendInitializeInfoTo9|SendInitializeInfoTo9]] | ||
|- | |- | ||
− | | | + | | 0x00370100 |
− | | CreateExtSaveData | + | | [[1.0.0-0]] |
+ | | [[FSPXI:CreateExtSaveData|CreateExtSaveData]] | ||
|- | |- | ||
− | | | + | | 0x00380100 |
− | | DeleteExtSaveData | + | | [[1.0.0-0]] |
+ | | [[FSPXI:DeleteExtSaveData|DeleteExtSaveData]] | ||
|- | |- | ||
− | | | + | | 0x00390102 |
− | | EnumerateExtSaveData | + | | [[1.0.0-0]] |
+ | | [[FSPXI:EnumerateExtSaveData|EnumerateExtSaveData]] | ||
|- | |- | ||
| 0x003A0100 | | 0x003A0100 | ||
− | | GetSpecialContentIndex | + | | [[1.0.0-0]] |
+ | | [[FSPXI:GetSpecialContentIndex|GetSpecialContentIndex]] | ||
|- | |- | ||
| 0x003B00C2 | | 0x003B00C2 | ||
− | | GetLegacyRomHeader | + | | [[1.0.0-0]] |
+ | | [[FSPXI:GetLegacyRomHeader|GetLegacyRomHeader]] | ||
|- | |- | ||
− | | | + | | 0x003C0102 |
− | | GetLegacyBannerData | + | | [[1.0.0-0]] |
+ | | [[FSPXI:GetLegacyBannerData|GetLegacyBannerData]] | ||
+ | |- | ||
+ | | 0x003D0040 | ||
+ | | ? | ||
+ | | [[FSPXI:FormatCardNorDevice|FormatCardNorDevice]] | ||
+ | |- | ||
+ | | 0x003E0000 | ||
+ | | [[3.0.0-5]] | ||
+ | | [[FSPXI:DeleteSdmcRoot|DeleteSdmcRoot]] | ||
+ | |- | ||
+ | | 0x003F0040 | ||
+ | | [[3.0.0-5]] | ||
+ | | [[FSPXI:DeleteAllExtSaveDataOnNand|DeleteAllExtSaveDataOnNand]] | ||
+ | |- | ||
+ | | 0x00400000 | ||
+ | | [[3.0.0-5]] | ||
+ | | [[FSPXI:InitializeCtrFilesystem|InitializeCtrFilesystem]] | ||
+ | |- | ||
+ | | 0x00410000 | ||
+ | | [[3.0.0-5]] | ||
+ | | [[FSPXI:CreateSeed|CreateSeed]] | ||
+ | |- | ||
+ | | 0x00420042 | ||
+ | | [[3.0.0-5]] | ||
+ | | [[FSPXI:GetSdmcCtrRootPath|GetSdmcCtrRootPath]] | ||
+ | |- | ||
+ | | 0x00430040 | ||
+ | | [[3.0.0-5]] | ||
+ | | [[FSPXI:GetArchiveResource|GetArchiveResource]] | ||
+ | |- | ||
+ | | 0x00440002 | ||
+ | | [[3.0.0-5]] | ||
+ | | [[FSPXI:ExportIntegrityVerificationSeed|ExportIntegrityVerificationSeed]] | ||
+ | |- | ||
+ | | 0x00450002 | ||
+ | | [[3.0.0-5]] | ||
+ | | [[FSPXI:ImportIntegrityVerificationSeed|ImportIntegrityVerificationSeed]] | ||
+ | |- | ||
+ | | 0x00460102 | ||
+ | | [[3.0.0-5]] | ||
+ | | [[FSPXI:GetLegacySubBannerData|GetLegacySubBannerData]] | ||
+ | |- | ||
+ | | 0x00470042 | ||
+ | | [[3.0.0-5]] | ||
+ | | [[FSPXI:GenerateRandomBytes|GenerateRandomBytes]] | ||
+ | |- | ||
+ | | 0x004800C2 | ||
+ | | [[3.0.0-5]] | ||
+ | | [[FSPXI:GetFileLastModified|GetFileLastModified]] | ||
+ | |- | ||
+ | | 0x00490102 | ||
+ | | [[3.0.0-5]] | ||
+ | | [[FSPXI:ReadSpecialFile|ReadSpecialFile]] | ||
+ | |- | ||
+ | | 0x004A0040 | ||
+ | | [[3.0.0-5]] | ||
+ | | [[FSPXI:GetSpecialFileSize|GetSpecialFileSize]] | ||
+ | |- | ||
+ | | 0x004B0000 | ||
+ | | [[3.0.0-5]] | ||
+ | | [[FSPXI:StartDeviceMoveAsSource|StartDeviceMoveAsSource]] | ||
+ | |- | ||
+ | | 0x004C0240 | ||
+ | | [[3.0.0-5]] | ||
+ | | [[FSPXI:StartDeviceMoveAsDestination|StartDeviceMoveAsDestination]] | ||
+ | |- | ||
+ | | 0x004D01C4 | ||
+ | | [[3.0.0-5]] | ||
+ | | [[FSPXI:ReadFileSHA256|ReadFileSHA256]] | ||
+ | |- | ||
+ | | 0x004E0204 | ||
+ | | [[3.0.0-5]] | ||
+ | | [[FSPXI:WriteFileSHA256|WriteFileSHA256]] | ||
+ | |- | ||
+ | | 0x004F0080 | ||
+ | | [[3.0.0-5]] | ||
+ | | [[FSPXI:SetCtrCardLatencyParameter|SetCtrCardLatencyParameter]] (u64) | ||
+ | |- | ||
+ | | 0x00500040 | ||
+ | | [[3.0.0-5]] | ||
+ | | [[FSPXI:SetPriority|SetPriority]] | ||
+ | |- | ||
+ | | 0x00510040 | ||
+ | | [[3.0.0-5]] | ||
+ | | [[FSPXI:SwitchCleanupInvalidSaveData|SwitchCleanupInvalidSaveData]] | ||
+ | |- | ||
+ | | 0x00520042 | ||
+ | | [[3.0.0-5]] | ||
+ | | [[FSPXI:EnumerateSystemSaveData|EnumerateSystemSaveData]] | ||
+ | |- | ||
+ | | 0x00530000 | ||
+ | | [[3.0.0-5]] | ||
+ | | Stubbed with [[4.0.0-7]]. | ||
+ | |- | ||
+ | | 0x00540000 | ||
+ | | [[4.0.0-7]] | ||
+ | | Stubbed with [[4.0.0-7]]. | ||
+ | |- | ||
+ | | 0x00550082 | ||
+ | | [[4.0.0-7]] | ||
+ | | [[FSPXI:ReadNandReport|ReadNandReport]] | ||
+ | |- | ||
+ | | 0x00560102 | ||
+ | | [[9.6.0-24|9.6.0-X]] | ||
+ | | ? | ||
+ | |} | ||
+ | |||
+ | = Pre 3.x = | ||
+ | {| class="wikitable" border="1" | ||
+ | |- | ||
+ | ! Command Header, prior to [[3.0.0-5]] | ||
+ | ! Available since system version | ||
+ | ! Description | ||
+ | |- | ||
+ | | 0x003E.... | ||
+ | | ? | ||
+ | | This was removed with [[3.0.0-5]]. | ||
|- | |- | ||
| 0x003F0000 | | 0x003F0000 | ||
+ | | [[1.0.0-0]] | ||
| [[FSPXI:DeleteSdmcRoot|DeleteSdmcRoot]] | | [[FSPXI:DeleteSdmcRoot|DeleteSdmcRoot]] | ||
|- | |- | ||
| 0x00400040 | | 0x00400040 | ||
− | | DeleteAllExtSaveDataOnNand | + | | [[1.0.0-0]] |
+ | | [[FSPXI:DeleteAllExtSaveDataOnNand|DeleteAllExtSaveDataOnNand]] | ||
|- | |- | ||
| 0x00410000 | | 0x00410000 | ||
+ | | [[1.0.0-0]] | ||
| [[FSPXI:InitializeCtrFilesystem|InitializeCtrFilesystem]] | | [[FSPXI:InitializeCtrFilesystem|InitializeCtrFilesystem]] | ||
|- | |- | ||
| 0x00420000 | | 0x00420000 | ||
− | | CreateSeed | + | | [[1.0.0-0]] |
+ | | [[FSPXI:CreateSeed|CreateSeed]] | ||
|- | |- | ||
| 0x00430042 | | 0x00430042 | ||
+ | | [[2.0.0-2]] | ||
| [[FSPXI:GetSdmcCtrRootPath|GetSdmcCtrRootPath]] | | [[FSPXI:GetSdmcCtrRootPath|GetSdmcCtrRootPath]] | ||
|- | |- | ||
| 0x00440040 | | 0x00440040 | ||
− | | GetArchiveResource | + | | [[2.0.0-2]] |
+ | | [[FSPXI:GetArchiveResource|GetArchiveResource]] | ||
|- | |- | ||
| 0x00450002 | | 0x00450002 | ||
+ | | [[2.0.0-2]] | ||
| [[FSPXI:ExportIntegrityVerificationSeed|ExportIntegrityVerificationSeed]] | | [[FSPXI:ExportIntegrityVerificationSeed|ExportIntegrityVerificationSeed]] | ||
|- | |- | ||
| 0x00460002 | | 0x00460002 | ||
+ | | [[2.0.0-2]] | ||
| [[FSPXI:ImportIntegrityVerificationSeed|ImportIntegrityVerificationSeed]] | | [[FSPXI:ImportIntegrityVerificationSeed|ImportIntegrityVerificationSeed]] | ||
|- | |- | ||
| 0x00470082 | | 0x00470082 | ||
− | | | + | | [[2.0.0-2]] |
+ | | This was removed with [[3.0.0-5]]. | ||
|- | |- | ||
| 0x00480102 | | 0x00480102 | ||
− | | GetLegacySubBannerData | + | | [[2.0.0-2]] |
+ | | [[FSPXI:GetLegacySubBannerData|GetLegacySubBannerData]] | ||
|- | |- | ||
| 0x00490042 | | 0x00490042 | ||
− | | | + | | [[2.0.0-2]] |
+ | | ? | ||
|- | |- | ||
| 0x004A00C2 | | 0x004A00C2 | ||
− | | | + | | [[2.0.0-2]] |
+ | | [[FSPXI:GetFileLastModified|GetFileLastModified]] | ||
|- | |- | ||
| 0x004B0102 | | 0x004B0102 | ||
− | | ReadSpecialFile | + | | [[2.0.0-2]] |
+ | | [[FSPXI:ReadSpecialFile|ReadSpecialFile]] | ||
|- | |- | ||
| 0x004C0040 | | 0x004C0040 | ||
− | | GetSpecialFileSize | + | | [[2.0.0-2]] |
+ | | [[FSPXI:GetSpecialFileSize|GetSpecialFileSize]] | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | Commands listed in the previous chart marked as available since [[1.0.0-0]] that are not shown in this chart are the same between both. | ||
+ | |||
+ | =Errors= | ||
+ | {| class="wikitable" border="1" | ||
+ | |- | ||
+ | ! Error-code | ||
+ | ! Description | ||
+ | |- | ||
+ | | 0xC82044BE | ||
+ | | Object does already exist/failed to create object. | ||
+ | |- | ||
+ | | 0xC86044D2 | ||
+ | | Failed to write file. Partition is full. | ||
+ | |- | ||
+ | | 0xC8804471 | ||
+ | | Attempted to open a file under a directory which doesn't exist. | ||
+ | |- | ||
+ | | 0xC8804478 | ||
+ | | Object doesn't exist / failed to open object(file). Or: The specified title does not exist in the [[Title_Database|database]]. | ||
+ | |- | ||
+ | | 0xC880448D | ||
+ | | FSPXI: Gamecard not inserted when attempting to use the gamecard. | ||
+ | |- | ||
+ | | 0xC88044AB | ||
+ | | [[SDMC]]/NAND bus error, REG_SDSTATUS: TMIO_STAT_CMD_BUSY or TMIO_STAT_TXUNDERRUN | ||
+ | |- | ||
+ | | 0xC88044AC | ||
+ | | [[SDMC]]/NAND bus error, REG_SDSTATUS: TMIO_STAT_ILL_FUNC | ||
+ | |- | ||
+ | | 0xC92044E6 | ||
+ | | Operation not allowed with the current file openflags/file already in use (if file was previously opened for writing). | ||
+ | |- | ||
+ | | 0xC92044E7 | ||
+ | | Resource locked. | ||
+ | |- | ||
+ | | 0xC9204509 | ||
+ | | [[SDMC]]/NAND bus error, REG_SDSTATUS: TMIO_STAT_CMDTIMEOUT | ||
+ | |- | ||
+ | | 0xC960454B | ||
+ | | [[SDMC]]/NAND bus error, when an error-bit in REG_SDSTATUS separate from the above errors is set. This can also indicate that the TWL partition table in the NAND sector0 is invalid, or that the sector signature for sector0 at offset 0x1FE is invalid? | ||
+ | |- | ||
+ | | 0xC960454C | ||
+ | | [[SDMC]]/NAND bus error, REG_SDSTATUS: TMIO_STAT_STOPBIT_ERR | ||
+ | |- | ||
+ | | 0xC960F401 | ||
+ | | [[SDMC]]/NAND bus error, REG_SDSTATUS: Bit23 (0x00800000) | ||
+ | |- | ||
+ | | 0xD8604664 | ||
+ | | FSUSER: Returned when attempting to create a file in savedata when the current total number of files is already the [[FS:FormatSaveData|maximum]]. | ||
+ | |- | ||
+ | | 0xD9004587 | ||
+ | | FSPXI: Hash verification failure (only for NCCH region hashes?). | ||
+ | |- | ||
+ | | 0xD9004588 | ||
+ | | FSPXI/FSUSER: Verification failure for RSA or hashes. FSUSER: Verification failed for [[Savegames|savegame]] AES-MAC. | ||
+ | |- | ||
+ | | 0xD900458B | ||
+ | | Invalid RomFS / savedata block hash. | ||
+ | |- | ||
+ | | 0xD9004676 | ||
+ | | FSUSER: The specified service-command / archive is not accessible, due to the currently used exheader accessinfo not having the required bit(s) set. (This error can also indicate that the required ARM9 access-control mount flag is not enabled, in the exheader for any of the running ARM11 processes) | ||
+ | |- | ||
+ | | 0xE0C046F9 | ||
+ | | FSPXI: Specified read-size doesn't match the actual filesize, when accessing ExeFS. | ||
+ | |- | ||
+ | | 0xE0E046BE | ||
+ | | Invalid lowpath. This can also indicate that the specified archive-id does not exist, or that the specified archive-id is not accessible over FSPXI. In certain cases this can also be caused by attempting to open a FSUSER archive where none of the required bit(s) for the archive are set in the user-process exheader accessinfo. | ||
+ | |- | ||
+ | | 0xE0E046C1 | ||
+ | | File-reading returns this when the input 64bit file-pos is negative, or when the file-pos is larger than the filesize. | ||
+ | |- | ||
+ | | 0xE0E046D1 | ||
+ | | Failed to write to file because it would exceed the file size limit of the file system. | ||
+ | |- | ||
+ | | 0xE160F402 | ||
+ | | [[SDMC]]/NAND bus error, REG_SDSTATUS: TMIO_STAT_RXRDY | ||
+ | |- | ||
+ | | 0xE160F403 | ||
+ | | [[SDMC]]/NAND bus error, REG_SDSTATUS: Bit28 (0x10000000) | ||
+ | |- | ||
+ | | 0xE160F404 | ||
+ | | [[SDMC]]/NAND bus error, REG_SDSTATUS: Bit27 (0x08000000) | ||
|} | |} |
Latest revision as of 11:08, 8 June 2022
Post 3.x[edit]
Pre 3.x[edit]
Command Header, prior to 3.0.0-5 | Available since system version | Description |
---|---|---|
0x003E.... | ? | This was removed with 3.0.0-5. |
0x003F0000 | 1.0.0-0 | DeleteSdmcRoot |
0x00400040 | 1.0.0-0 | DeleteAllExtSaveDataOnNand |
0x00410000 | 1.0.0-0 | InitializeCtrFilesystem |
0x00420000 | 1.0.0-0 | CreateSeed |
0x00430042 | 2.0.0-2 | GetSdmcCtrRootPath |
0x00440040 | 2.0.0-2 | GetArchiveResource |
0x00450002 | 2.0.0-2 | ExportIntegrityVerificationSeed |
0x00460002 | 2.0.0-2 | ImportIntegrityVerificationSeed |
0x00470082 | 2.0.0-2 | This was removed with 3.0.0-5. |
0x00480102 | 2.0.0-2 | GetLegacySubBannerData |
0x00490042 | 2.0.0-2 | ? |
0x004A00C2 | 2.0.0-2 | GetFileLastModified |
0x004B0102 | 2.0.0-2 | ReadSpecialFile |
0x004C0040 | 2.0.0-2 | GetSpecialFileSize |
Commands listed in the previous chart marked as available since 1.0.0-0 that are not shown in this chart are the same between both.
Errors[edit]
Error-code | Description |
---|---|
0xC82044BE | Object does already exist/failed to create object. |
0xC86044D2 | Failed to write file. Partition is full. |
0xC8804471 | Attempted to open a file under a directory which doesn't exist. |
0xC8804478 | Object doesn't exist / failed to open object(file). Or: The specified title does not exist in the database. |
0xC880448D | FSPXI: Gamecard not inserted when attempting to use the gamecard. |
0xC88044AB | SDMC/NAND bus error, REG_SDSTATUS: TMIO_STAT_CMD_BUSY or TMIO_STAT_TXUNDERRUN |
0xC88044AC | SDMC/NAND bus error, REG_SDSTATUS: TMIO_STAT_ILL_FUNC |
0xC92044E6 | Operation not allowed with the current file openflags/file already in use (if file was previously opened for writing). |
0xC92044E7 | Resource locked. |
0xC9204509 | SDMC/NAND bus error, REG_SDSTATUS: TMIO_STAT_CMDTIMEOUT |
0xC960454B | SDMC/NAND bus error, when an error-bit in REG_SDSTATUS separate from the above errors is set. This can also indicate that the TWL partition table in the NAND sector0 is invalid, or that the sector signature for sector0 at offset 0x1FE is invalid? |
0xC960454C | SDMC/NAND bus error, REG_SDSTATUS: TMIO_STAT_STOPBIT_ERR |
0xC960F401 | SDMC/NAND bus error, REG_SDSTATUS: Bit23 (0x00800000) |
0xD8604664 | FSUSER: Returned when attempting to create a file in savedata when the current total number of files is already the maximum. |
0xD9004587 | FSPXI: Hash verification failure (only for NCCH region hashes?). |
0xD9004588 | FSPXI/FSUSER: Verification failure for RSA or hashes. FSUSER: Verification failed for savegame AES-MAC. |
0xD900458B | Invalid RomFS / savedata block hash. |
0xD9004676 | FSUSER: The specified service-command / archive is not accessible, due to the currently used exheader accessinfo not having the required bit(s) set. (This error can also indicate that the required ARM9 access-control mount flag is not enabled, in the exheader for any of the running ARM11 processes) |
0xE0C046F9 | FSPXI: Specified read-size doesn't match the actual filesize, when accessing ExeFS. |
0xE0E046BE | Invalid lowpath. This can also indicate that the specified archive-id does not exist, or that the specified archive-id is not accessible over FSPXI. In certain cases this can also be caused by attempting to open a FSUSER archive where none of the required bit(s) for the archive are set in the user-process exheader accessinfo. |
0xE0E046C1 | File-reading returns this when the input 64bit file-pos is negative, or when the file-pos is larger than the filesize. |
0xE0E046D1 | Failed to write to file because it would exceed the file size limit of the file system. |
0xE160F402 | SDMC/NAND bus error, REG_SDSTATUS: TMIO_STAT_RXRDY |
0xE160F403 | SDMC/NAND bus error, REG_SDSTATUS: Bit28 (0x10000000) |
0xE160F404 | SDMC/NAND bus error, REG_SDSTATUS: Bit27 (0x08000000) |