The OpenOCD config creates all the CPU cores in accordance to their AP number
|
# Create each CPU targets |
|
|
|
target create $_CHIPNAME.cpu3 cortex_m -dap $_CHIPNAME.dap -ap-num 3 |
However, this makes it incompatible with targets using HLA_SWD like the ST-Link, who can only access the first AP (=0). Other config files have a check for this
https://github.com/openocd-org/openocd/blob/573a39b36cf133bb7403b12337301a5616112f1a/tcl/target/stm32mp13x.cfg#L6-L47
And I think it should be included here too.
The OpenOCD config creates all the CPU cores in accordance to their AP number
spresense/sdk/tools/cxd5602.cfg
Lines 28 to 30 in 556c296
However, this makes it incompatible with targets using HLA_SWD like the ST-Link, who can only access the first AP (=0). Other config files have a check for this
https://github.com/openocd-org/openocd/blob/573a39b36cf133bb7403b12337301a5616112f1a/tcl/target/stm32mp13x.cfg#L6-L47
And I think it should be included here too.