| 数据搜索系统,热门电子元器件搜索 |
|
SW4STM32C 数据表(PDF) 29 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
SW4STM32C 数据表(HTML) 29 Page - STMicroelectronics |
|
29 / 99 page ![]() DocID030181 Rev 2 29/99 AN4989 Connecting to the board 98 4 Connecting to the board The way IDEs get connected to the boards is not always known. In case of trouble, a basic knowledge about this topic can save time in identifying and fixing the issue. This chapter intends to provide the minimal set of information in order to prevent or quickly fix issues related to connection. 4.1 SWD/JTAG pinout On STMicroelectronics hardware kits, SWD must be made available for connection with ST- LINK. SWD is always mapped on PA13 (SWDIO) and PA14 (SWCLK). This is the default state after reset. Nothing specific is required in the application code to make SWD work. Special attention must be paid to make sure that, voluntarily or accidentally, the SWD pins are not switched to some alternate functions or affected by I/O settings modifications. Hint: For instance, STM32Cube PWR examples switch all GPIO (including SWD) in an analog state in order to minimize consumption. This disconnects the debugger. A Connect Under Reset using NRST is required to take back the control of the board. (Refer to Section 4.2). When using STM32CubeMX at configuration stage, PA13 and PA14 can be in one of three states upon selection of Serial Wire in SYS/Debug configuration list: • Reset, shown by the pins colored in gray in Figure 16 • Reserved but inactive shown by the pins colored in orange in Figure 17 • Active shown by the pins colored in green in Figure 18 Figure 16. SWD pins PA13 and PA14 in Reset state under STM32CubeMX |
|
链接网址 |
| 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 |