File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ Imagine you've deployed hundreds of devices in the field and discover a bug in y
2424AVR microcontrollers have a clever feature called ** self-programming** - they can modify their own flash memory while running. Here's the magic:
2525
26261 . ** Memory Layout** : Flash memory is divided into two sections:
27- - ** Application Section** (0x0000 - ( Boot reset vector -1) ): Your main program lives here
28- - ** Boot Section** (Boot reset vector - flash end address ): The bootloader lives here (protected from accidental overwrites)
27+ - ** Application Section** (` 0x0000 ` ~ ` [ Boot Reset Vector] - 1 ` ): Your main program lives here
28+ - ** Boot Section** (` [ Boot Reset Vector] ` ~ ` [Flash End Address] ` ): The bootloader lives here (protected from accidental overwrites)
2929
30302 . ** Boot Process** : When the MCU resets, it can be configured (via fuse bits) to start from the bootloader section instead of address 0x0000.
3131
You can’t perform that action at this time.
0 commit comments