Commit Briefs

28ab556add Sven M. Hallberg

add manpage (main)


c698d567f3 Sven M. Hallberg

use cfmakeraw when setting up the serial line

Somehow missed that function at first. This makes serial I/O work on Linux.


4c0960ae08 Sven M. Hallberg

pretty README


f302a70ba3 Sven M. Hallberg

add a second test

This one is designed to let us see when the chip reboots.


905262f96c Sven M. Hallberg

add wiring comments


1f53c2014b Sven M. Hallberg

check/wait for reliable connection before programming


3147034552 Sven M. Hallberg

reduce serial read timeout to 100ms

Unreliable responses from the board are not due to being busy, but due to flaky serial receive code. If it missed our request, it will never answer, so better to fail (and try again) early.


db5d0306b3 Sven M. Hallberg

style and comments in read_result


04ec7d6ac3 Sven M. Hallberg

print spurious reports only with -v


0d6994c7f2 Sven M. Hallberg

print bytes written with -vv


Branches

Tags

This repository contains no tags

Tree

.gitignorecommits | blame
Makefilecommits | blame
READMEcommits | blame
mc5000.1.mdoccommits | blame
mc5000.1.txtcommits | blame
mc5000.ccommits | blame
notescommits | blame
test.scommits | blame
test2.scommits | blame

README

MC5000                              README                              MC5000

DESCRIPTION
     An assembler and programmer for rickp's MC5000 dev kit.

     The MC5000 is a physical realization of the fictional microcontroller
     family from the game Shenzhen I/O by Zachtronics. It uses the low-cost
     Padauk PFS173 microcontroller.

     This program translates MCxxxx assembly to byte code and writes it to
     any of the MC5000 chips via the board's USB serial port.

USAGE
     Run 'mc5000 -h' for quick help.

     Refer to the supplied manpage mc5000.1 for details.

BUILDING
     Run make.

     The program is designed for a Unix environment, specifically OpenBSD.
     It has also been tested on Debian GNU/Linux.

SEE ALSO
     MC5000 dev kit	https://github.com/rickp/MC5000_DevKit
     Shenzhen I/O	https://www.zachtronics.com/shenzhen-io/

     The file 'notes' contains various encoding and protocol details.

COPYRIGHT
     Sven M. Hallberg <pesco@khjk.org>
     Released under the terms of the ISC license.