OK, thanks, that's the important bit. I was starting to wonder if I was doing something which would cause contention or something else which would explain the issue.Nope, it should not corrupt the GPIOs like this unless both cores (or other peripherals) are writing GPIOs in the same time.
I have set(PICO_COPY_TO_RAM 1) set, so I'd expect that to negate all flash related issues. Unless there's something else I can do?35us, are you running anything from Flash, or any kind of access?
That could cause such lengthy stalls ...
I've been trying, but it's proving really difficult. Minor modifications, like switching a single GPIO so I can trigger the 'scope or logic analyser, change the behaviour of the code. Stripping it all down to a simple test case that demonstrates the issue is proving tricky. I'll keep trying, but I've been working on this for 2 weeks now.P.S. If you can produce a code replicating the glitch, I would be happy to test it down to the electrons level Image may be NSFW.
Clik here to view.
Statistics: Posted by dfrp — Tue Apr 08, 2025 2:30 pm