using Micropython on my circuit design #9262
Replies: 1 comment
-
It depends what you're using to flash the microcontroller. .dfu files can be used tools like dfu-util in conjunction with the ST bootloader. .bin files are just the raw bytes. You also need to tell the programmer what address to put it at. Works with st-link too. .hex files are another common option, used by the STCubeProgrammer tool (and many more). Newer st-link works with this too via their mass storage mode.
You just need a USB UART adaptor (e.g. FTDI breakout) to connect it to your PC.
You need to write a board definition. e.g. here's the one for the f4 disco you're using. https://github.com/micropython/micropython/tree/master/ports/stm32/boards/STM32F4DISC
Nope. Not only are they a different series (F4 vs L4) but generally different parts in the same family will need different firmware. Even different models with the same number (e.g. F405*) can have different RAM/Flash sizes. FWIW, I'm not sure if MicroPython currently supports the L4+ series.
|
Beta Was this translation helpful? Give feedback.
-
Hi everyone,
I’m new in micropython and I’m trying to figure out how to use it on my own board. I’ve managed to use the .dfu file one STM32F4DISCO but my board has STM32L4R9 mcu, and doesn’t have USB connection, just a JLink.
So here are my questions
I would extremely appreciate any kind of help, thank you :)
Beta Was this translation helpful? Give feedback.
All reactions