PXIDEV:ReadCTRCARD Cmd42: Difference between revisions
Jump to navigation
Jump to search
Steveice10 (talk | contribs) Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00030102] |- | 1 | Buffer Size |- | 2 | Sector Offset |- | 3 | Sector Count |..." |
(No difference)
|
Latest revision as of 08:17, 21 January 2016
Request
| Index Word | Description |
|---|---|
| 0 | Header code [0x00030102] |
| 1 | Buffer Size |
| 2 | Sector Offset |
| 3 | Sector Count |
| 4 | u8, SectorSize |
| 5 | (Size << 8) | 0x4 |
| 6 | Buffer Pointer |
Response
| Index Word | Description |
|---|---|
| 0 | Header code |
| 1 | Result code |
Description
Reads from CTRCARD at an offset. The 32-bit words of the command written to the CTRCARD_CMD register are "0x42000000 | (SectorOffset >> 23), SectorOffset << 9, 0, 0"