... | ... | @@ -199,7 +199,7 @@ Trace the value (32-bit) of a global variable with the ARM Cortex M4 CoreSight D |
|
|
|------------|----------------------------------------------------------------------------------------------------|---------------------------------|
|
|
|
| `variable`* | Name or address of the global variable to trace. <br> **Note**: The address (or the address of the variable) must be properly aligned (i.e. the address must be an integer multiple of `size`) otherwise the resulting trace is unpredictable! | string (in case the address is provided, it must have the prefix `0x`) |
|
|
|
| `mode` | Access mode to trace. Example: `R` (read) means only read accesses to the variable will be logged. If `PC` is appended (`R PC`), the program counter will also be recorded. | possible values: `R` (read), `W` (write), `RW` (read + write), `PC` (program counter)<br />default: `W` |
|
|
|
| `size` | Size of the variable to be traced, in bytes. | integer (accepted values: 1, 2 or 4), default: 4 |
|
|
|
| `size` | Size of the variable to be traced, in bytes. Note that the address has to be aligned to the respective size. | integer (powers of two only: 1, 2, 4, 8, ...), default: 4 |
|
|
|
|
|
|
\* mandatory elements
|
|
|
|
... | ... | |