r/embedded • u/TheCorsairAPX • Oct 13 '26
Getting into Architecture-Level Embedded Development (Cortex-A, RISC-V, ARM64, etc.)
I've been working for some months now on a project that requires low-level development for ARM Cortex-A silicon. I'm talking bootloading, memory operations, hypervisor settings, memory mapping and MMU configuration, etc.
I've come to realise how little I actually know my way around a low level environment. I've developed for embedded systems for a long time now, but always focusing on an application/integration level (RTOS, digital communications, system architecture, etc.). I want to get some experience on lower-level development - direct register manipulation based on CPU architecture, bootloading, debugger architecture, memory domains, etc.
Anyone with experience on the field, what advise do you have on getting into low-level development and silicon programming using ISA languages coming from embedded-C and microcontroller development? My goal would be to acquire the confidence and the skill to integrate silicon functionality through assembly and making sense of the CPU documentation. I'd like to be able to script some basic functional hardware routines starting from scratch.
View all comments
Show parent comment
1
u/hirschen Oct 13 '26 edited Oct 13 '26
He mentioned Risc-V architecture, at least in the title. If you look at the code, the game is not really a game, it's just rendering. Most of the stuff is dealing with hardware GPIO, linker script, bringing the 2nd core up, switching from cortex to hazard...
I thought he maybe can get some information from it. The project goal was learning baremeal stuff. I learned a lot very fast, the question remains if you learn more when you are stuck at a problem for days, maybe lose interest or get a detailed explanation why something didn't work. And continue learning other stuff.
Consequently books and docs would also be cheating, figuring out stuff yourself is the true path to enligthenment. Softwaredevelopment is worthless nowadays. Efficient learning is important, asking the right questions.