Extract py or mpy from Spike Prime #1567
Replies: 2 comments 6 replies
-
Hi @QuirkyCort - nice to see you here. Great work on your simulator! The There isn't currently a way to extract the You'll be able to read the bytes, from which you could piece together the Does that sound useful enough? |
Beta Was this translation helpful? Give feedback.
-
Thanks. That would help. Just to be sure, writing a new firmware won't erase the user program? Also, just for my own understanding, doesn't Pybricks use a filesystem? I've worked with micropython on the ESP32 and Pi Pico, and have expected Pybricks to have a filesystem on the internal flash. |
Beta Was this translation helpful? Give feedback.
-
Are there any ways to extract either the py or mpy file from a Spike Prime? I have a team lose their code, but they still have a copy on the Spike Prime.
I can get into the REPL, but
import os
don't work, so I can't list the files. Tried guessing the file names withopen('XXX', 'r')
, but no success there either.Beta Was this translation helpful? Give feedback.
All reactions