Re:What happens before main() is executed in C and why is it...
by monocasa on Friday May 04, 2018 @01:56PM
(#16996677)
It depends heavily on the SoC in question. On an unlocked STM32F4, you can attach JTAG pretty much immediately even if it's way off in the weeds executing garbage, but BCM283x (RPi) has to setup the pinmux for the JTAG first from the ARM core, so you have to already be running some of your own code.
[ Parent
| on HN ]
There are no comments on this comment yet.