remote_serial_monitor
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
remote_serial_monitor [2016/07/27 05:38] – created gurce | remote_serial_monitor [2016/08/14 01:19] (current) – provide youtube link for video walkthrough of app gurce | ||
---|---|---|---|
Line 12: | Line 12: | ||
* Some extra usage info exists in this page of Ben's fork of the github repo | * Some extra usage info exists in this page of Ben's fork of the github repo | ||
* Typing " | * Typing " | ||
+ | |||
+ | |||
+ | ===== m65dbg ===== | ||
+ | |||
+ | I'm currently developing a comms tool to enhance debugging support for the mega65. | ||
+ | |||
+ | It's still early days, but some present perks are: | ||
+ | |||
+ | * It preserves the history of past commands typed (via the readline library, eg, you can use CTRL-R to do a reverse search through past commands) | ||
+ | * Pressing ' | ||
+ | * Can disassemble the code at the current pc as you step through | ||
+ | * If you run the app in the path containing the *.list files for your project (and your *.list files were generated via a newly-tweaked version of Ophis that provided more verbose output in .list files), then you will also see the .a65 source-code line as you step through | ||
+ | * If you run the app in the path containing the *.map files for your project, you can use symbol-names in-place of raw addresses for many of the m65dbg commands. | ||
+ | |||
+ | The source for the m65dbg app is available here: | ||
+ | |||
+ | * https:// | ||
+ | |||
+ | |||
+ | ==== Building ==== | ||
+ | |||
+ | * You will need to install a few pre-requisite libraries (via apt-get/ | ||
+ | * **libreadline-devel** | ||
+ | * **git clone https:// | ||
+ | * **cd m65dbg** | ||
+ | * **make** | ||
+ | * This will produce the " | ||
+ | |||
+ | ==== Walkthrough ==== | ||
+ | |||
+ | For a youtube video walkthrough, | ||
+ | |||
+ | * https:// | ||
+ | |||
+ | Here's some written points below: | ||
+ | |||
+ | * Presently, I'm building it for windows-cygwin, | ||
+ | * Presently, inside the " | ||
+ | * Try the following steps: | ||
+ | * **./ | ||
+ | * **r** (to print out current registers) | ||
+ | * **b< | ||
+ | * **t1** (to turn trace mode on, a bit like ctrl-c breaking inside gdb) | ||
+ | * **t0** (to turn trace mode off, a bit like doing ' | ||
+ | * **n** (my ' | ||
+ | * **s** (my ' | ||
+ | * **[ENTER]** key will repeat the last command | ||
+ | * **finish** (my ' | ||
+ | * **pb/ | ||
+ | * typing " |
remote_serial_monitor.1469619533.txt.gz · Last modified: 2016/07/27 05:38 by gurce