Atmel ICE power

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

When using atmel ice do I need tor provide the +5v and gnd to the 6 pin debug connector or does it come from the debugger?

 

I have it working with an Arduino , now I'm trying in on my custom board.

 

Thanks

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

The debugger does not provide power to the target.

 

The VTG input samples the power from the target.

 

http://www.atmel.com/Images/Atmel-42330-Atmel-ICE_UserGuide.pdf

 

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

Should have checke the manual 1st - thanks

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

Debug is now working - number of things were wrong.

 

- vcc and gnd not connected between spi connector and 328 chip - duh

- removed 1k and cap from reset line

-added 5k on reset to gnd

-non standard header connections on my board required adapter cable - built incorrectly

 

No partial credit in engineering everything has to be right!

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

mikey1 wrote:
No partial credit in engineering ...
There is ... no parts were smoked!

Well done!

Brain farts allowed.

 

"Dare to be naïve." - Buckminster Fuller

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

-added 5k on reset to gnd

Not likely needed.  debugWire is an 'open-drain' protocol, so it relies on the pull-up internal to the target to lift /RESET high when not driven low.  Your pulldown can only interfere with that.

"Experience is what enables you to recognise a mistake the second time you make it."

"Good judgement comes from experience.  Experience comes from bad judgement."

"Wisdom is always wont to arrive late, and to be a little approximate on first possession."

"When you hear hoofbeats, think horses, not unicorns."

"Fast.  Cheap.  Good.  Pick two."

"Read a lot.  Write a lot."

"We see a lot of arses on handlebars around here." - [J Ekdahl]