Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8093

General • Re: Pico minimal 2nd stage boot loader

$
0
0
You 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.
Well, you still have the ROM https://github.com/raspberrypi/pico-bootrom-rp2350 that may change a lot of stuff before your code is executed
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.

Statistics: Posted by hippy — Tue Oct 21, 2025 12:34 pm



Viewing all articles
Browse latest Browse all 8093

Trending Articles