SPRUI30H November 2015 – May 2024 DRA745 , DRA746 , DRA750 , DRA756
Tracing in the public ROM code consists in 32-bit vectors for which each bit corresponds to a particular way point in the ROM code execution sequence. Table 32-56 through Table 32-59 list the organization of the tracing data in RAM. Tracing vectors are initialized at the beginning of the start-up phase and are updated all along the boot process.
There are two sets of tracing vectors (Table 32-14, Tracing Data). The first set is the current trace information (after a cold or warm reset). The second set holds a copy of trace vectors collected at the first ROM code run after a cold reset. As a result, after a warm reset it is possible to have visibility on the boot scenario that occurred during a cold reset.
Table 32-56 lists the organization of tracing vector 1.
| Bit | Group | Meaning |
|---|---|---|
| 0 | Boot | Passed the public reset vector |
| 1 | Boot | Entered main function |
| 2 | Boot | Running after the cold reset |
| 3 | Boot | Main booting routine entered |
| 4 | Memory boot | Memory booting started |
| 5 | Peripheral boot | Peripheral booting started |
| 6 | Boot | Booting loop reached last device |
| 7 | Boot | GP header found |
| 8 | Peripheral Boot | Booting message Skip peripheral booting received |
| 9 | Peripheral Boot | Booting message Change device received |
| 10 | Peripheral boot | Booting message Peripheral booting received |
| 11 | Peripheral boot | Booting message Get ASIC ID received |
| 12 | Peripheral boot | Device initialized |
| 13 | Peripheral boot | ASIC ID sent |
| 14 | Peripheral boot | Image received |
| 15 | Peripheral boot | Peripheral booting failed |
| 16 | Peripheral boot | Booting message not received (time-out) |
| 17 | Peripheral boot | Image size not received (time-out) |
| 18 | Peripheral boot | Image not received (time-out) |
| 19 | Reserved | |
| 20 | Boot | Configuration header found |
| 21 | Boot | CHSETTINGS item processed |
| 22 | Boot | Reserved |
| 23 | Boot | CHFLASH item processed |
| 24 | Boot | CHMMCSD item processed (clock) |
| 25 | Boot | CHMMCSD item processed (bus width) |
| 26 | Boot | CHMMCSD item processed (eMMC DDR mode) |
| 27 | Reserved | |
| 28 | Boot | SWCFG general detected |
| 29 | Boot | SWCFG clocks detected |
| 30 | Boot | SWCFG time-out detected |
| 31 | Reserved |
Table 32-57 lists the organization of tracing vector 2.
| Bit | Group | Meaning |
|---|---|---|
| 0 | Configuration Header | CHSATA item processed |
| 1:3 | Reserved | |
| 4 | USB | USB connected |
| 5 | USB | USB configured |
| 6:7 | Reserved | |
| 8 | Configuration Header | CHQSPI item processed (clock speed) |
| 9 | Configuration Header | CHQSPI item processed (Read command) |
| 10:11 | Reserved | Reserved |
| 12 | Memory boot | Memory booting trial (first block) |
| 13 | Memory boot | Memory booting trial (second block) |
| 14 | Memory boot | Memory booting trial (third block) |
| 15 | Memory boot | Memory booting trial (fourth block) |
| 16:27 | Reserved | |
| 28:29 | Reserved | |
| 30 | Boot | Jumping to Initial Software |
| 31 | Reserved |
Table 32-58 lists the organization of tracing vector 3.
| Bit | Group | Meaning |
|---|---|---|
| 0 | Reserved | |
| 1 | Memory boot | Memory booting device XIP |
| 2 | Memory boot | Memory booting device XIPWAIT |
| 3 | Memory boot | Memory booting device NAND |
| 4 | Reserved | |
| 5 | Memory boot | Memory booting device SD |
| 6 | Memory boot | Memory booting device: eMMC (from boot partition) |
| 7 | Memory boot | Memory booting device MMC2: eMMC (from user area) |
| 8 | Reserved | |
| 9 | Memory boot | Memory booting device: SATA |
| 10 | Memory boot | Memory booting device: QSPI_1 |
| 11 | Memory boot | Memory booting device: QSPI_4 |
| 12:15 | Reserved | |
| 16:18 | Reserved | |
| 19 | Peripheral boot | Peripheral booting device UART3 |
| 20 | Reserved | |
| 21 | Peripheral boot | Peripheral booting device USB |
| 22:23 | Reserved | |
| 24:27 | Reserved | |
| 28 | Boot | Reserved |
| 29 | Boot | Reserved |
| 30:31 | Reserved |
Table 32-59 lists the organization of tracing vector 4.
| Bit | Group | Meaning |
|---|---|---|
| 0:23 | Reserved | |
| 24 | MMC/SD | SD card detected PBIAS configuration is 1.8V |
| 25:27 | Reserved | |
| 28 | SATA | SATA is configured |
| 29 | SATA | SATA retried |
| 30 | SATA | SATA failed |
| 31 | Reserved |