Raspberry pi pico load elf without IDE

Hello! I try to my compiling sketch to Raspberry pi pico from command line (Windows 10). From Arduino IDE all upload ok and I get cmd from debug:

Forcing reset using 1200bps open/close on port COM7
C:\Users\myuser\AppData\Local\Arduino15\packages\arduino\tools\rp2040tools\1.0.2/rp2040load -v -D C:\Users\myuser\AppData\Local\Temp\arduino_build_522863/RasPiPico.ino.elf 
rp2040load 1.0.1 - compiled with go1.15.8
Loading into Flash: [==============================]  100%

but if I try it from command line:

C:\Users\myuser\AppData\Local\Arduino15\packages\arduino\tools\rp2040tools\1.0.2/rp2040load -v -D C:\Users\myuser\AppData\Local\Temp\arduino_build_522863/RasPiPico.ino.elf

I get:

rp2040load 1.0.1 - compiled with go1.15.8
.....................

and nothing upload to board... Please help, how to make upload from command line? Thanks!

Notice this line:

The microcontroller must be put into a mode where it can receive the data from the computer. The Arduino IDE is able to do this by momentarily opening a serial connection at this specific baud rate just before running the rp2040load uploader tool. You could run some command to do that, but you might find it easier to just manually reset the board instead.

I try make

mode com7: baud=1200 dtr=on
mode com7: dtr=off

but it's not help

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.