User Tools

Site Tools


eclipse

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
eclipse [2012/07/16 23:54]
duggle
eclipse [2012/07/17 00:19]
duggle
Line 115: Line 115:
 The following is used in this section:\\ The following is used in this section:\\
 **core:​**................STM32\\ **core:​**................STM32\\
-**OS:​**..................windows 7 x64 //WinXP should work the same use with OpenOCD 0.5.0 (non x64)//\\ +**OS:​**..................windows 7 x64 **//WinXP should work the same use with OpenOCD 0.5.0 (non x64)//**\\ 
-**toolchain:​**......mios32_toolchain (mentioned in the wiki). //Ensure that workspace environment PATH includes e.g C:​\mios32_toolchain\bin//​\\ +**toolchain:​**......mios32_toolchain (mentioned in the wiki). ​**//Ensure that workspace environment PATH includes e.g C:​\mios32_toolchain\bin//​**\\ 
-**IDE:​**.................Eclipse (Indigo) //later versions will probably not work at this point//\\+**IDE:​**.................Eclipse (Indigo) ​**//later versions will probably not work at this point//**\\
 **OpenOCD:​**.......0.5.0 x64 [[http://​www.freddiechopin.info/​en/​download/​category/​4-openocd|Download]]\\ **OpenOCD:​**.......0.5.0 x64 [[http://​www.freddiechopin.info/​en/​download/​category/​4-openocd|Download]]\\
-**GDB:​**.................Yagarto (gdb version 7.3.1)//​later versions should work//​[[http://​http://​www.yagarto.de/#​download|download]] \\ +**GDB:​**.................Yagarto (gdb version 7.3.1) ​**//later versions should work//**[[http://​http://​www.yagarto.de/#​download|download]] \\ 
-**JTAG:​**................Amontec JTAGkey-tiny ​ //many other brands and types of JTAG interface are supported by OpenOCD//\\+**JTAG:​**................Amontec JTAGkey-tiny  ​**//many other brands and types of JTAG interface are supported by OpenOCD//**\\
  
 ===== OpenOCD ===== ===== OpenOCD =====
Line 229: Line 229:
  
 ==== Running the Flash/Debug Configuration ==== ==== Running the Flash/Debug Configuration ====
 +  * Make sure OpenOCD is running (see previously)
 +{{:​eclipse:​debugconfigbutton.png|}}
 +  * Click the pull down and select the item "//​MyProject//​ flash,​debug" ​
 +  * Project will build
 +  * GDB diagnostics will appear (black, commands are in red). 
 +  * There will be a significant pause during the actual flash programming operation (see pictured below, in a project called AqCntSVN)
 +{{:​eclipse:​consoledebugflashing.png|}}
 +  * The program will halt. Activate "​Resume"​ from the run menu or debug toolbar and the program will run from as if hard reset, that is the bootloader pulsing of the LED will happen followed by execution of the app.
 +  * You are now debugging and the program will halt on break points, allow single stepping, inspection of variables, etc, etc.  ​
 +
 ==== The FreeRTOS StateViewer Plugin ==== ==== The FreeRTOS StateViewer Plugin ====
eclipse.txt · Last modified: 2012/07/17 00:19 by duggle