Hi guys,
I have been using the keil mdk-arm v4.6 to develop code for the ST Inemo-M1 discovery board. For my projects I used the ST-LINK debugger.
I then downloaded the newest version of the keil mdk-arm v5. (In the process, I uninstalled the other (v4.6) keil I had as it was functioning sort of erratically).
I re-compiled a project succesfully with the new version but when I try to load the program to flash it says: 'No ST-Link detected'; then 'Error: Flash download failed - Target DLL has been cancelled'. I uninstalled the ST-link utility and the ST-LINK driver and installed them back again but to no avail.
I then tried using the ST-LINK utility directly to load the program and it works without a hitch.
I did do all the proper settings for target including the utility debug and utility settings as well as the flash programming algorithm..
Any ideas as to what I can do or try?
regards
On-board applications of the ST-LINK are SWD not JTAG. Only the stand-alone ST-LINK do JTAG, but they are not particularly robust or commercial devices.
Make sure you have current firmware, and drivers.