I have an eBay ST-LINK V2 with an STM8S003F3P development board. Following the tutorial I have managed to get the project compiled without errors and set up the debugger options as instructed with the SWIM ST-LINK option. However when I attempt to start the debugger I get the Target Selection dialog which is fine but then the following error.
Starting debug session...
-> Emulator reset (usb://usb)...
** Connection error (usb://usb): gdi-error : can't access configuration database
-> Failed to connect target.
The tutorial did not mention I had to include the header file so is there a database that I am supposed to find. Anybody know where it is or what it is called?