how can i rectify this?
Is it of hardware issue or any library functions is missing?
can any one please help
also look at messages in the uVision 'Output' window ...
Indeed, look at the specific message in the pop-up describing what the initial failure was. For example not finding the target, not having a flash algorithm for the memory in question, etc.
R.Kopsch said:- Debug Adapter
If it's a 3rd-party adaptor (eg, J-Link, ST-Link), they usually come with their own utilities. Your first step should be to use those utilities to see if the adaptor on its own is working.
One reason could be that the flash algorithm is not correctly set as per your target device in Options for Target -> Utilities -> SettingsSelect the correct algo and try again.
It is required to know more details, like:
- MDK version
- Target selected
- Debug Adapter
Probably for your target there are example projects provided by MDK's Pack Installer that demonstrate matching Flash configuration settings:
http://www.keil.com/support/man/docs/uv4/uv4_ca_packinstaller.htm
View all questions in Keil forum