Open Yuhang-Yohoo opened 5 days ago
I solved both of them.
I finally realized it was caused by the Python fault in Windows. To make it work, be sure:
The last step is omitted by the "on-chip debugging" instruction but can be found in other documents.
My emulator is Jlink12 from SEEGER, I tried to reach the cortex via Jlink console and found the Crazyfile chip can only be visited in SWD mode. So the solution is :
And then I can enter the breakpoint in main.c.
Aslo another suggestion is this tutor includes some deprecated expressions, an updation will be helpful for new beginners.
Thanks a lot for posting the answer! I started looking at the documentation and indeed it is not up to date with the latest WSL development. I have started working on updating it.
Hello devs! I had some problems when I was trying to upload the firmware via Crazyradio and debug in Vscode, WSL2, Windows. The instruction I followed is this. I am not sure if this is caused by WSL or my configuration.
The first problem happened when I tried to make cload:
The second when I tried to connect to the drone through emulator:
Any suggestions will be appreciated!