Joy-Con Firmware: Difference between revisions

Line 7: Line 7:
|-
|-
! Offset
! Offset
! Endianness
! Size
! Size
! Description
! Description
|-
|-
| 0x00 || B || 0x14 || Magic number??
| 0x00 || 0x14 || Magic number??
|-
|-
| 0x15 || L || 0x06 || Unique MAC Address of controller
| 0x15 || 0x06 || Unique MAC Address of controller
|-
|-
| 0x3B3 || L || 0x04 || Offset to Factory Firmware
| 0x3B3 || 0x04 || Offset to Factory Firmware
|-
|-
| 0x1FF4 || B || 0x08 || OTA Magic, if the controller is Over-The-Air updated.
| 0x1FF4 || 0x08 || OTA Magic, if the controller is Over-The-Air updated.
|-
|-
| 0x1FFC || L || 0x04 || Offset to OTA Firmware, if OTA Magic is valid.
| 0x1FFC || 0x04 || Offset to OTA Firmware, if OTA Magic is valid.
|-
|-
| 0x6000 || Mixed || 0x1000 || Factory configuration (see [[#Factory Configuration Sector|Factory Configuration Sector]])
| 0x2000 || 0x1000 || PairingInfo
|-
|-
| 0x8000 || Mixed || 0x1000 || User calibration (see [[#User Calibration Sector|User Calibration Sector]])
| 0x5000 || 0x1 || Shipment
|-
| 0x6000 || 0x1000 || [[#Factory Configuration Sector|Factory Configuration]]
|-
| 0x8000 || 0x1000 || [[#User Calibration Sector|User Calibration]]
|}
|}


Line 30: Line 33:
|-
|-
! Offset
! Offset
! Endianness
! Size
! Size
! Description
! Description
|-
|-
| 0x00 || B || 0x10 || IdentificationCode
| 0x00 || 0x10 || IdentificationCode
|-
|-
| 0x12 || B || 0x01 || [[#Type|Type]]
| 0x12 || 0x01 || [[#Type|Type]]
|-
|-
| 0x1B || B || 0x01 || FormatVersion
| 0x1B || 0x01 || FormatVersion
|-
|-
| 0x20 || B || 0x18 || [[#Cal1|Cal1]]
| 0x20 || 0x18 || [[#Cal1|Cal1]]
|-
|-
| 0x3D || B || 0x12 || [[#Cal2|Cal2]]
| 0x3D || 0x12 || [[#Cal2|Cal2]]
|-
|-
| 0x4F || B || 0x01 || Reserved
| 0x4F || 0x01 || Reserved
|-
|-
| 0x50 || B || 0x0D || [[#Design|Design]]
| 0x50 || 0x0D || [[#Design|Design]]
|-
|-
| 0x80 || B || 0x18 || [[#Model1|Model1]]
| 0x80 || 0x18 || [[#Model1|Model1]]
|-
|-
| 0x98 || B || 0x12 || [[#Model2|Model2]]
| 0x98 || 0x12 || [[#Model2|Model2]]
|}
|}


Line 181: Line 183:
|-
|-
! Offset
! Offset
! Endianness
! Size
! Size
! Description
! Description
|-
|-
| 0x10 || B || 0x18 || [[#UserCal1|UserCal1]]
| 0x10 || 0x18 || [[#UserCal1|UserCal1]]
|-
|-
| 0x28 || B || 0x18 || [[#UserCal2|UserCal2]]
| 0x28 || 0x18 || [[#UserCal2|UserCal2]]
|}
|}