I just want to vent a little. e2studio 2023-07 has fixed the issue of needing to manually modify the CPSR register, but this only applies when not using an RTOS. When using an RTOS, manual modification is still required for debugging, and the previous command “source.\change cpsr.py” is no longer functional.I’m speechless, literally.
Even though the official update provided details on how to use this script.（It turns out that only the script was described, without specifying the command to invoke the script.）
Now, basically you don't need to use the python script. In the debug configuration, use the "Set CPSR(5bit) after download" --> "Yes".
（It turns out that only the script was described, without specifying the command to invoke the script.）：In the past, it was like that, but now it has been clarified.source.\change_cpsr.py