3 ms·
What was the project for where you wrote code that self-detected its boot location?
by 2RTZZSro 8y ago
What was the project for where you wrote code that self-detected its boot location?
- RealityVoid 8y agoWell, a bootloader and the self-detection was useful for the bootloader self-update. The update bootloader would be copied in a different section and on reset would start and copy itself over the original bootloader section. I also wanted to maintain full functionality even at shifted location in case the self-copy process somehow failed. Never did fail, at least to my knowledge.