Hi, we are trialling Keil uVision MDK-ARM compiler and IDE to see
if it is any better tha Atollic.
Te answer at present is a resounding no. We cannot get ST-LINK to
work at all now matter what we do. In the debug page, the ST-LINK
devcie is found with the correct serial number but there is always a
ST-LINK USB Communication error shown. We have tried searching for
this error but have found no fix yet, but have wasted quite a few
hours on this.
Any help would be much appreciated.
Have you tested using the ST-Link Utility?
ie, have you determined whether this is a fundamental comms issue,
or a Keil issue?
Got several H7 boards and not had issues. Any other error or info,
like it can't find the AXF file, or there is no Flash Algorithm?
On the debugger side SWD mode is selected, connecting under
The ST-Link interface works well in Atollic. I tried to download
the ST-Lin utility but this website seems out of action.
It does show the ST-Link adapter on the left but on the right in
the SWDIO windows it says ST-Link USB Communications Error
Here are the settings: esdn.com.au/.../uVision.bmp
No, there are no errors - just one dialog box saying ST-Link USB
communication error. IAR also does not work. Atollic works well.
Try changing from
Connect : Normal
Connect : under Reset
... but this website seems out of action
Seems OK from here - worth re-trying ...
Yes, tried that. Here is the output below. Starting to think this
is all to difficult.
Error: Flash Download failed - Target DLL has been cancelled
Flash Load finished at 16:46:42
OK, all good now. Managed to download the ST-LInk Utility v4 and
this suggested a firmware upgrade for ST-LINk which now works well.
Thanks for your help.
Current ST-Link version is now: V2.J29.M18
Update - related:
UVISION DEBUGGER: ST-LINK USB Communication Errorhttps://developer.arm.com/documentation/ka003127/latest/