Re: Re: Re: Re: Can't enter to debug session Posted by kristapsdreija on 2015-03-30 12:16 The same problem here, only with the F05-Nucleo!
Posted by harsha on 2016-04-24 14:30 I also got the same problem. I am using stm32f4Discovery board(stm32f407vg) which is having ST-Link V2(not ST-link V2-1) Flasher/Debugger. But the Debugger configuration in eclipse is uisng ST-Linkv2-1 openocd config in it's config file. I just chaned the openocd config file in plugins directory(file path: /plugins/fr.ac6.mcu.debug_1.8.0.201603291114/resources/openocd/scripts/st_board/stm32f407g_disc1.cfg). I modified "source find interface/stlink-v2-1.cfg" to "source find interface/stlink-v2.cfg" in the above file. After this change I am able to connect to the board and everything is fine. -Harsha
Posted by dautrevaux on 2016-04-24 19:27 Hi Harsha, Be careful, looking at your message it seems that you are using an stm32f4discovery board, which indeed includes an STLink-V1 probe, but the script you use is the one for the stm32f407g-disc1, which use the same chip, but includes an STLink-V2-1... That mean that you probably select the wrong board when creating your project... You should probably delete (do not click "Delete content on disk") and re-create your project (in the same directory) using the correct board, then port the changes you may have done to the project properties; changes to source files (edits, adds, etc.) will be kept automatically. Hope this helps, Bernard (Ac6)