Close

Storing Patch Data in Flash

A project log for Stylish!

A most stylish wearable music synthesizer! A real stylus based monophonic music synthesizer built into a giant trucker belt buckle!

t-b-trzepaczT. B. Trzepacz 10/07/2018 at 14:450 Comments

I hadn't really looked into the amount of EEPROM "save" memory that the STM32F103 series chips had, but I assumed that it had some, and that it would be comparable to the AVR chips, which have ~1k in Arduino.

I was wrong.

It has some storage for registers for power-down sleep conditions, but that's only around 20 bytes. One patch on this system is going to be 16 bytes, fully packed, so that really doesn't help.

So I looked into whether it would be possible for my program which is in Flash memory to actually save data to Flash.

It does appear to be possible!

I found a fine article here on how to do it.

I haven't tried it yet, but I'll be updating this log entry as soon as I do!

Discussions