Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4945

General • Re: RP2040 Always in booting to BOOTSEL

$
0
0
Seems to "program" fine but isnt keeping it in the flash.
I don't believe you can conclude that.

It's either not writing to Flash and you are seeing what was previously written to it or corrupted data when read, or it's writing but what is written is corrupted on write or read.

I would suggest crafting a Run from RAM program which will prove it can execute code from RAM. Then enhance that to show what's in Flash so you can tell it's not randomly changing each time and can then tell if it's being written to and changed by 'picotool'. Then further enhance that to test writing to Flash works and you can read back what was written.

It is worth testing with another IC because that might provide some insight.

Statistics: Posted by hippy — Wed Feb 28, 2024 3:00 pm



Viewing all articles
Browse latest Browse all 4945

Trending Articles