1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

macOS(Sequoia) + Moddable SDK + Raspberry Pi Pico/Pico2 でプログラムを書き込めない問題

Last updated at Posted at 2025-04-29

はじめに

Raspberry Pi Pico2 Wを購入した(積んだ)ので、Moddable SDKで動作確認することにした。

環境

macOS: Sequoia 15.4.1
デバイス: Raspberry Pi Pico2 W
Moddable SDK: 5.6.0
Pico SDK: 2.0.0

書き込めない問題

% cd $MODDABLE/examples/helloworld
% mcconfig -d -m -p pico/pico_2
(省略)
RP2350-E9: Adding absolute block to UF2 targeting 0x10ffff00
Hold the BOOTSEL button and power-cycle the device.
Waiting for /Volumes/RP2350..................(続く)

ビルドしたhelloworldプログラムが書き込めない事象が発生した。

FinderではRP2350と認識されているが、マウントポイントが"NO NAME"になっていることを確認した。

スクリーンショット 2025-04-29 16.00.42.png

% ls -al /Volumes
total 32
drwxr-xr-x   5 root      wheel    160  4 29 15:57 .
drwxr-xr-x  22 root      wheel    704  4 12 14:16 ..
drwxr-xr-x   4 root      wheel    128  4 15  2024 .timemachine
lrwxr-xr-x   1 root      wheel      1  4 28 14:41 Macintosh HD -> /
drwx------@  1 kitazaki  staff  16384  1  1  1970 NO NAME

調べると類似の事例が見つかったが、Raspberry Pi Pico2 Wなので、フォーマットできない。

回避策

マウント後にディレクトリの名前を変更して問題なくプログラムを書き込めることを確認した。

% cd /Volumes
% sudo mv "NO NAME" RP2350

ディスクユーティリティでも名前を変更できます。

diskutil.jpg

% mcconfig -d -m -p pico/pico_2
# Programming: /Users/kitazaki/.local/share/moddable/build/bin/pico/pico_2/debug/helloworld/xs_pico.uf2 /Volumes/RP2350 
Connect to xsbug @ 2e8a:0009.

スクリーンショット 2025-04-29 16.15.44.png

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?