Last active
March 14, 2023 00:18
-
-
Save gamblor21/23c04033c7c986f1fd06343ba9a273cb to your computer and use it in GitHub Desktop.
Using WSL and JTAG
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Steps: | |
1. Start JlinkRemoteServer on windows | |
1a. If any issues check firewall rules that WSL can access it | |
2. In WSL run: JLinkGDBServerCLExe -device ATSAMD51G19A -if SWD -ip 172.30.240.1 | |
2a. IP may change that is windows machine IP (find with ip route command in WSL) | |
3. arm-none-eabi-gdb build/firmware.elf | |
3a. target extended-remote :2331 | |
Ensure JTab RST is hooked to Reset (or enable on ItsyBitsy M4 worked) | |
https://wiki.segger.com/WSL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment