I think it is always best to assume everything is in an undefined state and potentially has been touched by something. Then always set or rest registers to desired values rather than hoping they are already set that way. At least check they are as desired before they are relied upon as being set correctly.Well, you still have the ROM https://github.com/raspberrypi/pico-bootrom-rp2350 that may change a lot of stuff before your code is executedYou also know exactly what registers and hardware have been changed from the hardware boot.
Not important for messing around but my next set of code is to bring up a dual cortex M0 RTOS and I need to know what may have been played with before the RTOS takes control of all hardware.
Statistics: Posted by hippy — Tue Oct 21, 2025 12:34 pm