Updated Symbolic Debugging (markdown)
parent
2562edaa36
commit
db1fae7b66
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue