SamD11xplained pro not showing EDBG programmign tool in Atmel studio 7. Backend agent crashes when pluggin in device.

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

I just purchased a SAMD11 xplained pro board.

It's installed, drivers work, edbg data driver installed cleanly. as i can see in device manager.

As soon as i plug in the board it crashes the backend agent..

I cant see any tool to program with I should see edbg debug programmer. its not there.

Googling tells me that atmel studio has a backend agent that will read the board and pull up the programming tool.

I've reinstalled atmel studio 7. (Version: 7.0.2397 - )

nothing. backend agent still crashes when plugged in. if i start atmel studio with the board plugged in, the agent loads crashed.

yes I am plugin into the debug USB not the target usb.
 

Why oh why is this so difficult.

Last Edited: Thu. May 7, 2020 - 12:41 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Out of interest - do you have MPLABX installed too?

(I think there is a shared USB-layer... :/ )

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

Could you give this a try: https://s3-us-west-2.amazonaws.c...?

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

I have just hit the same exact issue. If I start Atmel Studio with nothing connected I can see the simulator.
If I plug my JtagIce it shows up.

As soon as I plug my SAM4S Xplained Pro (EDBG) the backend crashes and everything else disappears too.

 

Has anyone gotten to a workaround?

 

This is smelling bug to me.

 

Can we roll back to previous versions of Atmel Studio?

 

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

I found out that at the same time you can't have enabled both COM & EDBG ports in Windows. It doesn't work and it stop the backend agent. Disable EDBG driver and you will be fine. I found that I can use EDBG driver with COM together when I need to use onboard Current Measurement System witch start the Data Visualiser automatically.

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

Kevil wrote:
you can't have enabled both COM & EDBG ports in Windows

No, that's not true.

 

I have certainly used COM and EDBG together.

 

You must have something else going on.

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

Do you mean COM port, or the Data Gateway interface?

I've had problems where disabling the latter "fixes" a unfindable progranming interface.

I *think* that the DGI is separate from the CDC interface, ie you'll normally get three USB things that show up:

 

EDBG Data Gateway

EDBG Virual Com Port

USB Input Device (HID-complian vendor defined device)

 

The Data Gateway (which apparently does SPI, I2C, etc) is the one I've disabled and had better luck...

 

 

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

I've not had problems using all 3 together.

 

I *think* that the DGI is separate from the CDC interface

I think you're right

 

apparently does SPI, I2C, etc

yes, it does.

 

 

 

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

awneil wrote:
I've not had problems using all 3 together.

That's not denying that problems do arise!

 

frown

 

My point (also in #6)  is that there's no inherent limitation on using these things together 

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

Have you tried disconnecting all other USB devices?

 

See: https://www.avrfreaks.net/commen... - turns out there was a conflict with the keyboard!

 

EDIT

 

Which goes back to this: https://www.avrfreaks.net/commen...

 

Also: https://www.avrfreaks.net/commen...

 

And: https://www.avrfreaks.net/commen...

 

and more in that thread.

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...
Last Edited: Fri. May 22, 2020 - 10:32 PM