<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.dh-electronics.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Renglbrecht</id>
	<title>Wiki-DB - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.dh-electronics.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Renglbrecht"/>
	<link rel="alternate" type="text/html" href="https://wiki.dh-electronics.com/index.php?title=Special:Contributions/Renglbrecht"/>
	<updated>2026-04-27T19:43:10Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.dh-electronics.com/index.php?title=Debugging_M4_on_STM32MP15xxxx&amp;diff=3548</id>
		<title>Debugging M4 on STM32MP15xxxx</title>
		<link rel="alternate" type="text/html" href="https://wiki.dh-electronics.com/index.php?title=Debugging_M4_on_STM32MP15xxxx&amp;diff=3548"/>
		<updated>2021-11-22T13:03:27Z</updated>

		<summary type="html">&lt;p&gt;Renglbrecht: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For general information about the STM32MP15xxxx please refer to the official [https://wiki.st.com/stm32mpu/wiki/Main_Page Wiki]. This page describes ways to debug the M4 on STM32MP15xxxx from ST.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Debugging modes ==&lt;br /&gt;
Production mode and Engineering mode are described [https://wiki.st.com/stm32mpu/wiki/STM32CubeMP1_Package#Introduction_to_boot_mode here] in the ST Wiki.&lt;br /&gt;
To enter Engineering mode with the Avenger96 read the chapter &amp;quot;Boot Mode&amp;quot; in the [https://wiki.dh-electronics.com/index.php/Avenger96#Documentation Getting started guide] and look for &amp;quot;NoBoot&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Debugging with STM32CubeIDE ==&lt;br /&gt;
Debugging for both modes is also described in the ST wiki [https://wiki.st.com/stm32mpu/wiki/STM32CubeIDE#Arm-C2-AE_Cortex-C2-AE-M_debug_on_STM32_MPU_device here]. If you have problems debugging in Production mode, see next subcaption.&lt;br /&gt;
&lt;br /&gt;
=== Without console or lan connection ===&lt;br /&gt;
If you have no console or lan connection, STM32CubeIDE does not let you start the debugging session in Production mode.&lt;br /&gt;
In this case it is possible to manually start the M4 on the target and start the debugging session with &amp;quot;thruJTAG/SWD (Engineering mode)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
====1. Manually start the M4====&lt;br /&gt;
Therefore copy your elf file and the &amp;lt;code&amp;gt;fw_cortex_m4.sh&amp;lt;/code&amp;gt; script to the same folder in Linux running on the A7.&lt;br /&gt;
You can find &amp;lt;code&amp;gt;fw_cortex_m4.sh&amp;lt;/code&amp;gt; in the M4 project of STM32CubeIDE, see picture below.&lt;br /&gt;
Next start the M4 with &amp;lt;code&amp;gt;./fw_cortex_m4.sh start&amp;lt;/code&amp;gt;.&lt;br /&gt;
To stop the M4 run &amp;lt;code&amp;gt;./fw_cortex_m4.sh stop&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
[[File:STM32CubeIDE-M4-Start Script-Position.png|200px]]&lt;br /&gt;
&lt;br /&gt;
====2. Debug the manually started M4====&lt;br /&gt;
Therefor navigate in the STM32CubeIDE to:&lt;br /&gt;
# Debug Configuration and choose &amp;quot;thruJTAG/SWD (Engineering mode)&amp;quot; in the Debugger tab&lt;br /&gt;
# Then go to the Startup tab &lt;br /&gt;
# Double click your elf file in &amp;quot;Load Image and Symbols&amp;quot;&lt;br /&gt;
# Uncheck &amp;quot;Download&amp;quot;&lt;br /&gt;
# Then in &amp;quot;Initialization Commands&amp;quot; remove &amp;quot;monitor reset&amp;quot; and &amp;quot;monitor halt&amp;quot;&lt;br /&gt;
# Now you can click the blue Debug button&lt;br /&gt;
# The M4 will be running (not stoped at main()), therefor you have to set a break point or click the pause button to stop the M4. From there you can single step like normal&lt;br /&gt;
&lt;br /&gt;
[[File:STM32CubeIDE-Debug-Configuration-M4.png|700px]]&lt;br /&gt;
&lt;br /&gt;
== Debugging with GDB (without IDE) ==&lt;br /&gt;
https://wiki.st.com/stm32mpu/wiki/GDB#Debug_Cortex-M4_firmware_with_GDB&lt;br /&gt;
&lt;br /&gt;
== Debugging with trace output on Linux ==&lt;br /&gt;
https://wiki.st.com/stm32mpu/wiki/STM32CubeMP1_Package#Logging_in_production_mode&lt;/div&gt;</summary>
		<author><name>Renglbrecht</name></author>
	</entry>
	<entry>
		<id>https://wiki.dh-electronics.com/index.php?title=Debugging_M4_on_STM32MP15xxxx&amp;diff=3411</id>
		<title>Debugging M4 on STM32MP15xxxx</title>
		<link rel="alternate" type="text/html" href="https://wiki.dh-electronics.com/index.php?title=Debugging_M4_on_STM32MP15xxxx&amp;diff=3411"/>
		<updated>2021-07-07T10:36:21Z</updated>

		<summary type="html">&lt;p&gt;Renglbrecht: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For general information about the STM32MP15xxxx please refer to the official [https://wiki.st.com/stm32mpu/wiki/Main_Page Wiki]. This page describes ways to debug the M4 on STM32MP15xxxx from ST.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Debugging modes ==&lt;br /&gt;
Production mode and Engineering mode are described [https://wiki.st.com/stm32mpu/wiki/STM32CubeMP1_Package#Introduction_to_boot_mode here] in the ST Wiki.&lt;br /&gt;
To enter Engineering mode with the Avenger96 read the chapter &amp;quot;Boot Mode&amp;quot; in the [https://wiki.dh-electronics.com/index.php/Avenger96#Documentation Getting started guide] and look for &amp;quot;NoBoot&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Debugging with STM32CubeIDE ==&lt;br /&gt;
Debugging for both modes is also described in the ST wiki [https://wiki.st.com/stm32mpu/wiki/STM32CubeIDE#Arm-C2-AE_Cortex-C2-AE-M_debug_on_STM32_MPU_device here]. If you have problems debugging in Production mode, see next subcaption.&lt;br /&gt;
&lt;br /&gt;
=== Without console or lan connection ===&lt;br /&gt;
If you have no console or lan connection STM32CubeIDE don&#039;t let you start the debugging session.&lt;br /&gt;
In this case it is possible to manually start the M4 on the target and start the debugging session with &amp;quot;thruJTAG/SWD (Engineering mode)&amp;quot;.&lt;br /&gt;
Therefor go to:&lt;br /&gt;
# Debug Configuration&lt;br /&gt;
# Then to the Startup tab &lt;br /&gt;
# Double click your elf file in &amp;quot;Load Image and Symbols&amp;quot;&lt;br /&gt;
# Uncheck &amp;quot;Download&amp;quot;&lt;br /&gt;
# Then in &amp;quot;Initialization Commands&amp;quot; remove &amp;quot;monitor reset&amp;quot; and &amp;quot;monitor halt&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[File:STM32CubeIDE-Debug-Configuration-M4.png|700px]]&lt;br /&gt;
&lt;br /&gt;
As next step we have to start the M4 manually.&lt;br /&gt;
&lt;br /&gt;
Therefore copy your elf file and the &amp;lt;code&amp;gt;fw_cortex_m4.sh&amp;lt;/code&amp;gt; script to the same folder in Linux running on the A7.&lt;br /&gt;
You can find &amp;lt;code&amp;gt;fw_cortex_m4.sh&amp;lt;/code&amp;gt; in the M4 project of STM32CubeIDE, see picture below.&lt;br /&gt;
Next start the M4 with &amp;lt;code&amp;gt;./fw_cortex_m4.sh start&amp;lt;/code&amp;gt;.&lt;br /&gt;
To stop the M4 run &amp;lt;code&amp;gt;./fw_cortex_m4.sh stop&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
[[File:STM32CubeIDE-M4-Start Script-Position.png|200px]]&lt;br /&gt;
&lt;br /&gt;
== Debugging with GDB (without IDE) ==&lt;br /&gt;
https://wiki.st.com/stm32mpu/wiki/GDB#Debug_Cortex-M4_firmware_with_GDB&lt;br /&gt;
&lt;br /&gt;
== Debugging with trace output on Linux ==&lt;br /&gt;
https://wiki.st.com/stm32mpu/wiki/STM32CubeMP1_Package#Logging_in_production_mode&lt;/div&gt;</summary>
		<author><name>Renglbrecht</name></author>
	</entry>
	<entry>
		<id>https://wiki.dh-electronics.com/index.php?title=Debugging_M4_on_STM32MP15xxxx&amp;diff=3403</id>
		<title>Debugging M4 on STM32MP15xxxx</title>
		<link rel="alternate" type="text/html" href="https://wiki.dh-electronics.com/index.php?title=Debugging_M4_on_STM32MP15xxxx&amp;diff=3403"/>
		<updated>2021-06-30T06:55:35Z</updated>

		<summary type="html">&lt;p&gt;Renglbrecht: Typo corrected and picture sizes adjusted.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For general information about the STM32MP15xxxx please refer to the official [https://wiki.st.com/stm32mpu/wiki/Main_Page Wiki]. This page describes ways to debug the M4 on STM32MP15xxxx from ST.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Debugging modes ==&lt;br /&gt;
Production mode and Engineering mode are described [https://wiki.st.com/stm32mpu/wiki/STM32CubeMP1_Package#Introduction_to_boot_mode here] in the ST Wiki.&lt;br /&gt;
To enter Engineering mode with the Avenger96 read the chapter &amp;quot;Boot Mode&amp;quot; in the [https://wiki.dh-electronics.com/index.php/Avenger96#Documentation Getting started guide] and look for &amp;quot;NoBoot&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Debugging with STM32CubeIDE ==&lt;br /&gt;
Debugging for both modes is also described in the ST wiki [https://wiki.st.com/stm32mpu/wiki/STM32CubeIDE#Arm-C2-AE_Cortex-C2-AE-M_debug_on_STM32_MPU_device here]. If you have problems debugging in Production mode, see next subcaption.&lt;br /&gt;
&lt;br /&gt;
=== Without console or lan connection ===&lt;br /&gt;
If you have no console or lan connection STM32CubeIDE don&#039;t let you start the debugging session.&lt;br /&gt;
In this case it is possible to manually start the M4 on the target and start the debugging session with &amp;quot;thruJTAG/SWD (Engineering mode)&amp;quot;.&lt;br /&gt;
Therefor go to:&lt;br /&gt;
# Debug Configuration&lt;br /&gt;
# Then to the Startup tab &lt;br /&gt;
# Double click your elf file in &amp;quot;Load Image and Symbols&amp;quot;&lt;br /&gt;
# Uncheck &amp;quot;Download&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[File:STM32CubeIDE-Debug-Configuration-M4.png|700px]]&lt;br /&gt;
&lt;br /&gt;
As next step we have to start the M4 manually.&lt;br /&gt;
&lt;br /&gt;
Therefore copy your elf file and the &amp;lt;code&amp;gt;fw_cortex_m4.sh&amp;lt;/code&amp;gt; script to the same folder in Linux running on the A7.&lt;br /&gt;
You can find &amp;lt;code&amp;gt;fw_cortex_m4.sh&amp;lt;/code&amp;gt; in the M4 project of STM32CubeIDE, see picture below.&lt;br /&gt;
Next start the M4 with &amp;lt;code&amp;gt;./fw_cortex_m4.sh start&amp;lt;/code&amp;gt;.&lt;br /&gt;
To stop the M4 run &amp;lt;code&amp;gt;./fw_cortex_m4.sh stop&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
[[File:STM32CubeIDE-M4-Start Script-Position.png|200px]]&lt;br /&gt;
&lt;br /&gt;
== Debugging with GDB (without IDE) ==&lt;br /&gt;
https://wiki.st.com/stm32mpu/wiki/GDB#Debug_Cortex-M4_firmware_with_GDB&lt;br /&gt;
&lt;br /&gt;
== Debugging with trace output on Linux ==&lt;br /&gt;
https://wiki.st.com/stm32mpu/wiki/STM32CubeMP1_Package#Logging_in_production_mode&lt;/div&gt;</summary>
		<author><name>Renglbrecht</name></author>
	</entry>
	<entry>
		<id>https://wiki.dh-electronics.com/index.php?title=Debugging_M4_on_STM32MP15xxxx&amp;diff=3248</id>
		<title>Debugging M4 on STM32MP15xxxx</title>
		<link rel="alternate" type="text/html" href="https://wiki.dh-electronics.com/index.php?title=Debugging_M4_on_STM32MP15xxxx&amp;diff=3248"/>
		<updated>2021-02-11T08:54:44Z</updated>

		<summary type="html">&lt;p&gt;Renglbrecht: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For general information about the STM32MP15xxxx please refer to the official [https://wiki.st.com/stm32mpu/wiki/Main_Page Wiki]. This page describes ways to debug the M4 on STM32MP15xxxx from ST.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Debugging modes ==&lt;br /&gt;
Production mode and Engineering mode are described [https://wiki.st.com/stm32mpu/wiki/STM32CubeMP1_Package#Introduction_to_boot_mode here] in the ST Wiki.&lt;br /&gt;
To enter Engineering mode with the Avenger96 read the chapter &amp;quot;Boot Mode&amp;quot; in the [https://wiki.dh-electronics.com/index.php/Avenger96#Documentation Getting started guide] and look for &amp;quot;NoBoot&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Debugging with STM32CubeIDE ==&lt;br /&gt;
Debugging for both modes is also described in the ST wiki [https://wiki.st.com/stm32mpu/wiki/STM32CubeIDE#Arm-C2-AE_Cortex-C2-AE-M_debug_on_STM32_MPU_device here]. If you have problems debugging in Production mode, see next subcaption.&lt;br /&gt;
&lt;br /&gt;
=== Without console or lan connection ===&lt;br /&gt;
If you have no console or lan connection STM32CubeIDE don&#039;t let you start the debugging session.&lt;br /&gt;
In this case it is possible to manually start th M4 on the target and start the debugging session with &amp;quot;thruJTAG/SWD (Engineering mode)&amp;quot;.&lt;br /&gt;
Therefor go to:&lt;br /&gt;
# Debug Configuration&lt;br /&gt;
# Then to the Startup tab &lt;br /&gt;
# Double click your elf file in &amp;quot;Load Image and Symbols&amp;quot;&lt;br /&gt;
# Uncheck &amp;quot;Download&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[File:STM32CubeIDE-Debug-Configuration-M4.png]]&lt;br /&gt;
&lt;br /&gt;
As next step we have to start the M4 manually.&lt;br /&gt;
&lt;br /&gt;
Therefore copy your elf file and the &amp;lt;code&amp;gt;fw_cortex_m4.sh&amp;lt;/code&amp;gt; script to the same folder in Linux running on the A7.&lt;br /&gt;
You can find &amp;lt;code&amp;gt;fw_cortex_m4.sh&amp;lt;/code&amp;gt; in the M4 project of STM32CubeIDE, see picture below.&lt;br /&gt;
Next start the M4 with &amp;lt;code&amp;gt;./fw_cortex_m4.sh start&amp;lt;/code&amp;gt;.&lt;br /&gt;
To stop the M4 run &amp;lt;code&amp;gt;./fw_cortex_m4.sh stop&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
[[File:STM32CubeIDE-M4-Start Script-Position.png]]&lt;br /&gt;
&lt;br /&gt;
== Debugging with GDB (without IDE) ==&lt;br /&gt;
https://wiki.st.com/stm32mpu/wiki/GDB#Debug_Cortex-M4_firmware_with_GDB&lt;br /&gt;
&lt;br /&gt;
== Debugging with trace output on Linux ==&lt;br /&gt;
https://wiki.st.com/stm32mpu/wiki/STM32CubeMP1_Package#Logging_in_production_mode&lt;/div&gt;</summary>
		<author><name>Renglbrecht</name></author>
	</entry>
	<entry>
		<id>https://wiki.dh-electronics.com/index.php?title=Debugging_M4_on_STM32MP15xxxx&amp;diff=3245</id>
		<title>Debugging M4 on STM32MP15xxxx</title>
		<link rel="alternate" type="text/html" href="https://wiki.dh-electronics.com/index.php?title=Debugging_M4_on_STM32MP15xxxx&amp;diff=3245"/>
		<updated>2021-02-11T08:45:29Z</updated>

		<summary type="html">&lt;p&gt;Renglbrecht: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For general information about the STM32MP15xxxx please refer to the official [https://wiki.st.com/stm32mpu/wiki/Main_Page Wiki]. This page describes ways to debug the M4 on STM32MP15xxxx from ST.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Debugging modes ==&lt;br /&gt;
Production mode and Engineering mode are described [https://wiki.st.com/stm32mpu/wiki/STM32CubeMP1_Package#Introduction_to_boot_mode here] in the ST Wiki.&lt;br /&gt;
To enter Engineering mode with the Avenger96 read the chapter &amp;quot;Boot Mode&amp;quot; in the [https://wiki.dh-electronics.com/index.php/Avenger96#Documentation Getting started guide] and look for &amp;quot;NoBoot&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Debugging with STM32CubeIDE ==&lt;br /&gt;
Debugging for both modes is also described in the ST wiki [https://wiki.st.com/stm32mpu/wiki/STM32CubeIDE#Arm-C2-AE_Cortex-C2-AE-M_debug_on_STM32_MPU_device here]. If you have problems debugging in Production mode, see next subcaption.&lt;br /&gt;
&lt;br /&gt;
=== Without console or lan connection ===&lt;br /&gt;
If you have no console or lan connection STM32CubeIDE don&#039;t let you start the debugging session.&lt;br /&gt;
In this case it is possible to manually start th M4 on the target and start the debugging session with &amp;quot;thruJTAG/SWD (Engineering mode)&amp;quot;.&lt;br /&gt;
Therefor go to:&lt;br /&gt;
# Debug Configuration&lt;br /&gt;
# Then to the Startup tab &lt;br /&gt;
# Double click your elf file in &amp;quot;Load Image and Symbols&amp;quot;&lt;br /&gt;
# Uncheck &amp;quot;Download&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[File:STM32CubeIDE-Debug-Configuration-M4.png]]&lt;br /&gt;
&lt;br /&gt;
As next step we have to start the M4 manually.&lt;br /&gt;
Therefore copy your elf file and the fw_cortex_m4.sh script to the same folder in Linux running on the A7.&lt;br /&gt;
You can find fw_cortex_m4.sh in the M4 project of STM32CubeIDE, see picture below.&lt;br /&gt;
Next start the M4 with ./fw_cortex_m4.sh start.&lt;br /&gt;
./fw_cortex_m4.sh stop stops the M4.&lt;br /&gt;
&lt;br /&gt;
[[File:STM32CubeIDE-M4-Start Script-Position.png]]&lt;br /&gt;
&lt;br /&gt;
== Debugging with GDB (without IDE) ==&lt;br /&gt;
https://wiki.st.com/stm32mpu/wiki/GDB#Debug_Cortex-M4_firmware_with_GDB&lt;br /&gt;
&lt;br /&gt;
== Debugging with trace output on Linux ==&lt;br /&gt;
https://wiki.st.com/stm32mpu/wiki/STM32CubeMP1_Package#Logging_in_production_mode&lt;/div&gt;</summary>
		<author><name>Renglbrecht</name></author>
	</entry>
	<entry>
		<id>https://wiki.dh-electronics.com/index.php?title=File:STM32CubeIDE-M4-Start_Script-Position.png&amp;diff=3244</id>
		<title>File:STM32CubeIDE-M4-Start Script-Position.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.dh-electronics.com/index.php?title=File:STM32CubeIDE-M4-Start_Script-Position.png&amp;diff=3244"/>
		<updated>2021-02-11T08:43:11Z</updated>

		<summary type="html">&lt;p&gt;Renglbrecht: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Renglbrecht</name></author>
	</entry>
	<entry>
		<id>https://wiki.dh-electronics.com/index.php?title=File:STM32CubeIDE-Debug-Configuration-M4.jpg&amp;diff=3243</id>
		<title>File:STM32CubeIDE-Debug-Configuration-M4.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.dh-electronics.com/index.php?title=File:STM32CubeIDE-Debug-Configuration-M4.jpg&amp;diff=3243"/>
		<updated>2021-02-11T08:23:57Z</updated>

		<summary type="html">&lt;p&gt;Renglbrecht: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Renglbrecht</name></author>
	</entry>
	<entry>
		<id>https://wiki.dh-electronics.com/index.php?title=File:STM32CubeIDE-Debug-Configuration-M4.png&amp;diff=3239</id>
		<title>File:STM32CubeIDE-Debug-Configuration-M4.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.dh-electronics.com/index.php?title=File:STM32CubeIDE-Debug-Configuration-M4.png&amp;diff=3239"/>
		<updated>2021-02-11T08:11:31Z</updated>

		<summary type="html">&lt;p&gt;Renglbrecht: Renglbrecht uploaded a new version of File:STM32CubeIDE-Debug-Configuration-M4.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Renglbrecht</name></author>
	</entry>
	<entry>
		<id>https://wiki.dh-electronics.com/index.php?title=Debugging_M4_on_STM32MP15xxxx&amp;diff=3238</id>
		<title>Debugging M4 on STM32MP15xxxx</title>
		<link rel="alternate" type="text/html" href="https://wiki.dh-electronics.com/index.php?title=Debugging_M4_on_STM32MP15xxxx&amp;diff=3238"/>
		<updated>2021-02-10T15:31:50Z</updated>

		<summary type="html">&lt;p&gt;Renglbrecht: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For general information about the STM32MP15xxxx pleas refer to the official [https://wiki.st.com/stm32mpu/wiki/Main_Page Wiki]. This page describes various ways to debug the M4 on STM32MP15xxxx from ST.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Debugging modes ==&lt;br /&gt;
Production mode and Engineering mode are described [https://wiki.st.com/stm32mpu/wiki/STM32CubeMP1_Package#Introduction_to_boot_mode here] in the ST Wiki.&lt;br /&gt;
To enter Engineering mode with the Avenger96 read the chapter &amp;quot;Boot Mode&amp;quot; in the [https://wiki.dh-electronics.com/index.php/Avenger96#Documentation Getting started guide] and look for &amp;quot;NoBoot&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Debugging with STM32CubeIDE ==&lt;br /&gt;
Debugging for both modes is also described in the ST wiki [https://wiki.st.com/stm32mpu/wiki/STM32CubeIDE#Arm-C2-AE_Cortex-C2-AE-M_debug_on_STM32_MPU_device here].&lt;br /&gt;
&lt;br /&gt;
=== Without console or lan connection ===&lt;br /&gt;
If you have no console or lan connection STM32CubeIDE don&#039;t let you start the debugging session.&lt;br /&gt;
In this case it is possible to manually start th M4 on the target and start the debugging session with &amp;quot;thruJTAG/SWD (Engineering mode)&amp;quot;.&lt;br /&gt;
Therefor go to:&lt;br /&gt;
# Debug Configuration&lt;br /&gt;
# Then to the Startup tab &lt;br /&gt;
# Doppleclick your .elf file in &amp;quot;Load Image and Symbols&amp;quot;&lt;br /&gt;
# Uncheck &amp;quot;Download&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Debugging with GDB (without IDE) ==&lt;br /&gt;
https://wiki.st.com/stm32mpu/wiki/GDB#Debug_Cortex-M4_firmware_with_GDB&lt;br /&gt;
&lt;br /&gt;
== Debugging with trace output on Linux ==&lt;br /&gt;
https://wiki.st.com/stm32mpu/wiki/STM32CubeMP1_Package#Logging_in_production_mode&lt;/div&gt;</summary>
		<author><name>Renglbrecht</name></author>
	</entry>
	<entry>
		<id>https://wiki.dh-electronics.com/index.php?title=Debugging_M4_on_STM32MP15xxxx&amp;diff=3237</id>
		<title>Debugging M4 on STM32MP15xxxx</title>
		<link rel="alternate" type="text/html" href="https://wiki.dh-electronics.com/index.php?title=Debugging_M4_on_STM32MP15xxxx&amp;diff=3237"/>
		<updated>2021-02-10T15:23:37Z</updated>

		<summary type="html">&lt;p&gt;Renglbrecht: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For general information about the STM32MP15xxxx pleas refer to the official [https://wiki.st.com/stm32mpu/wiki/Main_Page Wiki]. This page describes various ways to debug the M4 on STM32MP15xxxx from ST.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Debugging modes ==&lt;br /&gt;
Production mode and Engineering mode are described [https://wiki.st.com/stm32mpu/wiki/STM32CubeMP1_Package#Introduction_to_boot_mode here] in the ST Wiki.&lt;br /&gt;
To enter Engineering mode with the Avenger96 read the chapter &amp;quot;Boot Mode&amp;quot; in the [https://wiki.dh-electronics.com/index.php/Avenger96#Documentation Getting started guide] and look for &amp;quot;NoBoot&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Debugging with STM32CubeIDE ==&lt;br /&gt;
Debugging for both modes is also described in the ST wiki [https://wiki.st.com/stm32mpu/wiki/STM32CubeIDE#Arm-C2-AE_Cortex-C2-AE-M_debug_on_STM32_MPU_device here].&lt;br /&gt;
&lt;br /&gt;
=== Without console or lan connection ===&lt;br /&gt;
If you have no console or lan connection STM32CubeIDE don&#039;t let you start the debugging session.&lt;br /&gt;
In this case it is possible to manually start th M4 on the target and start the debugging session with &amp;quot;thruJTAG/SWD (Engineering mode)&amp;quot;.&lt;br /&gt;
Therefor go to:&lt;br /&gt;
# Debug Configuration&lt;br /&gt;
# Then to the Startup tab &lt;br /&gt;
# Doppleclick your .elf file in &amp;quot;Load Image and Symbols&amp;quot;&lt;br /&gt;
# Uncheck &amp;quot;Download&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[File:STM32CubeIDE-Debug-Configuration-M4.png]]&lt;br /&gt;
&lt;br /&gt;
== Debugging with GDB (without IDE) ==&lt;br /&gt;
https://wiki.st.com/stm32mpu/wiki/GDB#Debug_Cortex-M4_firmware_with_GDB&lt;br /&gt;
&lt;br /&gt;
== Debugging with trace output on Linux ==&lt;br /&gt;
https://wiki.st.com/stm32mpu/wiki/STM32CubeMP1_Package#Logging_in_production_mode&lt;/div&gt;</summary>
		<author><name>Renglbrecht</name></author>
	</entry>
	<entry>
		<id>https://wiki.dh-electronics.com/index.php?title=File:STM32CubeIDE-Debug-Configuration-M4.png&amp;diff=3236</id>
		<title>File:STM32CubeIDE-Debug-Configuration-M4.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.dh-electronics.com/index.php?title=File:STM32CubeIDE-Debug-Configuration-M4.png&amp;diff=3236"/>
		<updated>2021-02-10T15:09:27Z</updated>

		<summary type="html">&lt;p&gt;Renglbrecht: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Renglbrecht</name></author>
	</entry>
	<entry>
		<id>https://wiki.dh-electronics.com/index.php?title=Debugging_M4_on_STM32MP15xxxx&amp;diff=3235</id>
		<title>Debugging M4 on STM32MP15xxxx</title>
		<link rel="alternate" type="text/html" href="https://wiki.dh-electronics.com/index.php?title=Debugging_M4_on_STM32MP15xxxx&amp;diff=3235"/>
		<updated>2021-02-10T14:50:28Z</updated>

		<summary type="html">&lt;p&gt;Renglbrecht: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For general information about the STM32MP15xxxx pleas refer to the official [https://wiki.st.com/stm32mpu/wiki/Main_Page Wiki]. This page describes various ways to debug the M4 on STM32MP15xxxx from ST.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Debugging modes ==&lt;br /&gt;
Production mode and Engineering mode are described [https://wiki.st.com/stm32mpu/wiki/STM32CubeMP1_Package#Introduction_to_boot_mode here] in the ST Wiki.&lt;br /&gt;
To enter Engineering mode with the Avenger96 read the chapter &amp;quot;Boot Mode&amp;quot; in the [https://wiki.dh-electronics.com/index.php/Avenger96#Documentation Getting started guide] and look for &amp;quot;NoBoot&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Debugging with STM32CubeIDE ==&lt;br /&gt;
Debugging for both modes is also described in the ST wiki [https://wiki.st.com/stm32mpu/wiki/STM32CubeIDE#Arm-C2-AE_Cortex-C2-AE-M_debug_on_STM32_MPU_device here].&lt;br /&gt;
&lt;br /&gt;
=== Without console or lan connection ===&lt;br /&gt;
If you have no console or lan connection STM32CubeIDE don&#039;t let you start the debugging session.&lt;br /&gt;
In this case it is possible to manually start th M4 on the target and start the debugging session with &amp;quot;thruJTAG/SWD (Engineering mode)&amp;quot;.&lt;br /&gt;
Therefor go to:&lt;br /&gt;
# Debug Configuration&lt;br /&gt;
# Then to the Startup tab &lt;br /&gt;
# Doppleclick your .elf file in &amp;quot;Load Image and Symbols&amp;quot;&lt;br /&gt;
# Uncheck &amp;quot;Download&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Debugging with GDB (without IDE) ==&lt;br /&gt;
https://wiki.st.com/stm32mpu/wiki/GDB#Debug_Cortex-M4_firmware_with_GDB&lt;br /&gt;
&lt;br /&gt;
== Debugging with trace output on Linux ==&lt;br /&gt;
https://wiki.st.com/stm32mpu/wiki/STM32CubeMP1_Package#Logging_in_production_mode&lt;/div&gt;</summary>
		<author><name>Renglbrecht</name></author>
	</entry>
	<entry>
		<id>https://wiki.dh-electronics.com/index.php?title=Debugging_M4_on_STM32MP15xxxx&amp;diff=3234</id>
		<title>Debugging M4 on STM32MP15xxxx</title>
		<link rel="alternate" type="text/html" href="https://wiki.dh-electronics.com/index.php?title=Debugging_M4_on_STM32MP15xxxx&amp;diff=3234"/>
		<updated>2021-02-10T12:34:33Z</updated>

		<summary type="html">&lt;p&gt;Renglbrecht: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For general information about the STM32MP15xxxx pleas refer to the official [https://wiki.st.com/stm32mpu/wiki/Main_Page Wiki]. This page describes various ways to debug the M4 on STM32MP15xxxx from ST.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Debugging modes ==&lt;br /&gt;
Production mode and Engineering mode are described [https://wiki.st.com/stm32mpu/wiki/STM32CubeMP1_Package#Introduction_to_boot_mode here] in the ST Wiki.&lt;br /&gt;
To enter Engineering mode with the Avenger96 read the chapter &amp;quot;Boot Mode&amp;quot; in the [https://wiki.dh-electronics.com/index.php/Avenger96#Documentation Getting started guide] and look for &amp;quot;NoBoot&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Debugging with STM32CubeIDE ==&lt;br /&gt;
Debugging for both modes is also described in the ST wiki [https://wiki.st.com/stm32mpu/wiki/STM32CubeIDE#Arm-C2-AE_Cortex-C2-AE-M_debug_on_STM32_MPU_device here].&lt;br /&gt;
&lt;br /&gt;
== Debugging with GDB (without IDE) ==&lt;br /&gt;
https://wiki.st.com/stm32mpu/wiki/GDB#Debug_Cortex-M4_firmware_with_GDB&lt;br /&gt;
&lt;br /&gt;
== Debugging with trace output on Linux ==&lt;/div&gt;</summary>
		<author><name>Renglbrecht</name></author>
	</entry>
	<entry>
		<id>https://wiki.dh-electronics.com/index.php?title=Debugging_M4_on_STM32MP15xxxx&amp;diff=3233</id>
		<title>Debugging M4 on STM32MP15xxxx</title>
		<link rel="alternate" type="text/html" href="https://wiki.dh-electronics.com/index.php?title=Debugging_M4_on_STM32MP15xxxx&amp;diff=3233"/>
		<updated>2021-02-09T12:53:16Z</updated>

		<summary type="html">&lt;p&gt;Renglbrecht: Created page with &amp;quot;For general information about the STM32MP15xxxx pleas refer to the official [https://wiki.st.com/stm32mpu/wiki/Main_Page Wiki]. This page describes various ways to debug the M...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For general information about the STM32MP15xxxx pleas refer to the official [https://wiki.st.com/stm32mpu/wiki/Main_Page Wiki]. This page describes various ways to debug the M4 on STM32MP15xxxx from ST.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Debugging in Engineering mode ==&lt;br /&gt;
&lt;br /&gt;
== Debugging in Production mode ==&lt;br /&gt;
&lt;br /&gt;
== Debugging with trace output on Linux ==&lt;/div&gt;</summary>
		<author><name>Renglbrecht</name></author>
	</entry>
</feed>