Error Resuming Target Execution, please look at the backend

Go To Last Post
10 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

Atmel Studio 6.2 beta on Win 8.1

SAMR21 Xplained-pro.

Code (says it) downloads OK, but then this warning pops up.

This is unhelpful - it doesn't tell me where to find the "backend log"!

Where would it be?

Attachment(s): 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

Deleting all breakpoints seems to have cleared the error (for now) - but still none the wiser as to where to find this "backend log"!

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Backend log is at % appdata% / Atmel/..../ApplicationStatus.log

Only thing I can think of that could cause us to not be able to resume the device would be if we lost contact with the DAP in the core. I do however not really see any reason why this should happen, and why it 'fixes' itself by removing the breakpoints.

:: Morten

 

(yes, I work for Atmel, yes, I do this in my spare time, now stop sending PMs)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks for that.

If it recurs, perhaps the ApplicationStatus.log will tell something useful - now that I know where to find it!

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

It should :) Also, the diagnostic logging option in Tools|Options|Tools will dump the raw DAP commands into the log as well, so it will be easy to see why we are unable to resume at least. (off by default, as the raw commands are plentiful and big)

:: Morten

 

(yes, I work for Atmel, yes, I do this in my spare time, now stop sending PMs)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The exact same thing happened to me today when I was migrating an XMEGA256A3U project from Atmel Studio 6.2.1563 to 7.0.1417.  And like https://community.atmel.com/users/awneil mentioned, deleting the breakpoints seem to make the problem go away.  Thank you "awneil" for posting!

Field the chicken, ignore the ball.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

fsykes wrote:
The exact same thing happened to me today ...

You mean where they told you to examine your back end?  ;)  An example of a back-end log:

Image result for rear end  log

 

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

meolsen wrote:
Backend log is at % appdata% / Atmel/..../ApplicationStatus.log

Suggestion for future version of Studio: Show this filespec in the message box - with the %appdata% expanded.

 

If you want to make your users really happy when encountering this problem, add a button "Open file location" to the message box (starts a Windows explorer with the file selected. Cf. right-clicking a Windows Explorer search result, or a finished download in e.g. Google Chrome).

 

EDIT: Regardless of if the subject text was truncated by the OP or the forum software, I loved it! Lee's Back End Log was also hilarious!

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here

No guarantees, but if we don't report problems they won't get much of  a chance to be fixed! Details/discussions at link given just above.

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

Last Edited: Wed. Jul 5, 2017 - 08:17 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

JohanEkdahl wrote:
Lee's Back End Log was also hilarious!

Thanks; it was the most innocuous I could come up with.  I could NOT pass on saying something about back-end examination and what logs might be nearby.

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

sorry still not getting where it is backend file

Ujjwal Tambe