XMC7xxx/XMC5xxx and TRAVEO™ T2G global variables
ENABLE_ACQUIRE
Enables or disables the acquisition of the target device in test mode.
Possible values:
1 – Reset acquisition enabled (default with KitProg3/MiniProg4)
0 – Acquisition disabled (default for other debug adapters)
ENABLE_POWER_SUPPLY
Controls the internal power supply of KitProg3/MiniProg4 adapters. If this command is specified, the KitProg3 driver enables the power supply, thus powering on the target during initialization.
Possible values:
0 – Power supply disabled
Any other value defines target voltage in millivolts.
default – Sets the last used voltage before KitProg3/MiniProg4 was powered off.
ENABLE_CM71
Allows specifying the CPU cores to be visible to OpenOCD. Useful for single core XMC7xxx devices. OpenOCD never affects disabled cores.
Possible values:
1 – CM71 core is enabled.
0 – Core is disabled.
SMIF_BANKS
Defines QSPI memory banks. This variable is a two-dimensional associative Tcl array of the following format:
set SMIF_BANKS {
1 {addr <XIPaddr1> size <BankSz1> psize <ProgramSz1> esize <EraseSz1>}
2 {addr <XIPaddr2> size <BankSz2> psize <ProgramSz2> esize <EraseSz2>}
...
N {addr <XIPaddrN> size <BankSzN> psize <ProgramSzN> esize <EraseSzN>}
}
Where:
XIPaddrN
– XIP mapping address
BankSzN
– Total size of this flash bank, in bytes
ProgramSzN
– Minimal programming granularity (program block size), in bytes
EraseSzN
– Minimal erase granularity (erase block size), in bytes