0
\$\begingroup\$

I have a custom board based on the ATmega328. I want to program it usign Atmel ICE Basic ISP interface, to make sure that I'm connected to the target I've tried to read it ID, I get the following : enter image description here

Since uC isn't programmed before, and I'm using only Atmel Stuff to that I don't know where the problem is, and how may solve it. the uC is not wired to anything beside the Pull-up resistor and the and a capacitor as followed :

enter image description here

any idea how may solve this ?

thanks in advance !

Update

uC schematic

enter image description here

the programer is connected to the SPI

asked Jan 23, 2017 at 21:13
\$\endgroup\$
10
  • \$\begingroup\$ Atmel ICE does not provide power to the MCU, you have to power it externally. The Vcc pin only serves to read target voltage. How are you powering your Atmega? \$\endgroup\$ Commented Jan 23, 2017 at 21:23
  • \$\begingroup\$ yes I did I've tried 3.3V which I need and 5V too, but didn't made a difference ! \$\endgroup\$ Commented Jan 23, 2017 at 21:25
  • \$\begingroup\$ Then I guess its time to post the full schematic and pics of what you assembled. P.s.: I think the DTR cap has to be in the order of 100nF, not 100pF. \$\endgroup\$ Commented Jan 23, 2017 at 21:27
  • \$\begingroup\$ I can do it but I havn't soldered anything beside the RESET stuff \$\endgroup\$ Commented Jan 23, 2017 at 21:28
  • \$\begingroup\$ Maybe check if your RST button is in the right orientation and not pulling RST to GND? Can't do much more than guess with the info given. \$\endgroup\$ Commented Jan 23, 2017 at 21:29

1 Answer 1

2
\$\begingroup\$

I think the pull-up resistor to your reset pin is connected on the wrong side of the DTR capacitor.

You'd probably want to connect it as below, although I didn't know about DTR until now...

enter image description here

answered Jan 23, 2017 at 22:41
\$\endgroup\$
2
  • 1
    \$\begingroup\$ no problem, i've experience many similar problems when using avrs. Good luck with your circuit ;) \$\endgroup\$ Commented Jan 23, 2017 at 22:43
  • \$\begingroup\$ Made a quick correction to the circuit, the reset switch also needs to be on the side of the reset pin (if you want to be able to use it). \$\endgroup\$ Commented Jan 23, 2017 at 22:47

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.