summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--electronics/microcontrollers.page5
-rw-r--r--electronics/stm32.page (renamed from electronics/stm32.txt)19
2 files changed, 11 insertions, 13 deletions
diff --git a/electronics/microcontrollers.page b/electronics/microcontrollers.page
index 92b91dd..f036a9f 100644
--- a/electronics/microcontrollers.page
+++ b/electronics/microcontrollers.page
@@ -28,8 +28,3 @@ it was an MIT AI Lab project. A real time operating system written in C (VENUS)
runs on the metal and an L framework called MARS coordinates message/event
handling between multiple agents. It was written for robotic research.
-ARM Cortex-M3/4 Stuff
--------------------------
-
- - <http://www.versaloon.com/>
- - "STM32/ARM Cortex-M3 HOWTO: Development under Ubuntu (Debian)" (from fun-tech.se: <http://fun-tech.se/stm32/)>
diff --git a/electronics/stm32.txt b/electronics/stm32.page
index d8b817c..4c1c200 100644
--- a/electronics/stm32.txt
+++ b/electronics/stm32.page
@@ -2,11 +2,11 @@
Memory Utilization
=====================
-'text' is what ends up in flash (only).
-'data' is initialized variables: need to be storad in flash, then end up in RAM.
-'bss' is uninitialized data: nothing in flash, but does consume RAM.
+`text` is what ends up in flash (only).
+`data` is initialized variables: need to be storad in flash, then end up in RAM.
+`bss` is uninitialized data: nothing in flash, but does consume RAM.
-The "-x --format=sysv" flags to arm-none-eabi-size can be helpful.
+The `-x --format=sysv` flags to `arm-none-eabi-size` can be helpful.
Debugging
================
@@ -26,13 +26,13 @@ Access all registers:
Uploading via SWD
====================
-upload_blackmagic.sh:
+`upload_blackmagic.sh`:
#!/bin/bash
- arm-none-eabi-gdb build/stm32f401cc_telemetry.elf < load_blackmagic.gdb
+ arm-none-eabi-gdb build/stm32f401cc_project.elf < load_blackmagic.gdb
sleep 1.0
-load_blackmagic.gdb:
+`load_blackmagic.gdb`:
target extended-remote /dev/ttyACM0
monitor swdp_scan
@@ -46,4 +46,7 @@ References
Keil Application Note 209: Using Cortex-M3 and Cortex-M4 Fault Exceptions
ARM Cortex-M3 HardFault Status Register Documentation:
-http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0553a/Cihdjcfc.html
+<http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0553a/Cihdjcfc.html>
+
+"STM32/ARM Cortex-M3 HOWTO: Development under Ubuntu (Debian)" (from fun-tech.se:
+<http://fun-tech.se/stm32/)>