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

General • Re: PSRAM setup failed on Pico 2

$
0
0
Thanks for that detail. So the situation seems to be -
  • Run from RAM is exactly as it used to be.
  • Don't use partitions and it will be the same as it ever was.
  • If using partitions you need to specify "absolute" to get things to behave as they always did.
  • If using partitions and you compile it as you used to, don't specify "absolute", it will end up in some partition table and may not get executed immediately after it has been uploaded, after reset, or power cycling.
That all makes sense and is entirely reasonable and logical. The OP had unexpectedly found themselves in the final category, had inadvertently enabled partitions, was compiling as they usually do, didn't specify "absolute", so the uploaded code ended up hiding in the corner rather than being executed.

The remaining question is; how does one remove existing partition tables without resorting to Flash Nuke ?

Or is running Flash Nuke the recommended solution ?

I imagine a third-party could craft a Run from RAM 'partition_nuke.uf2' which hunts down partition tables and meta blocks and enacts a genocide upon them. The Flash Nuke for RP235X showing how to gain access to Flash for Run from RAM code, being the foundation for that.

Statistics: Posted by hippy — Mon Sep 02, 2024 7:21 pm



Viewing all articles
Browse latest Browse all 5244

Trending Articles