ref: dc316f180ae632e71f14a20b7ba0cf0168cdc8d8
parent: 3974da1e25f53565855e432b512d8160b63f9397
author: k <k@santiago>
date: Tue Aug 1 11:11:28 EDT 2023
first commit
--- a/README.md
+++ b/README.md
@@ -1,3 +1,18 @@
# stm32up
-STM32 flash utility.
\ No newline at end of file
+This is a Plan9 tool to operate STM32 devices via the
+UART protocol, when booting from the system memory.
+
+The protocol is described in AN3155. For device-specific
+information, you should read AN2606.
+
+Commands:
+ info - get device information and id
+ read - read device memory
+ write - write device memory
+ go - jump to address
+ readp - protect memory from reads
+ readunp - unprotect memory from reads
+ writeunp - unprotect memory from writes
+
+TODO: writep, csum