XGecu Protocol: Difference between revisions
Jump to navigation
Jump to search
(fixup c/s column and add some T56 cmds) |
m (moar fill-in) |
||
Line 10: | Line 10: | ||
|GET_SYSTEM_INFO | |GET_SYSTEM_INFO | ||
|0x00 | |0x00 | ||
| | |0x00 | ||
| | |0x00 | ||
|0x00 | |0x00 | ||
|- | |- | ||
|NAND_INIT | |NAND_INIT | ||
| | | - | ||
|0x02 | |0x02 | ||
|0x02 | |0x02 | ||
Line 41: | Line 41: | ||
|0x10 | |0x10 | ||
|0x06 | |0x06 | ||
| | |0x06 | ||
|0x06 | |0x06 | ||
|- | |- | ||
Line 47: | Line 47: | ||
|0x11 | |0x11 | ||
|0x07 | |0x07 | ||
| | |0x07 | ||
|0x07 | |0x07 | ||
|- | |- | ||
Line 53: | Line 53: | ||
|0x12 | |0x12 | ||
|0x08 | |0x08 | ||
| | |0x08 | ||
|0x08 | |0x08 | ||
|- | |- | ||
Line 59: | Line 59: | ||
|0x13 | |0x13 | ||
|0x09 | |0x09 | ||
| | |0x09 | ||
|0x09 | |0x09 | ||
|- | |- | ||
Line 65: | Line 65: | ||
|0x14 | |0x14 | ||
|0x0a | |0x0a | ||
| | |0x0a | ||
|0x0a | |0x0a | ||
|- | |- | ||
Line 71: | Line 71: | ||
|0x15 | |0x15 | ||
|0x0b | |0x0b | ||
| | |0x0b | ||
|0x0b | |0x0b | ||
|- | |- | ||
Line 77: | Line 77: | ||
|0x20 | |0x20 | ||
|0x0c | |0x0c | ||
| | |0x0c | ||
|0x0c | |0x0c | ||
|- | |- | ||
Line 95: | Line 95: | ||
|0x30 | |0x30 | ||
|0x10 | |0x10 | ||
| | |0x10 | ||
|0x10 | |0x10 | ||
|- | |- | ||
Line 101: | Line 101: | ||
|0x31 | |0x31 | ||
|0x11 | |0x11 | ||
| | |0x11 | ||
|0x11 | |0x11 | ||
|- | |- | ||
Line 107: | Line 107: | ||
|0x40 | |0x40 | ||
|0x14 | |0x14 | ||
| | |0x14 | ||
|0x14 | |0x14 | ||
|- | |- | ||
Line 119: | Line 119: | ||
|0x42 | |0x42 | ||
|0x16 | |0x16 | ||
| | |0x16 | ||
|0x16 | |0x16 | ||
|- | |- | ||
Line 125: | Line 125: | ||
|0x44 | |0x44 | ||
|0x18 | |0x18 | ||
| | |0x18 | ||
|0x18 | |0x18 | ||
|- | |- | ||
Line 131: | Line 131: | ||
|0x45 | |0x45 | ||
|0x19 | |0x19 | ||
| | |0x19 | ||
|0x19 | |0x19 | ||
|- | |- | ||
Line 143: | Line 143: | ||
|0xaa | |0xaa | ||
|0x3b | |0x3b | ||
| | |0x3b | ||
|0x3b | |0x3b | ||
|- | |- | ||
Line 149: | Line 149: | ||
|0xcc | |0xcc | ||
|0x3c | |0x3c | ||
| | |0x3c | ||
|0x3c | |0x3c | ||
|- | |- | ||
Line 162: | Line 162: | ||
|0x39 | |0x39 | ||
|0x39 | |0x39 | ||
| | |0x39 | ||
|- | |- | ||
|READ_JEDEC | |READ_JEDEC | ||
| | | - | ||
|0x1d | |0x1d | ||
|0x1d | |0x1d | ||
Line 171: | Line 171: | ||
|- | |- | ||
|WRITE_JEDEC | |WRITE_JEDEC | ||
| | | - | ||
|0x1e | |||
|0x1e | |0x1e | ||
|0x1e | |0x1e | ||
|- | |||
|WRITE_BITSTREAM | |||
| - | |||
| - | |||
| - | |||
|0x26 | |||
|- | |- | ||
|LOGIC_IC_TEST_VECTOR | |LOGIC_IC_TEST_VECTOR | ||
Line 181: | Line 187: | ||
|0x28 | |0x28 | ||
|0x28 | |0x28 | ||
|- | |||
|WRITE_BITSTREAM2 | |||
| - | |||
| - | |||
| - | |||
|0x2a | |||
|- | |- | ||
|SWITCH | |SWITCH | ||
| | | - | ||
|0x3d | |||
|0x3d | |0x3d | ||
|0x3d | |0x3d | ||
|- | |- | ||
|SET_LATCH | |SET_LATCH | ||
|0xd1 | |0xd1 | ||
| | | - | ||
| | | - | ||
| | | - | ||
|- | |- | ||
|RESET_PIN_DRIVERS | |RESET_PIN_DRIVERS | ||
Line 198: | Line 210: | ||
|0x2d | |0x2d | ||
|0x2d | |0x2d | ||
| | |0x2d | ||
|- | |- | ||
|READ_ZIF_PINS | |READ_ZIF_PINS | ||
Line 204: | Line 216: | ||
|0x35 | |0x35 | ||
| | | | ||
| | |0x35 | ||
|- | |- | ||
|SET_DIR | |SET_DIR | ||
Line 216: | Line 228: | ||
|0x36 | |0x36 | ||
| | | | ||
| | |0x36 | ||
|- | |- | ||
|SET_VCC_VOLTAGE | |SET_VCC_VOLTAGE | ||
| | | | ||
|0x1b | |0x1b | ||
| | |0x1b | ||
| | | | ||
|- | |- | ||
Line 227: | Line 239: | ||
| | | | ||
|0x2e | |0x2e | ||
| | |0x2e | ||
| | |0x2e | ||
|- | |- | ||
|SET_VPP_VOLTAGE | |SET_VPP_VOLTAGE | ||
| | | | ||
|0x1c | |0x1c | ||
| | |0x1c | ||
| | | | ||
|- | |- | ||
|SET_VPP_PIN | |SET_VPP_PIN | ||
|0x2f | |0x2f | ||
| | |0x2f | ||
| | |0x2f | ||
|0x2f | |||
|- | |- | ||
|SET_GND_PIN | |SET_GND_PIN | ||
| | | | ||
|0x30 | |0x30 | ||
| | |0x30 | ||
| | |0x30 | ||
|- | |- | ||
|SET_PULLDOWNS | |SET_PULLDOWNS | ||
| | | | ||
|0x31 | |0x31 | ||
| | |0x31 | ||
| | | | ||
|- | |- | ||
Line 257: | Line 269: | ||
| | | | ||
|0x32 | |0x32 | ||
| | |0x32 | ||
| | | | ||
|- | |- | ||
Line 263: | Line 275: | ||
|0xff | |0xff | ||
|0x3f | |0x3f | ||
| | |0x3f | ||
| | |0x3f | ||
|- | |- | ||
|? pin detect | |? pin detect | ||
Line 270: | Line 282: | ||
| | | | ||
|0x3e | |0x3e | ||
| | |0x3e | ||
|- | |- | ||
|?? autofind ?? | |?? autofind ?? | ||
Line 278: | Line 290: | ||
| | | | ||
|- | |- | ||
| | |? detect_tsop_adapter | ||
| | | | ||
| | | |
Revision as of 15:12, 14 April 2024
based on minipro, list of commands:
command | TL866a/cs | TL866II+ | T48 | T56 |
GET_SYSTEM_INFO | 0x00 | 0x00 | 0x00 | 0x00 |
NAND_INIT | - | 0x02 | 0x02 | 0x02 |
START_TRANSACTION | 0x03 | 0x03 | 0x03 | 0x03 |
END_TRANSACTION | 0x04 | 0x04 | 0x04 | 0x04 |
GET_CHIP_ID | 0x05 | 0x05 | 0x05 | 0x05 |
READ_USER | 0x10 | 0x06 | 0x06 | 0x06 |
WRITE_USER | 0x11 | 0x07 | 0x07 | 0x07 |
READ_CFG | 0x12 | 0x08 | 0x08 | 0x08 |
WRITE_CFG | 0x13 | 0x09 | 0x09 | 0x09 |
WRITE_USER_DATA | 0x14 | 0x0a | 0x0a | 0x0a |
READ_USER_DATA | 0x15 | 0x0b | 0x0b | 0x0b |
WRITE_CODE | 0x20 | 0x0c | 0x0c | 0x0c |
READ_CODE | 0x21 | 0x0d | 0x0d | 0x0d |
ERASE | 0x22 | 0x0e | 0x0e | 0x0e |
READ_DATA | 0x30 | 0x10 | 0x10 | 0x10 |
WRITE_DATA | 0x31 | 0x11 | 0x11 | 0x11 |
WRITE_LOCK | 0x40 | 0x14 | 0x14 | 0x14 |
READ_LOCK | 0x41 | 0x15 | 0x15 | 0x15 |
READ_CALIBRATION | 0x42 | 0x16 | 0x16 | 0x16 |
PROTECT_OFF | 0x44 | 0x18 | 0x18 | 0x18 |
PROTECT_ON | 0x45 | 0x19 | 0x19 | 0x19 |
AUTODETECT | 0xfc | 0x37 | 0x37 | 0x37 |
BOOTLOADER_WRITE | 0xaa | 0x3b | 0x3b | 0x3b |
BOOTLOADER_ERASE | 0xcc | 0x3c | 0x3c | 0x3c |
UNLOCK_TSOP48 | 0xfd | 0x38 | ||
GET_STATUS | 0xfe | 0x39 | 0x39 | 0x39 |
READ_JEDEC | - | 0x1d | 0x1d | 0x1d |
WRITE_JEDEC | - | 0x1e | 0x1e | 0x1e |
WRITE_BITSTREAM | - | - | - | 0x26 |
LOGIC_IC_TEST_VECTOR | 0x28 | 0x28 | 0x28 | |
WRITE_BITSTREAM2 | - | - | - | 0x2a |
SWITCH | - | 0x3d | 0x3d | 0x3d |
SET_LATCH | 0xd1 | - | - | - |
RESET_PIN_DRIVERS | 0xd0 | 0x2d | 0x2d | 0x2d |
READ_ZIF_PINS | 0xd2 | 0x35 | 0x35 | |
SET_DIR | 0xd4 | 0x34 | ||
SET_OUT | 0xd5 | 0x36 | 0x36 | |
SET_VCC_VOLTAGE | 0x1b | 0x1b | ||
SET_VCC_PIN | 0x2e | 0x2e | 0x2e | |
SET_VPP_VOLTAGE | 0x1c | 0x1c | ||
SET_VPP_PIN | 0x2f | 0x2f | 0x2f | 0x2f |
SET_GND_PIN | 0x30 | 0x30 | 0x30 | |
SET_PULLDOWNS | 0x31 | 0x31 | ||
SET_PULLUPS | 0x32 | 0x32 | ||
RESET | 0xff | 0x3f | 0x3f | 0x3f |
? pin detect | 0x3e | 0x3e | ||
?? autofind ?? | 0x29 | |||
? detect_tsop_adapter | 0x24 | |||
??? set / read / pin (imax?) | 0x33 | |||
??? after read cfg | 0x22 |