Thanks for your time.
I tried all [env] configs, I made a verbose upload with the [pico_standard] config, with this result:
Executing task in folder Pico_Test: C:\Users\Christoph.platformio\penv\Scripts\platformio.exe run --verbose --target upload --environment pico_standard <
Processing pico_standard (platform: GitHub - maxgerhardt/platform-raspberrypi: Raspberry Pi: development platform for PlatformIO; board: pico; framework: arduino; upload_protocol: picoprobe; debug_tool: picoprobe; platform_packages: platformio/tool-openocd-raspberrypi@GitHub - maxgerhardt/pio-openocd-picoprobe: PlatformIO package for a precompiled OpenOCD version with Picoprobe support on Windows.; monitor_speed: 115200)
---------------------------------------------------------------------------------------------------------------------------------------CONFIGURATION: Redirecting...
PLATFORM: Raspberry Pi RP2040 (1.2.0+sha.673d327) (git+https://github.com/maxgerhardt/platform-raspberrypi.git) > Raspberry Pi Pico
HARDWARE: RP2040 133MHz, 264KB RAM, 2MB Flash
DEBUG: Current (picoprobe) External (cmsis-dap, jlink, picoprobe, raspberrypi-swd)
PACKAGES:
- framework-arduino-mbed 2.4.1
- tool-mklittlefs 1.203.210628 (2.3)
- tool-openocd-raspberrypi 2.1100.0+sha.63d4970 (git+https://github.com/maxgerhardt/pio-openocd-picoprobe.git)
- tool-rp2040tools 1.0.2
- toolchain-gccarmnoneeabi 1.90201.191206 (9.2.1)
LDF: Library Dependency Finder → Library Dependency Finder (LDF) — PlatformIO latest documentation
LDF Modes: Finder ~ chain, Compatibility ~ soft
Framework incompatible library C:\Users\Christoph.platformio\packages\framework-arduino-mbed@2.4.1\libraries\LittleVGL
Framework incompatible library C:\Users\Christoph.platformio\packages\framework-arduino-mbed@2.4.1\libraries\Portenta_SDCARD
Found 30 compatible libraries
More details about “Library Compatibility Mode”: Redirecting...
Scanning dependencies…
No dependencies
Building in release mode
([“checkprogsize”], [“.pio\build\pico_standard\firmware.elf”])
Flash size: 2.00MB
Sketch size: 2.00MB
Filesystem size: 0.00MB
Maximium size: 2093056 Flash Length: 2093056 EEPROM Start: 270528512 Filesystem start 270528512 Filesystem end 270528512
MethodWrapper([“checkprogsize”], [“.pio\build\pico_standard\firmware.elf”])
Advanced Memory Usage is available via “PlatformIO Home > Project Inspect”
RAM: [== ] 18.6% (used 50240 bytes from 270336 bytes)
Flash: [ ] 3.5% (used 72664 bytes from 2093056 bytes)
.pio\build\pico_standard\firmware.elf :section size addr
.boot2 256 268435456
.text 52400 268435712
.rodata 8884 268488112
.ARM.exidx 8 268496996
.ram_vector_table 192 536870912
.data 11372 536871104
.uninitialized_ram.magic_location 12 536882476
.uninitialized_data 0 536882488
.scratch_x 0 537133056
.scratch_y 0 537137152
.bss 38868 536882488
.heap 210676 536921356
.ARM.attributes 40 0
.comment 132 0
.debug_frame 5284 0
.stab 60 0
.stabstr 118 0
Total 328302
([“upload”], [“.pio\build\pico_standard\firmware.bin”])
AVAILABLE: cmsis-dap, jlink, picoprobe, picotool, raspberrypi-swd
CURRENT: upload_protocol = picoprobe
openocd -d2 -s C:\Users\Christoph.platformio\packages\tool-openocd-raspberrypi/share/openocd/scripts -f interface/picoprobe.cfg -f target/rp2040.cfg -c “program {.pio\build\pico_standard\firmware.bin} 0x10000000 verify reset; shutdown;”
Open On-Chip Debugger 0.10.0+dev-g18b4c35 (2021-07-16-01:02)
Licensed under GNU GPL v2
For bug reports, read
OpenOCD: Bug Reporting
debug_level: 2Info : only one transport option; autoselect ‘swd’
Warn : Transport “swd” was already selected
adapter speed: 5000 kHzInfo : Hardware thread awareness created
Info : Hardware thread awareness created
Info : RP2040 Flash Bank Command
*** [upload] Error 5
===================================================== [FAILED] Took 3.37 seconds =====================================================Environment Status Duration
pico_earlephilhower IGNORED
pico_earlephilhower_picoprobe_debugging IGNORED
pico_standard FAILED 00:00:03.370
================================================ 1 failed, 0 succeeded in 00:00:03.370 ================================================The terminal process “C:\Users\Christoph.platformio\penv\Scripts\platformio.exe ‘run’, ‘–verbose’, ‘–target’, ‘upload’, ‘–environment’, ‘pico_standard’” terminated with exit code: 1.Terminal will be reused by tasks, press any key to close it.
Any help/explanation welcome. I am an old-school electronic engineer, but I am new to PlatformIO, so I still have to get used to understand the underlying mecanisms and workflow (and of course the “hidden” options). Thanks a lot.