Close

Demo Board bringup (part 1)

A project log for PyWatch

An STM32 based watch with BLE, running Micropython!

Matt MillsMatt Mills 03/12/2018 at 19:570 Comments

So, because I'm moderately allergic to using GUI tools, hate java, and don't understand IDEs, I've so far just been working on getting either the stlink tool or openocd to work. The chip I'm using, the STM32L4R9x is new enough that it's not in the official repos for either piece of software.  I was able to add the chip to stlink's description, but the flash writes are not working at the moment. I know openocd has more recent work on the flash algo, so the next step is to add the chip identifiers and details there and see if I can get it to flash properly with openocd. OpenOCD also has better errors in my experience, but I had a really nice roadmap for adding to stlink (an old PR that implemented another chip).

I'll probably blog the whole process over at midnight.computer, but I'll try to keep this page up to date too. The current photo is just the dev kit running demo software. Even when I get µpython running, it'll be a while before I have any kind of video driver to talk to the screen, probably. It is encouraging that one of their demo apps is exactly what I'm trying to do, just in a very different way. The goal is to have a usable watch at the end, with:

So not too much, right?  ¯\_(ツ)_/¯

Discussions