From db1fae7b6664b10747e3ed72710e5af52a4d71f5 Mon Sep 17 00:00:00 2001 From: neilh Date: Thu, 5 Nov 2015 16:18:25 -0800 Subject: [PATCH] Updated Symbolic Debugging (markdown) --- ...c-Debugging.md => Symbolic-Debugging-for-STM32.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) rename Symbolic-Debugging.md => Symbolic-Debugging-for-STM32.md (81%) diff --git a/Symbolic-Debugging.md b/Symbolic-Debugging-for-STM32.md similarity index 81% rename from Symbolic-Debugging.md rename to Symbolic-Debugging-for-STM32.md index 1ffef35..da2440c 100644 --- a/Symbolic-Debugging.md +++ b/Symbolic-Debugging-for-STM32.md @@ -38,21 +38,25 @@ or Symbolic debugging is useful for checking out the interface to hardware - single stepping through each line of code, and looking at the registers/variables. Symbolic debugging often relies on a toolchain that can be difficult to get right - so often its more pain to setup and debug the debugger than it is to use other methods. Retrofitting symbolic debugging to a large project often doesn't work - so it may not work for the main python code but can be very useful for some integration testing. Your mileage may vary. -ST has developed and made widely available low cost ST-Link. (This is fantastic as its reasonably simply hardware but complex software to access the internals of the processor - other manufacturers let 3rd party's supply commercial debugging hardware) +STM has developed and made widely available low cost ST-Link. (This is fantastic as its reasonably simply hardware but complex software to access the internals of the processor - other manufacturers let 3rd party's supply commercial debugging hardware) -ST is also supporting an freely downloadable symbolic debugger tool chain at OpenSTM32.org. +STM is also supporting an freely downloadable symbolic debugger tool chain at OpenSTM32.org. If you've used another symbolic debugger with the pyboard please list it here. -ST's documents. + +STM's documents: ST TN0072 -Software toolchains and STM32 features ###OpenSTM32.org This is an Eclipse Lunar based toolchain for both Linux and Windows. + I've used it to take a STM32cubeMX example and customize it for the pyboard. As of writing (2015Nov) it doesn't accept the stmhal/build-PYBV10/firmware.ELF. Download/install the " [System Workbench for STM32](http://www.openstm32.org/System+Workbench+for+STM32)" - ###ST-Link Upload -The ST-Link can also be used to upload to the board - [Building ST-Flash](https://github.com/micropython/micropython/wiki/Building-st-flash) +The ST-Link can be used to upload to the board, see [Building ST-Flash](https://github.com/micropython/micropython/wiki/Building-st-flash). + +There is also an STM "STM32 ST-Link Utility" (Windows?)that can be used to verify the ST-Link works and to program to memory