pi0 wrote: ↑Sun Mar 07, 2021 11:16 pm
Hey fellas, I purchased a couple of these on aliexpress, I have been looking all over on how to install micropython on these, a little guidance would be greatly appreciated.
Hey, it's pretty easy, although you have a 256 kb version of a chip, so you either have to compile your own firmware or use pretty old WeACT one. But when you have a firmware hex it's just a matter of flashing a chip. To flash you could use STM32CubeProgrammer.
Open CubeProgrammer, there in the right panel choose USB connection (or you could flash with ST-Link). Then you should connect your board in DFU mode, for that you just hold a BOOT0 button for half a second after boot, then release it (you could do this either by holding boot and plugin in, or rebooting while holding boot). You might need to install a DFU driver which can be found in a folder with CubeProgrammer installation. If everything works (it could be janky and not connect for a couple of times) you should se USB1 in port selection menu. Then you just press Connect in the top right corner. When connected, in main window you just click on Open file tab and select your firmware, when hex opens you just press Download button and wait for firmware to finish flashing.
Here's those old WeACT firmwares for STM32F401CCU6, but as far as i remember i didn't manage to get it working without a flash, so you'd really wanna populate that U4 footprint with 4 mb flash.