Commit 518aad2
committed
debugging: Run firmware without bootloader
When debugging firmware it is easier to skip the bootloader altogether
and go straight to firmware code.
Since VTOR is reset on core reset we need to manually set the PC and SP
registers. Issuing a reset will simply try to boot from address 0 again.1 parent d1ebf2c commit 518aad2
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
10 | 17 | | |
11 | 18 | | |
12 | 19 | | |
| |||
0 commit comments