← index #17020Issue #18643
Related · high · value 4.556
QUERY · ISSUE

Memory corrupted after micropython firmware programming Arduino OPTA

openby panther50500opened 2025-03-27updated 2026-03-25
bugport-stm32

Port, board and/or hardware

Arduino OPTA

MicroPython version

I'm using Arduino Opta with MicroPython and two of them work fine. However, I ordered one online and encountered a problem after programming the firmware. Files in file explorers (Linux or Windows) are corrupted (special characters displayed and undefined files created). If I try to program it with Arduino, it seems to work fine.
I returned it to the reseller who sent me another one but it has the same problem.
Someone else have this problem ?
Thanks
Frédéric

Reproduction

try with :

ARDUINO_OPTA-20241129-v1.24.1.dfu (which works with another boards)
ARDUINO_OPTA-20250326-v1.25.0-preview.410.gdd7a950bb.dfu (which works with at least one other board)

Expected behaviour

No response

Observed behaviour

try with :

ARDUINO_OPTA-20241129-v1.24.1.dfu (which works with another boards)
ARDUINO_OPTA-20250326-v1.25.0-preview.410.gdd7a950bb.dfu (which works with at least one other board)

Additional Information

No, I've provided everything above.

Code of Conduct

Yes, I agree

CANDIDATE · ISSUE

mpremote gives UnicodeError on ARDUINO_OPTA V26, V27, V28

openby tb4450opened 2026-01-05updated 2026-01-20
bugport-stm32

Port, board and/or hardware

ARDUINO_OPTA

MicroPython version

MicroPython v1.26.1 on 2025-09-11; Arduino OPTA with STM32H747

I do not have the WIFI version but the simplest without WIFI and RS485. Might this be the problem?

The same on V27 (latest) and V28 (preview).

py.exe -m mpremote connect COM9 fs tree
tree :
:/flash
mpremote: Error with transport:
Traceback (most recent call last):
File "<stdin>", line 2, in <module>
UnicodeError:

It's not possible to upload any file or use any filesystem function of mpremote.

mpremote repl works!

Using mpremote 1.27.0 on Windows with Python 3.14.2.

Thank you
Best greetings
Thomas

Reproduction

Connect OPTA and run mpremote.

py.exe -m mpremote connect COM9 fs tree
tree :
:/flash
mpremote: Error with transport:
Traceback (most recent call last):
File "<stdin>", line 2, in <module>
UnicodeError:

Expected behaviour

The command should give a similar output to the following;

py.exe -m mpremote connect COM10 fs tree
tree :
:/flash
├── BOOTEX.LOG
├── FOUND.000
│ ├── FILE0000.CHK
│ ├── FILE0001.CHK
│ ├── FILE0002.CHK
│ ├── FILE0003.CHK
│ └── FILE0004.CHK
├── README.txt
├── System Volume Information
│ ├── IndexerVolumeGuid
│ └── WPSettings.dat
├── _mqtt_test_pybd.txt
├── boot.py

Observed behaviour

mpremote ends with the error message "UnicodeError":

py.exe -m mpremote connect COM9 fs tree
tree :
:/flash
mpremote: Error with transport:
Traceback (most recent call last):
File "<stdin>", line 2, in <module>
UnicodeError:

Additional Information

No, I've provided everything above.

Code of Conduct

Yes, I agree

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied