Trustzone debugging in VSCode
Hi,
I am using Nucleo-WBA65RI and I have enabled trustzone. I generated the project using CubeMX and it generated a secure and a non-secure project. I have enabled the trustzone option byte and am able to run an example project with secure and non-secure projects on my board. The problem is, I am not using CubeIDE for my project. I am using VSCode and am able to debug the secure project but it crashes when it is supposed to jump to non-secure project. And I am unable to debug the non-secure project.
Can anyone provide me a working launch.json script using cortex-debug and stlink?
If my project behavior indicates some other problem, please suggest me a solution for that too.
Thanks!
