Skip to content
Snippets Groups Projects
Verified Commit 952ec092 authored by rahix's avatar rahix
Browse files

doc: Reorder info-boxes in flashing guide


Signed-off-by: default avatarRahix <rahix@rahix.de>
parent 282949d1
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,11 @@ your new firmware boot up!
Flash Using Debugger
--------------------
First, setup everything as explained on the :ref:`debugger` page. Following
that and after connecting to card10, you can flash your binary using the
``load`` command. After loading, you need to use ``reset`` to reboot card10
using your new firmware.
.. warning::
With the current version of the bootloader, before attempting to flash using
......@@ -45,11 +50,15 @@ Flash Using Debugger
If there is, the bootloader will overwrite whatever you just flashed after
reboot every time.
First, setup everything as explained on the :ref:`debugger` page. Following
that and after connecting to card10, you can flash your binary using the
``load`` command. After loading, you need to use ``reset`` to reboot card10
using your new firmware.
.. code-block:: text
(gdb) load
Loading section .text, size 0x12514 lma 0x10010000
Loading section .ARM.exidx, size 0x8 lma 0x10022514
Loading section .data, size 0x8d8 lma 0x1002251c
Start address 0x10012160, load size 77300
Transfer rate: 19 KB/sec, 11042 bytes/write.
(gdb)
.. note::
......@@ -64,13 +73,3 @@ using your new firmware.
Reason: The Epicardium puts parts of the CPU to sleep and the debugging
interface is part of that. After a reset the bootloader starts up
and lets OpenOCD/GDB take control again.
.. code-block:: text
(gdb) load
Loading section .text, size 0x12514 lma 0x10010000
Loading section .ARM.exidx, size 0x8 lma 0x10022514
Loading section .data, size 0x8d8 lma 0x1002251c
Start address 0x10012160, load size 77300
Transfer rate: 19 KB/sec, 11042 bytes/write.
(gdb)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment