Skip to content

OTA for micropython #17

Answered by rhulme
brianreinhold asked this question in Q&A
Sep 27, 2024 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

The flashloader (as presented here) doesn't care how the new firmware gets onto the chip. When it runs, it just expects to find the new firmware somewhere in flash so that it can then copy it over the existing firmware. So it's up to your existing application to download the new firmware by whatever means and store it.

What you certainly need to be on top of is what is placed where in flash. As I said, I've never used MicroPython but I've just had a quick look at the repository and the port for the RP2040. From what I can see, it reserves the last 1408KB of flash (unless defined otherwise) for (presumably) storing Python applications and anything else they need.

The linker script for the …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@brianreinhold
Comment options

@rhulme
Comment options

Answer selected by brianreinhold
@brianreinhold
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants