| データシートサーチシステム |
|
AN3216 データシート(PDF) 23 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3216 データシート(HTML) 23 Page - STMicroelectronics |
|
23 / 33 page ![]() DocID17496 Rev 7 23/33 AN3216 Debug management 32 5.3 Pinout and debug port pins The STM32L1xxx MCU is offered in various packages with different numbers of available pins. As a result, some functionality related to the pin availability may differ from one package to another. 5.3.1 SWJ debug port pins Five pins are used as outputs for the SWJ-DP as alternate functions of general-purpose I/Os (GPIOs). These pins, shown in Table 3, are available on all packages. 5.3.2 Flexible SWJ-DP pin assignment After reset (SYSRESETn or PORESETn), all five pins used for the SWJ-DP are assigned as dedicated pins which are immediately usable by the debugger host (note that the trace outputs are not assigned except if explicitly programmed by the debugger host). However, the STM32L1xxx MCU implements a register to disable all or part of the SWJ-DP port, and so releases the associated pins for general-purpose I/O usage. This register is mapped on an APB bridge connected to the Cortex™-M3 system bus. It is programmed by the user software program and not by the debugger host. Table 4 shows the different possibilities for releasing some pins. For more details, see the STM32L1xxx reference manual (RM0038). Table 3. Debug port pin assignment SWJ-DP pin name JTAG debug port SW debug port Pin assignmen t Type Description Type Debug assignment JTMS/SWDIO I JTAG test mode selection I/O Serial wire data input/output PA13 JTCK/SWCLK I JTAG test clock I Serial wire clock PA14 JTDI I JTAG test data input - - PA15 JTDO/TRACESWO O JTAG test data output - TRACESWO if async trace is enabled PB3 JNTRST I JTAG test nReset - - PB4 Table 4. SWJ I/O pin availability Available debug ports SWJ I/O pin assigned PA13 / JTMS/ SWDIO PA14 / JTCK/ SWCLK PA15 / JTDI PB3 / JTDO PB4/ JNTRST Full SWJ (JTAG-DP + SW-DP) - reset state X X X X X Full SWJ (JTAG-DP + SW-DP) but without JNTRST XX X X JTAG-DP disabled and SW-DP enabled X X JTAG-DP disabled and SW-DP disabled Released |
|
リンク URL |
| 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 |