sync notes(auto)

This commit is contained in:
Kaz Saita(raspi5) 2024-08-06 17:30:13 +09:00
parent 435ac17f2e
commit ec951adfb9

View file

@ -0,0 +1,29 @@
# 20240806170437 PIOでrp2040にuploadしようとするとエラー
#platformio #rp2040
pioでrp2040のプロジェクトを作成、uploadを実行すると、
```
AVAILABLE: blackmagic, cmsis-dap, jlink, pico-debug, picoprobe, picotool, raspberrypi-swd
CURRENT: upload_protocol = picotool
Looking for upload port...
Auto-detected: COM10
Forcing reset using 1200bps open/close on port COM10
Uploading .pio\build\generic\firmware.elf
rp2040load 1.0.1 - compiled with go1.15.8
.....................
*** [upload] Error 1
```
などと表示されて、うまくいかない。
```
upload_protocol = mbed
```
とするとうまくいった。 mbedは
```
AVAILABLE:
```
に表示されていないので、今(20240806171338)はうまくいっているがサポートされていないかもしれない。
## Refs.
- [After flashing the pico, no life sign from the board · Issue #743 · earlephilhower/arduino-pico · GitHub](https://github.com/earlephilhower/arduino-pico/issues/743#issuecomment-1219450188) ここに書いてあった
- [PlatformIO+Raspberry Pi Picoで一時Uploadができなくなった話 - 名称未設定。](https://u-mid.hateblo.jp/entry/2023/01/29/115129) zadigでドライバを入れかえる方法。手順が多くて面倒なので試していない。上記が使えない場合があったらやってみたい。