Closed
Description
CircuitPython version and board name
metro rp2350
Code/REPL
>>> storage.erase_filesystem()
Behavior
Usually freezes with the white LED on.
with pico-probe a variety of weird crashes and double faults are observed. For instance on one occasion it crashed within a function in flash that appeared to have its content overwritten; but on restart, the content was restored (so problem with XIP cache?)
(gdb) disas common_hal_os_urandom
Dump of assembler code for function common_hal_os_urandom:
0x100419a4 <+0>: movs r0, r0
0x100419a6 <+2>: movs r0, r0
0x100419a8 <+4>: movs r0, r0
0x100419aa <+6>: movs r0, r0
0x100419ac <+8>: movs r0, r0
0x100419ae <+10>: movs r0, r0
0x100419b0 <+12>: movs r0, r0
0x100419b2 <+14>: movs r0, r0
0x100419b4 <+16>: movs r0, r0
0x100419b6 <+18>: movs r0, r0
0x100419b8 <+20>: movs r0, r0
0x100419ba <+22>: movs r0, r0
0x100419bc <+24>: movs r0, r0
0x100419be <+26>: movs r0, r0
0x100419c0 <+28>: str r3, [r4, #0]
I believe that by trying various revisions I excluded my recent changes to auto-initialize HSTX & to interrupt handling. However, I encourage anyone picking up this issue to double check. Especially the interrupt handling change, which was designed to prevent HSTX display glitches during flash writes, could be related to this....
Description
No response
Additional information
No response