Hi,
I have a problem with a RP2350 based product I am developing. It's using an RP2350-stamp made by Solder Party.
The program can run for hours without a problem but it will crash with an illegal instruction fault after I have interacted with it in a certain way.
Using gdb, I can see where it is failing, the flash memory displayed by gdb shows it has been overwritten?
Here's a dump of the instructions before the crash:And this is what it looks like after the crash:How can that be so? The code is in flash, how can the instructions get changed? Is it a caching problem?
Anyone got any thoughts on this?
Thanks,
Mark
I have a problem with a RP2350 based product I am developing. It's using an RP2350-stamp made by Solder Party.
The program can run for hours without a problem but it will crash with an illegal instruction fault after I have interacted with it in a certain way.
Using gdb, I can see where it is failing, the flash memory displayed by gdb shows it has been overwritten?
Here's a dump of the instructions before the crash:
Code:
(gdb) p/a (uint32_t *)add_point$30 = 0x10003f20 <add_point>(gdb) p/a *(uint32_t[64] *)add_point$26 = {0x4ff0e92d, 0x8b04ed2d, 0x4604b08d, 0x9204460f, 0x2301461e, 0xf200fa03, 0x4bc59205, 0x421a681b, 0x8083f040, 0x48c3210f, 0xf882f7ff, 0xf44f4dc2, 0xfb036394, 0x23005504, 0x345cf8c5, ...}Code:
(gdb) p/a *(uint32_t[64] *)add_point$27 = {0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x2301461e, 0xf200fa03, 0x4bc59205, 0x421a681b, 0x8083f040, 0x48c3210f, 0xf882f7ff, 0xf44f4dc2, 0xfb036394, 0x23005504, 0x345cf8c5, ...}Anyone got any thoughts on this?
Thanks,
Mark
Statistics: Posted by burtoogle — Sat Jan 10, 2026 12:00 pm