File tree Expand file tree Collapse file tree 4 files changed +47
-13
lines changed Expand file tree Collapse file tree 4 files changed +47
-13
lines changed Original file line number Diff line number Diff line change @@ -255,19 +255,17 @@ flashed in the usual way (see :ref:`build_an_application` and
255
255
Flashing
256
256
========
257
257
258
- Nucleo L552ZE Q board includes an ST-LINK/V3E embedded debug tool
259
- interface. This interface is not yet supported by the openocd version.
260
- Instead, support can be enabled on pyocd by adding "pack" support with
261
- the following pyocd command:
258
+ Nucleo L552ZE Q board includes an ST-LINK/V2-1 embedded debug tool
259
+ interface. Support can be enabled on pyocd by adding "pack" support with the
260
+ following pyocd command:
262
261
263
262
.. code-block :: console
264
263
265
264
$ pyocd pack --update
266
265
$ pyocd pack --install stm32l552ze
267
266
268
- Nucleo L552ZE Q board includes an ST-LINK/V2-1 embedded debug tool
269
- interface. This interface is supported by the openocd version
270
- included in the Zephyr SDK since v0.9.2.
267
+ Alternatively, this interface is supported by the openocd version
268
+ included in the Zephyr SDK since v0.13.1.
271
269
272
270
Flashing an application to Nucleo L552ZE Q
273
271
------------------------------------------
Original file line number Diff line number Diff line change
1
+ source [find interface/stlink.cfg]
2
+
3
+ transport select hla_swd
4
+
5
+ source [find target/stm32l5x.cfg]
6
+
7
+ # use hardware reset
8
+ reset_config srst_only srst_nogate
9
+
10
+ $_TARGETNAME configure -event gdb-attach {
11
+ echo " Debugger attaching: halting execution"
12
+ reset halt
13
+ gdb_breakpoint_override hard
14
+ }
15
+
16
+ $_TARGETNAME configure -event gdb-detach {
17
+ echo " Debugger detaching: resuming execution"
18
+ resume
19
+ }
Original file line number Diff line number Diff line change @@ -252,18 +252,16 @@ Flashing
252
252
========
253
253
254
254
STM32L562E-DK Discovery board includes an ST-LINK/V3E embedded debug tool
255
- interface. This interface is not yet supported by the openocd version.
256
- Instead, support can be enabled on pyocd by adding "pack" support with
257
- the following pyocd command:
255
+ interface. Support can be enabled on pyocd by adding "pack" support with the
256
+ following pyocd command:
258
257
259
258
.. code-block :: console
260
259
261
260
$ pyocd pack --update
262
261
$ pyocd pack --install stm32l562qe
263
262
264
- STM32L562E-DK Discovery board includes an ST-LINK/V2-1 embedded debug tool
265
- interface. This interface is supported by the openocd version
266
- included in the Zephyr SDK since v0.9.2.
263
+ Alternatively, this interface is supported by the openocd version
264
+ included in the Zephyr SDK since v0.13.1.
267
265
268
266
Flashing an application to STM32L562E-DK Discovery
269
267
--------------------------------------------------
Original file line number Diff line number Diff line change
1
+ source [find interface/stlink.cfg]
2
+
3
+ transport select hla_swd
4
+
5
+ source [find target/stm32l5x.cfg]
6
+
7
+ # use hardware reset
8
+ reset_config srst_only srst_nogate
9
+
10
+ $_TARGETNAME configure -event gdb-attach {
11
+ echo " Debugger attaching: halting execution"
12
+ reset halt
13
+ gdb_breakpoint_override hard
14
+ }
15
+
16
+ $_TARGETNAME configure -event gdb-detach {
17
+ echo " Debugger detaching: resuming execution"
18
+ resume
19
+ }
You can’t perform that action at this time.
0 commit comments