SWD option gone
-in project explorer (left) right click on project > Debug As > Ac6 STM32 C++ Application
- if this doesn’t work, check the following:
- in project explorer (left) right click project > Debug As > Debug Configurations
- goto second tab ‘Debugger’
- Check that at Configuration Script the radio button ‘User Defined’ is selected
- the scriptfile path is ‘${ProjDirPath}/application_Debug.cfg’
- Press Debug to test this. Probably this will not work (Eclipse Bug).
- in project explorer (left) find this file, right click, open with, Text Editor
- on line 10, it should be
transport select “hla_swd”
- unfortunately Eclipse overwrites this with “hla_jtag” the first 2 times. You can see this when you check the git-changes. It should be ‘hla_swd’
- Open Debug Configurations, and check again that Configuration script is ‘User Defined’.
- Press Debug to test this again.
- Check the file again, it should now be ‘hla_swd’. If you debug this now, it should work.