I think I fried a 32E5

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

It seems to be running its program, the NRF module is still sending packets. Most of the rest of the functionality is gone. The Atmel ICE can read the signature, but is unable to program it. Doesn't seem to reset when you pull the reset pin low.

Alas. No P*C users nearby to flick it on.

If you don't know my whole story, keep your mouth shut.

If you know my whole story, you're an accomplice. Keep your mouth shut. 

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

Did you inadvertently mess with the External Reset Fuse?

Have you tried to program it in PDI mode with an AVR ISP mkII?

JC

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

I always use PDI.

I think I accidentally shorted several pins to 5v.

I was playing with the BOD, so before I rip it off the board, I'll try disabling the BOD.

If you don't know my whole story, keep your mouth shut.

If you know my whole story, you're an accomplice. Keep your mouth shut. 

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

The E5 only has PDI IIRC.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

Gadget works better with new chip.

If you don't know my whole story, keep your mouth shut.

If you know my whole story, you're an accomplice. Keep your mouth shut. 

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

You would work better if you used a 5 volt tolerant chip. ;)

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

Quote:
Atmel ICE

Quote:
The E5 only has PDI IIRC.

Yeah. I thought of that once you wrote it...

I get confused easily with all the Threads recently about JTAG programmers...

JC

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

hehe I've never used JTAG.

If you don't know my whole story, keep your mouth shut.

If you know my whole story, you're an accomplice. Keep your mouth shut. 

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

JTAG is more fun. Ten connections to screw up instead of four.

I have a suspicion that only the big chips with more pins than you can count get the JTAG thing. What is the advantage of JTAG anyway?

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

Quote:
Ten connections to screw up instead of four.

JTAG uses only 4 wires (plus power).
Quote:
I have a suspicion that only the big chips with more pins than you can count get the JTAG thing.

Hard to believe but LPC812 has JTAG (and SWD)..
Quote:
What is the advantage of JTAG anyway?

Daisy-chaining, boundary scan, standardization.
tpcbm

No RSTDISBL, no fun!

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

Thanks.

Why the ten pin connector on my JTAGICE2? If JTAG and PDI used totally different pins, and I don't think they do, eight would suffice. Maybe Atmel got a good deal on 10 pin connectors?

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

Quote:
Why the ten pin connector on my JTAGICE2?

I do not know. My JTAGICE has "four pin connector".
Quote:
Maybe Atmel got a good deal on 10 pin connectors?

I do not think JTAG connector layout that is used for AVR8 uses some reputable standard. Most likely this particular layout was invented by Atmel.
twzfc

No RSTDISBL, no fun!

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

Why do I use 3v parts? Pure orneriness!

If you don't know my whole story, keep your mouth shut.

If you know my whole story, you're an accomplice. Keep your mouth shut. 

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

My JTAGICE mk ii not only has ten pins, it has names for each one. Maybe that is why I was able to buy it from Arrow Electronics for half price. I thought it was because it contained lead. Damn, I've been wearing my hazmat suit whenever I use it!

Attachment(s): 

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

This connector has a bunch of signals that are not very useful for JTAGing an AVR. I do not write "useless" only because I can imagine some peculiar scenario where this could be used, if not on AVR8 then perhaps on AVR32.
Anyway: GND is a must but VTref is not (but convenient if present and perhaps when voltage variations in a design are wide). None of resets are necessary. JTAG chain has a command that does same thing as nTRST pin (this pin is not available on any AVR8s anyway). The nSRST is just tied to nRESET IO so that the dongle can drive it low on demand or sense if a Reset button was pressed. I do not know your dongle but mine ignores any reset events - be it EXTRF, BORF, WDRF and does not treat such events in any special way. Even if it could - AVRs cannot control nRESET so for example even if WDRF is triggered, nRESET stays unchanged (in contrast to STM32 that both senses and drives nRESET actively).

And there is sometimes an adaptive clocking wire available that allows run-time varying TCK (take a look at LPC2106).
sv4ly

No RSTDISBL, no fun!

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

Quote:
None of resets are necessary.
Not sure about that, AFAIK it's the only way to recover a chip whose JTAG fuse is turned off in run mode (which I do frequently to use the pins).

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly