JTAG Error at Inconsistant Locations in Code
Hi,
It seems the same errors as ceds : http://openstm32.org/forumthread6307?topics_offset=0
To enable SWD debug on STM32F1 devices, you need to configure in the cubeMx the “Pinout -> SYS -> Debug -> Serial Wire”.
Have you done that ?
Rgds,
Laurent