I have a system with 11 STM32 in a single JTAG chain. I’m trying to debug device with JTAG address 10,45 (JTAG device position 10, IR -pre-length of 45) and I’m getting this error message when running my launch configuration:
This is my entry in launch.json, my probe is a J-link:
Debugging device 0,0 on the same chain works (has similar firmware written on STM32Cube extension for VSCode) from STM32CubeIDE extension for VSCode.
With the exception of 0,0 and 10,45, all other devices have been programmed and debugged from STM32CubeIDE 1.18 and they work. J-link commander can also correctly connect to all devices. This makes me suspect that the problem is within the STM32CubeIDE extension (maybe just limiting the numbers too much?).
Maybe I’m doing something wrong? I’ll be happy to provide extra information.
Our step for validating the attributes is too aggressive and does not allow values above 10.
In the meantime, the simplest workaround is to launch J-Link from the command line and use the "attach" request to connect to the server. Sorry for the inconvenience.
The attach debug configuration should look like this :
Our step for validating the attributes is too aggressive and does not allow values above 10.
In the meantime, the simplest workaround is to launch J-Link from the command line and use the "attach" request to connect to the server. Sorry for the inconvenience.
The attach debug configuration should look like this :
@Visques The July update of STM32CubeIDE for Microsoft Visual Studio Code resolves this issue. Update the local setup to benefit from this improvement.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.