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

doc: Mention serial console


Signed-off-by: default avatarRahix <rahix@rahix.de>
parent a2ef75d3
No related branches found
No related tags found
No related merge requests found
......@@ -51,10 +51,15 @@ that and after connecting to card10, you can flash your binary using the
using your new firmware.
.. info::
.. note::
If OpenOCD was able to connect, but GDB gives you an
``Error erasing flash with vFlashErase packet`` error, issue a ``reset``
command, quickly followed by a ``load`` command.
.. code-block:: text
Error erasing flash with vFlashErase packet
error, issue a ``reset`` command, quickly followed by a ``load`` command.
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
......
......@@ -24,6 +24,20 @@ hacking!
from .py files on the filesystem. You have to test new modules using the
serial console.
Serial Console
--------------
If you have a debugger, you can just use the debuggers serial console.
Otherwise, card10 will open a serial usb-device on its usb-port. On most Linux
systems this device will be called ``/dev/ttyACM0`` or ``/dev/ttyACM1``.
Choose a terminal-emulator of your liking and open the above mentioned device.
Baud-rate is 115200. Some options are:
* **screen**: ``screen /dev/ttyACM0 115200``
* **picocom**: ``picocom -b 115200 /dev/ttyACM0``
After connecting, reboot card10 and you should see the MicroPython REPL pop up.
.. todo::
Getting Started Guide for people interested in writing Python code.
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