Skip to content

Hardware reset corrupts __uninitialized_ram() variable on Pico2 but not Pico #2203

Open
@UKTailwind

Description

@UKTailwind

I save information in a variable defined as follows:
uint64_t __uninitialized_ram(_persistent);

On the RP2040 Pico this survives both a H/W reset (switch) and a watchdog reset
On the RP2350 it is corrupted by a H/W reset but works as expected with a watchdog reset

sdk 2.1.0, GCC 13.3.1, VSCode on W11

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions