| 数据搜索系统,热门电子元器件搜索 |
|
AN1774 数据表(PDF) 5 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN1774 数据表(HTML) 5 Page - STMicroelectronics |
|
5 / 9 page ![]() 5/9 STR71x SOFTWARE DEVELOPMENT GETTING STARTED 1.6 CONNECTING TO TARGET The next stage in your debugging session is to connect to your debug target, which is the STR71x core on your application board. This step assumes that you have already compiled and built your STR71x image. If you choose hardware debugging, the MICRO-ICE debugging tool should be plugged in to both the host and to the target which must be powered on. Ensure that the ICE software is in- stalled and setup as described in the next section MICRO-ICE SETUP. ■ Select File->Connection->Connect to target... from the Code window main menu to display the Connection Control window, shown in the figure below. Use this window to connect to your target. ■ The Connection Control window shows all the connections available. In our case, you can specify one of the these connections: ST-STR710-EVAL. Select the check-box or double- click on the connection entry in the Name pane. ■ Now, you can load the built image ’PinToggling.axf’, under ’..\STR71xGS\Example1\ Debug’, on the target by selecting File->Load Image. You can also click the blue hyperlink Click to Load Image to Target in the File Editor pane. 1.7 DEBUGGING THE APPLICATION Once the image has been loaded on the target you can debug it. To execute the image click the Go button on the Actions toolbar. You can use breakpoints to run the application step by step. A simple double-click on a line sets a breakpoint on that location. You can display memory and register contents. Select View->Pane Views->Memory from the Code window to display the Memory pane or View- >Pane View->Registers to display the Register pane. By means of these panes you can view and set the content of a register and a memory location. You can also display variables. Use an oscilloscope to monitor the GPIO0 pin state. For more details on RealView debugging features, refer to the RealView Debugger essentials guide document. |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |