Thonny interpreter for stm32f407 ? #18235
-
|
I have checked the drop down list in Thonny/Tools/Options/Interpreter and it does not list a micropython interpreter for stm32f407. So, is there an interpreter for the stm32f407 discovery board ? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 25 replies
-
|
Use |
Beta Was this translation helpful? Give feedback.
-
|
Good afternoon Mr Konz,
Thank you for your reply.Sadly, this does not seem to be working. Please
see attached screenshot. I believe(!) that I have flashed
STM32F4DISC-20250911-v1.26.1.hex using STLink tool. The LED on the board's
top left named COM sometimes always displays red and sometimes it flashes
from red to green. Pressing the board's black reset button does not cause
either Thonny to recognise the board or to cause the COM LED to change from
always displaying red.
Tomorrow I am going to install Debian 13 Trixie in the hope that this will
ease at least some of my problems.
Thank you again for your help.
Stuart
β¦On Sun, 12 Oct 2025 at 19:04, Ned Konz ***@***.***> wrote:
Use MicroPython (generic), and flash your board with the STM32F4DISC
firmware: https://micropython.org/download/STM32F4DISC/
β
Reply to this email directly, view it on GitHub
<#18235 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARPH3RXXE6JXT4U2GFRLBHL3XKJ2LAVCNFSM6AAAAACI5LQLK6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTINRVHE3TAOI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
|
I don't know what computer you're using. You can try connecting to the board using a serial terminal. On Linux, you can try tio or minicom, for example. Even better, install mpremote on your PC and use it to connect to your board. https://docs.micropython.org/en/latest/reference/mpremote.html If your board was flashed with the correct firmware (STM32F4DISC seems to be the right choice), you will get the REPL. You don't need Thonny to interact with or program your board. |
Beta Was this translation helpful? Give feedback.
Good morning all,
You are never going to believe this, but... I seem to have fixed my stm32-board/tty problem.
The last line of dmesg complained that:-
[ 115.872077] warning: `kdeconnectd' uses wireless extensions which will stop working for Wi-Fi 7 hardware; use nl80211
So I installed package iw which is based on nl80211 interface. I connected only(!) an alternate micro-usb cable to CN5. The board did not power up (no green or red leds) and so no entry for ttyACMs or ttyUSBs showed in /dev.
Then, on a whim, I also installed iwd, network-manager-iwd, and python3-pyric packages. I then connected previously-used mini-usb cable to CN1. Suddenly, leds (green and red) lit up on the board and aβ¦