Hello,
This isn't actually a problem report, but might be interesting for readers of
this forum anyways.
I'm writing a series of posts about how to get a unified firmware executable to
run on the Nordic nRF51422, nRF52832, and nRF52840 chips, with no modifications.
In other words, the same binary file loads and runs on all three chips, deciding
what capabilities it can use at runtime. This is different than the usual way of
compiling one firmware file for each microcontroller, and it may not be very
useful outside of my deliberately simple use case, but I thought it was a cool
challenge anyways.
In the writeup, I discuss the hardware differences and software techniques
required to make this work as well as how to document the requirements.
The first two posts are complete, and I'm partway through the third now. I'll
update this post as I make progress.
Here are the first links:
- Boundary Conditions and Peripheral Interfaces
https://fromplantoprototype.com/r/noisefloor/boundary-conditions.html
I would be happy for any feedback and questions about the posts.
Cheers,
Max Vilimpoc
ps. Weirdly enough, I didn't follow the instructions about the REG0 and
REGOUT0 registers here, but somehow my nRF52840 Dongle still works fine when
debugging it with an nRF51-DK as the J-Link probe. Lucky me!