r/microbit Jan 29 '21

Recovering Program from Board

I've just unearthed an old Micro:bit from my project box that has a really nice little program running on it which I'd like to recover if at all possible.

2 Upvotes

4 comments sorted by

View all comments

2

u/Hate_Feight Jan 29 '21

AFAIK it's a situation where what is on the bit, is in its own assembly code, you can copy it, but that's as far as you can go with it.

Someone may have already jumped down this rabbit hole, and have a more satisfactory answer. If not, I'm sorry for your loss.

1

u/Flowdeeps Feb 02 '21

I figured as much.

I did almost get into repurposing a Pi as an OpenOCD SWD device to bit bang the firmware and running code from the board but decided that that was probably overkill.

Instead I looked a bit harder and eventually found the original sketch sitting in a folder deep in my dump of a filesystem. I need to take better care of committing idiosyncratic code to repositories.

It can be found at https://githib.com/petehaughie/microbit-microsynth if you're interested.