arduino / ArduinoCore-mbed

348 stars 202 forks source link

Nano RP2040 - Sketch > Upload Using Programmer with Tools > Programmer ‘J-Link’ fails #939

Open rei-vilo opened 3 months ago

rei-vilo commented 3 months ago

Calling Sketch > Upload Using Programmer with Tools > Programmer ‘J-Link’ fails.

"C:\Users\USER\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.11.0-arduino2/bin/openocd.exe" -d2 -s "C:\Users\USER\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.11.0-arduino2/share/openocd/scripts/" -f interface/cmsis-dap.cfg  -f target/rp2040.cfg -c "telnet_port disabled; init; reset init; halt; adapter speed 10000; program {C:\Users\USER\AppData\Local\Temp\arduino\sketches\8FE9FD5B6B5F64C506A06759674DFACF/Blink_Serial.ino.elf}; reset run; shutdown"
Open On-Chip Debugger 0.11.0+dev-gab95bac57-dirty (2021-05-11-10:45)
Licensed under GNU GPL v2
For bug reports, read
    http://openocd.org/doc/doxygen/bugs.html
debug_level: 2

embedded:startup.tcl:26: Error: Can't find target/rp2040.cfg
in procedure 'script' 
at file "embedded:startup.tcl", line 26
Failed programming: uploading error: exit status 1

Environment

Thank you!