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

 

  • 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."

"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]