Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mpflash fails to get info on esp32 #625

Open
Josverl opened this issue Oct 6, 2024 · 0 comments
Open

mpflash fails to get info on esp32 #625

Josverl opened this issue Oct 6, 2024 · 0 comments
Assignees
Labels
bug Something isn't working mpflash Flashing tool for Micropython

Comments

@Josverl
Copy link
Owner

Josverl commented Oct 6, 2024

board: esp32 TTGO1.8 with boot.by to mount SD

possible timing issue

mpflash -VV list                                                                                                    
00:48:56 | 🐞 version: 1.0.3
00:48:56 | ✏️ Setting quiet mode to False
00:48:56 | ✏️ Setting interactive mode to True
00:48:56 | ✏️ include=['*'], ignore=[], bluetooth=False
00:48:56 | ✏️ comports: ['COM13', 'COM12', 'COM5']
00:48:56 | ✏️ no Bluetooth: ['COM5']
00:48:56 | 🐞 filtered_comports: ['COM5']
00:48:56 | 🐞 D:\mypython\mpremote_test\.venv\Scripts\python.exe -m mpremote connect COM5 resume run
D:\mypython\mpremote_test\.venv\Lib\site-packages\mpflash\mpremoteboard\mpy_fw_info.py
⠹ Scanning COM5 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0:00:0200:48:59 | 🐞 D:\mypython\mpremote_test\.venv\Scripts\python.exe -m mpremote connect COM5 resume run
D:\mypython\mpremote_test\.venv\Lib\site-packages\mpflash\mpremoteboard\mpy_fw_info.py
⠋ Scanning COM5 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0:00:0500:49:02 | 🐞 D:\mypython\mpremote_test\.venv\Scripts\python.exe -m mpremote connect COM5 resume run
D:\mypython\mpremote_test\.venv\Lib\site-packages\mpflash\mpremoteboard\mpy_fw_info.py
Error: Failed to get mcu_info for COM5

           Connected boards
┏━━━━━━┳━━━━━━━┳━━━━┳━━━━━┳━━━┳━━━━━━━┓
┃Serial┃Family ┃Port┃Board┃CPU┃Version┃
┡━━━━━━╇━━━━━━━╇━━━━╇━━━━━╇━━━╇━━━━━━━┩
│COM5  │unknown│    │     │   │       │
└──────┴───────┴────┴─────┴───┴───────┘
PS D:\mypython\mpremote_test\tests> mpremote connect COM5 resume run D:\mypython\mpremote_test\.venv\Lib\site-packages\mpflash\mpremoteboard\mpy_fw_info.py
{'port': 'esp32', 'build': '', 'arch': 'xtensawin', 'family': 'micropython', 'board': 'Generic ESP32 module with SPIRAM with ESP32', 'cpu': 'ESP32', 'version': '1.22.0', 'mpy': 'v6.2', 'ver': 'v1.22.0'}
PS D:\mypython\mpremote_test\tests> D:\mypython\mpremote_test\.venv\Scripts\python.exe -m mpremote connect COM5 resume run D:\mypython\mpremote_test\.venv\Lib\site-packages\mpflash\mpremoteboard\mpy_fw_info.py
{'port': 'esp32', 'build': '', 'arch': 'xtensawin', 'family': 'micropython', 'board': 'Generic ESP32 module with SPIRAM with ESP32', 'cpu': 'ESP32', 'version': '1.22.0', 'mpy': 'v6.2', 'ver': 'v1.22.0'}
@Josverl Josverl added the mpflash Flashing tool for Micropython label Oct 6, 2024
@Josverl Josverl self-assigned this Oct 6, 2024
@Josverl Josverl added the bug Something isn't working label Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working mpflash Flashing tool for Micropython
Projects
None yet
Development

No branches or pull requests

1 participant