Info : Listening on port 6666 for tcl connections Info : auto-selecting first available session transport "swd". I am using command prompt to test OPENOCD manually.įirstly, if you are using the existing OPENOCD that came with the installation of Arduino SAMD boards under its Arduino Zero directory, when running the OPENOCD you will encounter the error below: C:\Users\RICKY GAI\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.10.0-arduino7\bin>openocd -c "gdb_port 50000" -s "F:\DEVELOP\NEXUZ\EE\Arduino\ZERO\SKETCH\blinkdemo\build" -f "c:\users\rickyg~1\appdata\local\arduin~1\packages\arduino\hardware\samd\184c54~1.11\variants\arduin~2\openoc~1\arduino_zero.cfg" You may download the latest OPENOCD for Microsoft Windows 10 at HERE. ![]() I found the solution to resolve the error, it is due to old version of OPENOCD, after new OPENOCD is used, I can live debug the Arduino Zero using EDBG USB programming port under the Arduino IDE 2.0 beta 5 and Visual Studio Code successfully.
0 Comments
Leave a Reply. |