Skip to content

Releases: jaydcarlson/c2-printf

Switched to slab8051

16 Jul 16:54
Compare
Choose a tag to compare

This release switches the app to use the newer slab8051.dll backend, which means the software can be used concurrently with Simplicity Studio (obviously not while in a debug session).

There's also now a 25 ms delay between polls, which will give the MCU time to actually, you know, do stuff. Eventually, this will be integrated into the UI.

This release doesn't break the "protocol" used by the system, so existing MCU code should work.

Initial Efforts

16 Jul 06:35
Compare
Choose a tag to compare
Initial Efforts Pre-release
Pre-release

Screenshot
This is an initial release that demonstrates the basic functionality of printing messages over C2. Essentially, a chunk of XRAM is set aside as a buffer. The MCU sprintfs content to this location, and sets the last byte to the length of the message (which also functions as a flag to let the software on the computer know there is a new message pending). Once the software sees a non-zero flag value, it will read the number of bytes specified by flag (obviously, up to 255), decode it as ASCII, and append it to a text box. It will reset the flag value to zero, which the MCU will look at to know the data has been transmitted.