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

General discussion • Re: RP2350 and Pico 2 released!

$
0
0
Hello everyone,

I am having difficulty understanding the concepts of Boolean Validation and Integer Validation related to the Cortex-M33 coprocessor RCP feature of the RP2350. Could someone please explain how these validations are used in real application programs?

Best regards,
Yasuhiko Koumoto
A good starting point would be the RP2350 bootrom source code - https://github.com/raspberrypi/pico-bootrom-rp2350

A noddy summary is that:
RCP Booleans have exactly two valid constants encoded in 32-bit variables - attempting to do an RCP boolean operation with corrupted register contents will explode. So there are 2 values you can pass to an RCP boolean function that don't cause an explosion, and 4.29 billion values that do.
RCP Integer ops are a corollary to booleans - they assert that two correctly-initialised 32-bit "memory" locations are still valid.
Hello, jdb,
thank you!
Best regards,
Yasuhiko Koumoto

Statistics: Posted by Yasuhiko Koumoto — Thu Aug 15, 2024 1:08 am



Viewing all articles
Browse latest Browse all 5180

Trending Articles