Changes

157 bytes added ,  20:29, 11 March 2009
no edit summary
Line 8: Line 8:     
== General ==
 
== General ==
The '''o'''ne '''t'''ime '''p'''rogrammable memory is used to store 32 4byte words. It is programmed sometimes during the factory process and can never be changed afterwards. Next to the Wii's shared and public keys it also contains a random number generation seed and the boot1 hash which basically makes it impossible for us to change boot1.
+
The '''O'''ne '''T'''ime '''P'''rogrammable memory is used to store 32 4byte words. It is programmed sometime during the factory process and can never be changed afterwards. Next to the Wii's shared and public keys it also contains a random number generation seed and the boot1 hash which basically makes it impossible for us to change boot1.
    
== Register List ==
 
== Register List ==
Line 16: Line 16:  
|}
 
|}
   −
== Register descriptions ==
+
== General Registers ==
{{regsimple|HW_OTP_COMMAND|addr=0x0d8001ec|bits=32|access=R/W}}
+
{{reg32 | HW_VERSION | addr = 0x0d800214 | hifields = 2 | lofields = 2 |
This register contains the command sent to the OTP. Reading data is 0x8000_00xx where xx is the address of the 4byte word you want to read. It is unknown whether is register is also used during the factory process to program the OTP.
+
|1|15|
 
+
|R/W|U|
----
+
|RD|||
{{regsimple|HW_OTP_DATA|addr=0x0d8001f0|bits=32|access=R/W}}
+
|11|5|
This register contains the output data for the last issued OTP command. Changes of the HW_OTP_COMMAND register directly change this register without any delays.
+
|U|R/W|
 +
||ADDR|
 +
}}
 +
{{regdesc
 +
|RD|Set to one to execute a read command. If clear, then the data in HW_OTP_DATA is unchanged.
 +
|ADDR|Word address to read
 +
}}
 +
This register contains the command sent to the OTP. It is unknown whether is register is also used during the factory process to program the OTP.
 
----
 
----
 +
{{regsimple|HW_OTP_DATA|addr=0x0d8001f0|bits=32|access=R}}
 +
This register contains the output data for the last issued OTP read command. The execution of a read operation via the HW_OTP_COMMAND register immediately changes this register without any delay.
    
== OTP Contents ==
 
== OTP Contents ==
Line 38: Line 47:  
| 9 || NG id
 
| 9 || NG id
 
|-
 
|-
| a-10 || NG private key
+
| a-11 || NG private key
 
|-
 
|-
| 11-15 || NAND HMAC
+
| 11-15 || NAND HMAC (overlaps with NG private key)
 
|-
 
|-
 
| 16-19 || NAND key
 
| 16-19 || NAND key