Newbie: custom programming tool definition

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

Good day to all,

 

Im new to Atmel Studio and bough an Atmel SAM V71 Explained Ultra evaluation board and installed the Atmel Studio (version 7.0.1188) on my Windows Machine.

 

I installed the EDBG Virtual Com port driver and when I go to the Tools->Device Programming (select the EDBG tool)->Memories i can program and verify that the image has been successfully programmed into the board flash.

 

However, when I try to debug or run an application, the studio complains about the need to select a programmer. It opens a new tab and in the Tool->"Selected debugger/programmer" I select the "Custom Programming Tool" (which is the only option available). When I try to run the application again it complains that the custom programming tool has not been defined. My question is: what should I place in the "command" of the custom programming tool? Or is there a default programming tool that somehow Atmel Studio is not giving me?

 

I do not have an installed programmer and was hoping that Atmel Studio provided this programmer.

 

Thank you in advance and kind regards,

Manuel

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

However, when I try to debug or run an application, the studio complains about the need to select a programmer. It opens a new tab and in the Tool->"Selected debugger/programmer" I select the "Custom Programming Tool" (which is the only option available). 

This basically means that you have selected the wrong device in the project. The EDBG reports to Atmel Studio what device is on the board, so that Atmel Studio can filter out EDBGs that do not 'fit' with the project.

:: 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 meolsen for the reply.

 

I don't know if it helps, but when I do the "Tools->Device Programming" and select the EDBG tool the Atmel Studio automatically selects the ATSAMV71Q21B device (which is correct) in the SWD interface.

 

I've tried to create a new project for a ATMEL Start web and when I exported the project and opened it in Atmel Studio it complained with the following error:

 

"Following component versions are not installed in your PC.

 

 - Name: Device Startup, Version: 2.1.0 (Latest installed: 2.0.0)

 

Do you want to create the project with the Latest installed version of the above component(s)?"

 

I've tried to find a place where to download the new version of the Device Startup but didn't find any. Is it an option inside the Atmel Studio?

Is this issue related to problem you said before? (note: i did not select the device in the project, it appears to be selected automatically)

 

Kind regards,

Manuel

 

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

Tools->device pack manager is used to update.

:: 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 again for the reply,

I've been searching for the device pack manager option but could not find it.

I found the link that shows the option you are referring to:

http://www.atmel.com/webdoc/GUID...

 

but my "Tools" only has the following options:

 

 

Do you know how to make this option available?

 

Kind regards,

Manuel

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

Nevermind, I try to run with admin privileges and the option now appears.

Still have to figure out how to update but one step at a time

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

Tools->Select Profile->Choose Advanced

:: 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

Were you able to the startup code version figured out?  I am having the same trouble.

 

Thanks,

Kevin

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

I ended up using the atprogram application to program the board. Have not used any debugger though.

 

Kind regards,

Manuel

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

 

 

Hi All, 

I am working on ATSAMV71Q21B board and I finding issue in debugging the example program.

 

when I try to debug or run an application, the studio complains about the need to select a programmer. It opens a new tab and in the Tool->"Selected debugger/programmer" I select the "Custom Programming Tool" (which is the only option available). When I try to run the application again it complains that the custom programming tool has not been defined.

 

How to resolve this issue ? Why the device is detected in Programming /Debugger mode ? I am using windows 10 PC.

 

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

the studio complains about the need to select a programmer.

So which programmer or debugger do you have?

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

Hi JS,

I appreciate your quick response. I am using the ATSAMV71-XULT (B) eval kit which comes with a fully integrated debugger . So I connect an USB (micro)cable to Debug USB port in the Board to my PC. So the problem is why the device is not getting detected  for debugging the example code.

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

Solved

 

Had also the ATSAMV7-XULT and got the same problem  ... selected ATSAMV71Q21B instead of the other ATSAMV71Q that did not work.

 

Best regards

Jørgen