aboutsummaryrefslogtreecommitdiffstats
path: root/README.org
diff options
context:
space:
mode:
Diffstat (limited to 'README.org')
-rw-r--r--README.org15
1 files changed, 15 insertions, 0 deletions
diff --git a/README.org b/README.org
new file mode 100644
index 0000000..03c8939
--- /dev/null
+++ b/README.org
@@ -0,0 +1,15 @@
+looks like the start board is a gd32vf103cbt from the tiny print silk-screened on the chip.
+
+which means it has 128k flash and 32k sram and 37(!) gpio pins
+
+| area | start | end |
+|-------------+-------------+-------------|
+| sram region | ~0x2000_0000~ | ~0x2001_7fff~ |
+| boot loader | ~0x1fff_b000~ | ~0x1fff_f7ff~ |
+| main flash | ~0x0800_0000~ | ~0x0801_ffff~ |
+
+interrupt vector table is 4096 words starting from the start of flash (~mtvt~ register). ~_start~ should be at the end of the vector.
+
+according to the user manual (pg 51), at least when waking up, the system boots from ~0x0000_0000~ (which is an alias to the start of the main flash, iirc)
+
+usb is 2.0 full-speed (12Mbps)