HN Hall of Fame Weekly email

From zero to main(): How to write a bootloader from scratch

interrupt.memfault.com Books & learning Tutorials & guides Software engineering Candidate
Screenshot of interrupt.memfault.com captured 2026-07-20
Page preview · captured 2026-07-20

Resurfaced independently across 3 calendar years, with breakout response in 2 of them.

submissions
3
submitters
3
observed span
2019–2022
peak thread · 44 comments
332 pts
latest 20+ return · 2022-10-27
189 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

A good real-world example is the Arduino bootloader. [1] Once you read the OP and learn basic idea, it is pretty simple. [1] https://github.com/arduino/ArduinoCore-samd/blob/master/boot...

kbumsik·332-point thread·

For Cortex-M embedded topics, memfault's blog is simply one of the best out there. Consistently great posts even though they are written by a bunch of different authors. I go back to https://interrupt.memfault.com/blog/cortex-m-fault-debug all the time when debugging hard faults on different systems. Even if you regularly write embedded code for Cortex-M MCUs, scroll through their list of posts and you'll find several that will teach you something new and useful.

hra5th·189-point thread·

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
2

100+ points or 50+ comments

Total points
526

reference only — not used in Hall rules or ranking

Total comments
63

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2019-08-14How to Write a Bootloader from Scratchfra50
2020-09-30From zero to main(): How to write a bootloader from scratchFirst breakout · Best threadtigerlily33244
2022-10-27How to write a bootloader from scratch (2019)Latest 20+ point returnarkj18919