3 ms·
Doesn't every ARM machine have its own initialization sequence?
by saagarjha 7y ago
Doesn't every ARM machine have its own initialization sequence?
- XMPPwocky 7y agoYes, but if you can find a chip with public documentation, it's a well-defined initialization sequence. I learned assembly on TI's AM335x "Sitara" series and it was great, mostly because of the BeagleBone- it has onboard JTAG-over-USB, meaning you can single-step your way through your bare-metal code, set breakpoints, etc.
- Gibbon1 7y agoUnsure about the high end ARM machines. But an ARM Cortex boot consists of loading the program counter and stack pointer from ROM and go.
- monocasa 7y agoThey're all cortex cores these days, you mean the Cortex-M series.
- pjc50 7y agoYes, that gets the CPU running - but for practical work you usually need to do some board-specific setup like configuring clocks and turning on the DRAM.
- Gibbon1 7y agoFor an Cortex M0 the clocks default to something sane. And RAM is static. One of my projects the reset vector is just the address of init function written in C. That does nothing more than copy the data section from flash to ram and call _start() There is a bunch of peripheral set up but it can be done from C.