In this tutorial we will see errors discovered by playing with the IDE uVision4 MDK-Lite.
Of course detailed errors and solutions are provided and will be added if more errors would be found.
Simple and easy, so let's get started.
If, when you tried to download code to flash memory, you encountered this error:
Unknow target connected
from the Debugger - Cortex-M Error popup.
And just after a new popup saying:
Error: Flash Download failed - Target DLL has been cancelled
Then let's see how to resolve it.
Open your uVision4 MDK-Lite and go to > Flash > Configure Flash Tools... > Utilities > Use Target Driver for Flash Programming > Select ST-Link Debugger > Settings > Debug > Port > SW > Click OK.
In the Build Output you have:
No Algorithm found for: 08000000H - 08000733H
To remove this error, let's say to uVsion4 where is our programming algorithm:
Open the IDE then > Flash > Configure Flash Tools... > Utilities > Settings > Flash Download > Programming Algorithm > Click the Add button > Select your processor flash > Add > OK.
Once clicked on Start/Stop Debug Session, several popups ST-LINKIII-KEIL appear with the successive following messages:
Unknown target connected
Flash programming error
Error while attempting to write 1844 bytes to 0x08000000
Unknown target connected
And finally in the Command window we have this error:
*** error 57: illegal address (0x08000000)
To resolve it, go out from the debugger and then click Flash > Configure Flash Tools... > Debug > On the right side, select Use ST-Link (be careful to not select the ST-Link Deprecated version) > Settings > Debug > Port > SW > OK > OK.
A great place to be.
Comments
yukisato (not verified)
Sunday, September 22, 2013 - 2:50pm
Permalink
Thank you! This post helped
Thank you! This post helped me.
quecg2 (not verified)
Saturday, February 15, 2014 - 3:15am
Permalink
Wow ... after 2 hours, I
Wow ... after 2 hours, I finally found this perfect article !
You saved my life :)
Anonymous (not verified)
Monday, July 7, 2014 - 12:54am
Permalink
Thank you!
Thank you!
Medasculo (not verified)
Wednesday, May 27, 2015 - 10:54pm
Permalink
Thanks a lot for these tips.
Thanks a lot for these tips. Really help me a lot. Keep the great job.
James (not verified)
Thursday, June 25, 2015 - 6:24pm
Permalink
Thanks so much!
Thanks so much!
Joey (not verified)
Tuesday, July 28, 2015 - 11:05am
Permalink
Thank you, the solution for
Thank you, the solution for 'Unknown target connected' helped me out :-)
Akshay (not verified)
Thursday, September 17, 2015 - 5:39am
Permalink
Thanks a lot it works
Thanks a lot it works flawlessly
Jose Laruta (not verified)
Monday, October 5, 2015 - 7:13pm
Permalink
Thanks a lot!
Thanks a lot!
Farook Shah (not verified)
Wednesday, March 8, 2017 - 8:33am
Permalink
Thanks a ton, saved my day.
Thanks a ton, saved my day.
dheeraj (not verified)
Tuesday, September 10, 2019 - 11:14am
Permalink
No target connected show in
No target connected show in keil U vision?
Add new comment