atmega32c1 debugwire problem

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

hi there,

i have made a demo pcb for atmega32c1.
i am using avr studio 4.14 and jtagice mkii.

i haven't enabled yet debugwire because i can not get connected through isp with the device (Entering programming mode.. FAILED!).

i am attaching the schematic.

any ideas?

thanks

Attachment(s): 

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

para 25.7 Serial Programming Pin Mapping

shows

MOSI_A PD3 I Serial Data in
MISO_A PD2 O Serial Data out
SCK_A  PD4 I Serial Clock

So you have got the wrong ISP pin for SCK.

You will need to remove the 100nF from the !RESET line before you can use debugWire.

David.

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

Thanks David that was it.

wrong sck...