<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Atom JoyStickのATOM S3のファームをVisualStudioCodeのPlatformIOプラグインから書き込みたい]]></title><description><![CDATA[<p dir="auto">初めまして。M5 Stackの初心者です。<br />
M5 Stack Stamp Flyの飛行プログラムを自作したくて、現在、簡単な飛行命令を行うファームをAtom JoyStickに書き込もうとしていますが、ファームの書き込みに失敗してしまいます。<br />
環境は以下のとおりです。<br />
OS:Ubuntu24.04.2 LTS amd64 (VMware Workstation 15 Player 15.5.7 build-17171714上の仮想OS)<br />
IDE: VisualStudioCode 1.100.2<br />
プラグイン:PlatformIO<br />
対象のM5 Stack: ATOM S3<br />
USBドライバ:ホストOS(Windows11)側にはUSBドライバのCP210x_VCP_Windowsのインストールに成功しましたが、ゲストOSのUbuntu側ではCP210x_VCP_Linuxのmakeに失敗し、推奨ドライバのインストールはできいません。<br />
ATOM S3をUSBケーブルで接続した際にはttyACM0が表示されます。<br />
以下のブログなどを参考に手順を再現してみましたが同じエラーでファームのアップロードに失敗します。<br />
<a href="https://zenn.dev/hidenori3/articles/7ec70f3633ad41" target="_blank" rel="noopener noreferrer nofollow ugc">https://zenn.dev/hidenori3/articles/7ec70f3633ad41</a><br />
<a href="https://developer.mamezou-tech.com/blogs/2025/04/08/remote-develop-on-platformio/" target="_blank" rel="noopener noreferrer nofollow ugc">https://developer.mamezou-tech.com/blogs/2025/04/08/remote-develop-on-platformio/</a><br />
<a href="http://www.neko.ne.jp/~freewing/hardware/esp32_s3_vspi_not_declared_error/" target="_blank" rel="noopener noreferrer nofollow ugc">http://www.neko.ne.jp/~freewing/hardware/esp32_s3_vspi_not_declared_error/</a></p>
<p dir="auto">どうかお力を貸して頂けないでしょうか。</p>
<p dir="auto">Platformio.iniの内容:</p>
<pre><code>; PlatformIO Project Configuration File
;
;   Build options: build flags, source filter
;   Upload options: custom upload port, speed and extra flags
;   Library options: dependencies, extra library storages
;   Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
 
;[env]
[env:esp32-s3-devkitc-1]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
;framework = platformio
monitor_speed = 115200
;monitor_speed = 9600
;monitor_speed = 460800
;monitor_speed = 921600
 
lib_deps =
    fastled/FastLED
    tinyu-zhao/INA3221
    mathertel/OneButton @ ^2.5.0
 
;[env:esp32-s3-devkitc-1]
;build_type = release
;build_flags = -DCORE_DEBUG_LEVEL=0 -O0
;extra_scripts = post:generate_user_custom.py
custom_firmware_version = 0.0.1.3
custom_firmware_name = stampfly_firmware
custom_firmware_suffix = .bin
custom_firmware_dir = ./
upload_speed = 1500000
</code></pre>
<p dir="auto">エラーメッセージ:</p>
<pre><code class="language-*"> 
Processing esp32-s3-devkitc-1 (platform: espressif32; board: esp32-s3-devkitc-1; framework: arduino)
---------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32-s3-devkitc-1.html
PLATFORM: Espressif 32 (6.11.0) &gt; Espressif ESP32-S3-DevKitC-1-N8 (8 MB QD, No PSRAM)
HARDWARE: ESP32S3 240MHz, 320KB RAM, 8MB Flash
DEBUG: Current (esp-builtin) On-board (esp-builtin) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES: 
- framework-arduinoespressif32 @ 3.20017.241212+sha.dcc1105b 
- tool-esptoolpy @ 1.40501.0 (4.5.1) 
- tool-mkfatfs @ 2.0.1 
- tool-mklittlefs @ 1.203.210628 (2.3) 
- tool-mkspiffs @ 2.230.0 (2.30) 
- toolchain-riscv32-esp @ 8.4.0+2021r2-patch5 
- toolchain-xtensa-esp32s3 @ 8.4.0+2021r2-patch5
LDF: Library Dependency Finder -&gt; https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 39 compatible libraries
Scanning dependencies...
Dependency Graph
|-- FastLED @ 3.9.20
|-- INA3221 @ 0.0.1
|-- OneButton @ 2.6.1
|-- bmi270
|-- WiFi @ 2.0.0
|-- vl53l3c
|-- MdgwickAHRS
Building in release mode
Retrieving maximum program size .pio/build/esp32-s3-devkitc-1/firmware.elf
Checking size .pio/build/esp32-s3-devkitc-1/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home &gt; Project Inspect"
RAM:   [==        ]  21.1% (used 69116 bytes from 327680 bytes)
Flash: [==        ]  24.5% (used 819073 bytes from 3342336 bytes)
Configuring upload protocol...
AVAILABLE: cmsis-dap, esp-bridge, esp-builtin, esp-prog, espota, esptool, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa
CURRENT: upload_protocol = esptool
Looking for upload port...
Auto-detected: /dev/ttyACM0
Uploading .pio/build/esp32-s3-devkitc-1/firmware.bin
esptool.py v4.5.1
Serial port /dev/ttyACM0
Connecting...
Chip is ESP32-S3 (revision v0.2)
Features: WiFi, BLE
Crystal is 40MHz
MAC: 48:ca:43:38:c7:40
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00003fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x000d8fff...
Compressed 15104 bytes to 10430...
Writing at 0x00000000... (100 %)
Wrote 15104 bytes (10430 compressed) at 0x00000000 in 0.3 seconds (effective 447.6 kbit/s)...
 
A fatal error occurred: Packet content transfer stopped (received 24 bytes)
*** [upload] Error 2
=================================== [FAILED] Took 15.05 seconds ===================================
 
*  ターミナル プロセス "platformio 'run', '--target', 'upload'" が終了コード 1 で終了しました。 
*  ターミナルはタスクで再利用されます、閉じるには任意のキーを押してください。```</code></pre>
]]></description><link>https://community.m5stack.com/topic/7647/atom-joystickのatom-s3のファームをvisualstudiocodeのplatformioプラグインから書き込みたい</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Apr 2026 01:47:28 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/7647.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 02 Jul 2025 05:02:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Atom JoyStickのATOM S3のファームをVisualStudioCodeのPlatformIOプラグインから書き込みたい on Thu, 03 Jul 2025 09:09:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/168201">@kuriko</a><br />
早速のご回答ありがとうございます。テンプレートダウンロードさせて頂きました。<br />
こちらのテンプレートと設定値を比較しながら再度ビルドとアップロードを試みます。</p>
]]></description><link>https://community.m5stack.com/post/29377</link><guid isPermaLink="true">https://community.m5stack.com/post/29377</guid><dc:creator><![CDATA[stx28eeeee3]]></dc:creator><pubDate>Thu, 03 Jul 2025 09:09:49 GMT</pubDate></item><item><title><![CDATA[Reply to Atom JoyStickのATOM S3のファームをVisualStudioCodeのPlatformIOプラグインから書き込みたい on Thu, 03 Jul 2025 02:07:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/306651">@stx28eeeee3</a><br />
これは確かにストランジなエラーです。何が問題なのかわかりませんが、私が使用している AtomS3 テンプレートで試してみてください。<br />
<a href="https://www.mediafire.com/file/jt8jo58x6ebevsl/AtomS3-template.zip/file" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.mediafire.com/file/jt8jo58x6ebevsl/AtomS3-template.zip/file</a></p>
]]></description><link>https://community.m5stack.com/post/29373</link><guid isPermaLink="true">https://community.m5stack.com/post/29373</guid><dc:creator><![CDATA[kuriko]]></dc:creator><pubDate>Thu, 03 Jul 2025 02:07:26 GMT</pubDate></item></channel></rss>