Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wink
firmware
Commits
1d4c7f17
Verified
Commit
1d4c7f17
authored
5 years ago
by
rahix
Browse files
Options
Downloads
Patches
Plain Diff
doc: Mention serial console
Signed-off-by:
Rahix
<
rahix@rahix.de
>
parent
a2ef75d3
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Documentation/how-to-flash.rst
+8
-3
8 additions, 3 deletions
Documentation/how-to-flash.rst
Documentation/pycardium/overview.rst
+14
-0
14 additions, 0 deletions
Documentation/pycardium/overview.rst
with
22 additions
and
3 deletions
Documentation/how-to-flash.rst
+
8
−
3
View file @
1d4c7f17
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Documentation/pycardium/overview.rst
+
14
−
0
View file @
1d4c7f17
...
...
@@ -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.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment