| | 343 | |
| | 344 | |
| | 345 | = Secure JTAG |
| | 346 | If you are enabling Secure JTAG on your i.mx8mm boards (via setting SJC_LOCK via 'fuse prog -y 0 0 0x400') upon JTAG programming you will see something like: |
| | 347 | {{{ |
| | 348 | Channel # S01 |
| | 349 | -------------------------------------------------------------------------------- |
| | 350 | USB Open Rev r0 |
| | 351 | JTAG_ID #00 CSD |
| | 352 | JTAG_ID #01 MSP |
| | 353 | Device Locked 00% |
| | 354 | Challenge: 0x1B2A9209DAB4B890, Response: |
| | 355 | }}} |
| | 356 | |
| | 357 | At this point you would enter the 56bit hex response (with or without leading 0x). |
| | 358 | |
| | 359 | The 64bit challenge key is a board-specific unique key (meant for you to store in a secure database associated with the 56bit response key). The 56bit response key is programmed into 0x600[0:31] and 0x610[0:23] (via 'fuse prog -y 8 0 <lowerbits>' and 'fuse prog -y 8 1 <upperbits>). |
| | 360 | |
| | 361 | You can also enter the response via a command-line argument '-c <56bithex>'. |
| | 362 | |
| | 363 | There isn't anything special you have to have installed other than a version of jtag_usbv4 later than Sep 27. Our latest version of jtag_usbv4 (v5.0-g34e7cc5) can be found at https://dev.gateworks.com/jtag/jtag_usbv4. |
| | 364 | |