AC6 OpenOCD not working with STM32CubeMX import
No, i’m not in Debug perspective but in C++ perspective. When AC6 start a debug session with everything ok, he switch automaticaly in debug perspective
Just do the folowing steps:
1°) Start AC6 workbench
2°) Go in C++ perspective, if it is not the curent one.
3°) The window on the left is normaly the ‘Project Explorer’ window.
Down, just next the explorer windows, you have a windows with tabs called ‘problems’, ‘Task’, ‘Console’.....and one tab called ‘Debug’.
Drag this tab just next the ‘explorer window’ and select it. At this time nothing is displayed on this window.
4°) On the tool bar, you have a symbol that is the same as the ‘Debug’ window icon.
Click on it and a pull-down menu apear where you can see these lines:
(Your Project name) Debug (with the icon of AC6 workbench) (in my case it is: STM32-E407 Debug )
-------------
Debug as...
Debug Configurations
Organize Favorites
If you have no AC6 debug configuration aviable you have to create it by clicking on ‘Debug configurations’
5°) Click on : ” ‘Your Project name’ Debug” (with the icon of AC6 workbench in front of this text).
This will start a Debug session with the native AC6 debug confguration and look at the ‘Debug’ windows, just next the ‘Project Explorer’ windows on the left of the workspace
When the debug session start you will see on this Debug window an line with an arrow (in my case: STM32-E407 Debug (AC6 STM32 Debugging)
Click on the arrow to expand the three, yet when you have started the debug session.
The 2 images included on this post show you what will be displayed on the ‘Debug window’
file:///home/francois/Images/AC6%20Debug%20window%20process%20runing.png
file:///home/francois/Images/AC6%20Debug%20window%20process%20terminated.png


