Difference between revisions of "ERR:Throw"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00010800] |- | 1-32 | FatalErrInfo |} =Response= {| class="wi...")
 
(Add observed value for FatalErrInfo::Revision Low)
 
(6 intermediate revisions by 3 users not shown)
Line 42: Line 42:
 
| 0x2
 
| 0x2
 
| 0x2
 
| 0x2
| Revision Low (0x8436 observed)
+
| Revision Low (0x8436 and 0xCACA observed)
 
|-
 
|-
 
| 0x4
 
| 0x4
Line 58: Line 58:
 
| 0x10
 
| 0x10
 
| 0x8
 
| 0x8
| Title ID
+
| Title ID [[FS:GetProgramLaunchInfo|placeholder]]
 
|-
 
|-
 
| 0x18
 
| 0x18
 
| 0x8
 
| 0x8
| Application Title ID
+
| Applet Title ID [[APT:GetAppletInfo|placeholder]]
 
|-
 
|-
 
| 0x20
 
| 0x20
Line 77: Line 77:
 
| 0
 
| 0
 
| Generic
 
| Generic
 +
|-
 +
| 1
 +
| Corrupted
 +
|-
 +
| 2
 +
| Card removed
 
|-
 
|-
 
| 3
 
| 3
Line 101: Line 107:
 
| 0x18
 
| 0x18
 
| 0x44
 
| 0x44
| [[#ExceptionContext|ExceptionContext]]
+
| CpuRegisters (r0-r12, sp, lr, pc, cpsr)
|-
 
| 0x5C
 
| 0x4
 
| Padding
 
 
|}
 
|}
  
Line 161: Line 163:
 
| 0x4
 
| 0x4
 
| FPINST2 (VFP Exception)
 
| FPINST2 (VFP Exception)
|}
 
 
===ExceptionContext===
 
{| class="wikitable" border="1"
 
|-
 
!  Offset
 
!  Size
 
!  Description
 
|-
 
| 0x0
 
| 0x4
 
| r0
 
|-
 
| 0x4
 
| 0x4
 
| r1
 
|-
 
| 0x8
 
| 0x4
 
| r2
 
|-
 
| 0xC
 
| 0x4
 
| r3
 
|-
 
| 0x10
 
| 0x4
 
| r4
 
|-
 
| 0x14
 
| 0x4
 
| r5
 
|-
 
| 0x18
 
| 0x4
 
| r6
 
|-
 
| 0x1C
 
| 0x4
 
| r7
 
|-
 
| 0x20
 
| 0x4
 
| r8
 
|-
 
| 0x24
 
| 0x4
 
| r9
 
|-
 
| 0x28
 
| 0x4
 
| r10
 
|-
 
| 0x2C
 
| 0x4
 
| r11
 
|-
 
| 0x30
 
| 0x4
 
| r12
 
|-
 
| 0x34
 
| 0x4
 
| r13
 
|-
 
| 0x38
 
| 0x4
 
| r14
 
|-
 
| 0x3C
 
| 0x4
 
| r15
 
|-
 
| 0x40
 
| 0x4
 
| CPSR
 
 
|}
 
|}
  
Line 299: Line 225:
 
| Current Time
 
| Current Time
 
|}
 
|}
 +
 +
==Corrupted==
 +
 +
Follows the same general output format as Generic, but the bottom screen instead displays the following:
 +
 +
"The System Memory has been damaged.
 +
For help, please contact your local customer support centre. For contact details, check the Operations Manual or visit support.nintendo.com."
  
 
==Result Failure==
 
==Result Failure==
Line 347: Line 280:
 
| Current Time
 
| Current Time
 
|}
 
|}
 +
 +
== Cart Removed ==
 +
 +
No actual error information. Shows the error screen normally shown when pulling a game cart while in DS mode.

Latest revision as of 21:48, 1 August 2017

Request[edit]

Index Word Description
0 Header code [0x00010800]
1-32 FatalErrInfo

Response[edit]

Index Word Description
0 Header code
1 Result code

FatalErrInfo[edit]

Offset Size Description
0x0 0x1 FatalErrType
0x1 0x1 Revision High (0x0 observed)
0x2 0x2 Revision Low (0x8436 and 0xCACA observed)
0x4 0x4 Result Code
0x8 0x4 PC Address
0xC 0x4 Process ID
0x10 0x8 Title ID placeholder
0x18 0x8 Applet Title ID placeholder
0x20 0x60 Data (type 3 = Exception, type 4 = Failure)

FatalErrType[edit]

Value Description
0 Generic
1 Corrupted
2 Card removed
3 Exception
4 Result Failure
5 Logged

Exception[edit]

Offset Size Description
0x0 0x18 ExceptionInfo
0x18 0x44 CpuRegisters (r0-r12, sp, lr, pc, cpsr)

ExceptionType[edit]

Value Description
0 Prefetch Abort
1 Data Abort
2 Undefined Exception
3 VFP Exception

ExceptionInfo[edit]

Offset Size Description
0x0 0x1 ExceptionType
0x1 0x3 Padding
0x4 0x4 IFSR (Prefetch Abort)/DFSR (Data Abort)
0x8 0x4 r15 (Prefetch Abort)/DFAR (Data Abort)
0xC 0x4 FPEXC (VFP Exception)
0x10 0x4 FPINST (VFP Exception)
0x14 0x4 FPINST2 (VFP Exception)

Failure[edit]

Offset Size Description
0x0 0x60 char*, Message

Output[edit]

Generic[edit]

Entry Format string Format args
PID 0x%08X_0x%08X FatalErrInfo Title ID
REV %d FatalErrInfo Revision Low | (FatalErrInfo Revision High << 16)
AID 0x%08X_0x%08X FatalErrInfo Application Title ID
ADR 0x%08X FatalErrInfo PC Address
RSL 0x%08X FatalErrInfo Result Code
Level %d FatalErrInfo Result Code & 0x80000000 ? (FatalErrInfo Result Code >> 27) - 0x20 : FatalErrInfo Result Code >> 27
Summary %d (FatalErrInfo Result Code & 0x7E00000) >> 21
Module %d (FatalErrInfo Result Code & 0x3FC00) >> 10
Desc %d FatalErrInfo Result Code & 0x3FF
Datetime %04d/%02d/%02d %02d:%02d:%02d Current Time

Corrupted[edit]

Follows the same general output format as Generic, but the bottom screen instead displays the following:

"The System Memory has been damaged. For help, please contact your local customer support centre. For contact details, check the Operations Manual or visit support.nintendo.com."

Result Failure[edit]

Entry Format string Format args
PID 0x%08X_0x%08X FatalErrInfo Title ID
REV %d FatalErrInfo Revision Low | (FatalErrInfo Revision High << 16)
AID 0x%08X_0x%08X FatalErrInfo Application Title ID
RSL 0x%08X FatalErrInfo Result Code
Level %d FatalErrInfo Result Code & 0x80000000 ? (FatalErrInfo Result Code >> 27) - 0x20 : FatalErrInfo Result Code >> 27
Summary %d (FatalErrInfo Result Code & 0x7E00000) >> 21
Module %d (FatalErrInfo Result Code & 0x3FC00) >> 10
Desc %d FatalErrInfo Result Code & 0x3FF
? %.*s FatalErrInfo Data Failure Message
Datetime %04d/%02d/%02d %02d:%02d:%02d Current Time

Cart Removed[edit]

No actual error information. Shows the error screen normally shown when pulling a game cart while in DS mode.