This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Have to restart Keil uVision4 after Debug session

I have a very strange problem.
After stopping the Debug session, cannot download code to flash memory anymore,
got error: "Flash Download failed - "Cortex-M4".

I have to restart Keil to be able to Download code to flash memory again.
It happens every time after Debug session. If I try to start Debug session again, Keil will crash.

It worked before,the problems started when I created new user on my windows pc and deleted old one. i have tried to reinstall Keil uVission4, but it didn't solve the problem.

Where could be the problem?

Parents
  • >>I am experienced user of uVision and have never seen something like this before.

    So contact the support desk through the usual methods. This is a user-to-user forum, not a direct customer support venue.

    "Check you have current firmware and drivers for the debugger being used."

    You still haven't indicated any details of the target or the debug pod used. Third part vendors usually have more current firmware and driver than those shipping with Keil. If the loading/unload of the DLL is causing the system to crash the app you need to make sure the correct DLLs are being loaded, not the default ones.

    Providing specific context might permit a more focused answer due to the specific interactions with specific components.

    What version of Keil uV4 specifically?
    What Target?
    What Debug Pod?
    What version of firmware and drivers used by the pod?

Reply
  • >>I am experienced user of uVision and have never seen something like this before.

    So contact the support desk through the usual methods. This is a user-to-user forum, not a direct customer support venue.

    "Check you have current firmware and drivers for the debugger being used."

    You still haven't indicated any details of the target or the debug pod used. Third part vendors usually have more current firmware and driver than those shipping with Keil. If the loading/unload of the DLL is causing the system to crash the app you need to make sure the correct DLLs are being loaded, not the default ones.

    Providing specific context might permit a more focused answer due to the specific interactions with specific components.

    What version of Keil uV4 specifically?
    What Target?
    What Debug Pod?
    What version of firmware and drivers used by the pod?

Children