Build proper schematics for ISP and errors explain

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

I start to use Atmel-ICE and I get an error:  "Read voltage -5,3v is outside selected devices voltage" simple error so I check my pins for proper connection -> all good. By schematic:

But error remain. So I figured there is some troubles this my circuit board. Power switch can be appear on GND-RESET-VCC connections. My circuit:

All other pins (MOSI, MISO SCK, Chip VCC, Chip GND) have no any circuit connections between each other.

I tested Atmel_ICE with AtmelStudio7.0 on my Arduino-UNO R3...all working good and I can read device and re-wrire program. But on my other boards (my own desine) error remain. I look into Arduino-UNO R3 electric schematics do not have any such circuits line on img. Probably img GND-RESET-VCC schematics musk be changed for Atmel-ICE. Any suggestions??)

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

 

Interesting problem.

When I've seen the "... voltage is outside..." error it has usually been because the voltage was too low, because the board wasn't powered.

I can't recall ever having seen an overvoltage error.

That said, most of the old chips, (I'm not familiar with the newer series), were spec'd for Vcc to 5.5 V as a normal operating range, so 5.3 V should be fine.

The programming header diagram you have posted is as if one had a male header on the PCB, and one was looking downwards onto the top of the male header.

One could then attach a "normal" Atmel/MC 6-pin programming (female) cable to the header.

Make sure you have the programming connections correct.

The 10K resistor and 0.1 uF cap on the Reset\ line are pretty common, and most programmers can work them in place without difficulty.  Additionally, even it it was the problem, I wouldn't expect an overvoltage error.  That said, you could certainly try removing the cap and see if it made any difference.

 

The fact that you can program an Arduino  is good, as it shows that your Studio installation and connection to the ICE are all good, and working.  That points back to your own custom PCB as the likely source of the problem.

 

Can you post a full, complete, schematic of your PCB, and a good photo of the board?

 

JC

 

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

Minus 5.3v???

 

My guess is you have the connector on upside down, when you laid out your pcb!

 

Show some pics of your pcb, with and without the ICE connected.

 

Jim

 

Click Link: Get Free Stock: Retire early! PM for strategy

share.robinhood.com/jamesc3274

 

 

 

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

Now I get error https://www.avrfreaks.net/forum/...

I guess problem in this  GND-RESET-VCC schematic. Now I compare my design wit Arduino-UNO R3 RESET schematic design:

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

I guess all  "Read voltage -5,3v is outside selected devices voltage"  with Atmel-ICE becouse peaope do not connect correctly ISP pins. Pins on img I upload is down view on board: 

Peaple connect ISP by looking on connector -> so it bocome mirror.

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

As I said, the 6-Pin ISP connector image in Post #1 is correct, as explained in Post #2.

 

The Uno PCB in Post #5 follows this "standard", and is correct.

 

Your custom PCB has to match the image in Post #1, and the PCB in Post #5, for the standard programmer connector to work.

 

JC

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

There is no capacitor between RESET and GND in Arduino-UNO R3.

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

The 10K resistor and 0.1 uF cap on the Reset\ line are pretty common, and most programmers can work them in place without difficulty.  Additionally, even it it was the problem, I wouldn't expect an overvoltage error.  That said, you could certainly try removing the cap and see if it made any difference.

JC 

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

As requested in prior posts show your PCB in a picture, and/or post a picture of your PCB layout.  If you are getting -5.3vdc it means that your GND and Vcc/Vtg pins are reversed.  One test you could do is solder your ISP pins to the other side of your PCB and connect the ICE to that and see if the problem goes away.

 

JIm

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"If you want a career with a known path - become an undertaker. Dead people don't sue!" - Kartman

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB user