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
  • Reinstalling seems to misunderstand the underlying issue.

    Crashing is not the same as access to a target being locked out.

    The debugger can connect with the target, perhaps you left it in a broken state, or it entered some low power state where such connectivity isn't possible.

    Cycle the power on the target, and ponder what you're doing to lock out access or if there is something specific with your design/implementation.

    Hard to gauge wtf you're doing and on what from the description.

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

    uV4 is obsolete consider using a more current version

Reply
  • Reinstalling seems to misunderstand the underlying issue.

    Crashing is not the same as access to a target being locked out.

    The debugger can connect with the target, perhaps you left it in a broken state, or it entered some low power state where such connectivity isn't possible.

    Cycle the power on the target, and ponder what you're doing to lock out access or if there is something specific with your design/implementation.

    Hard to gauge wtf you're doing and on what from the description.

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

    uV4 is obsolete consider using a more current version

Children