Author Topic: Programming a custom Augmented MCU  (Read 1090 times)

0 Members and 1 Guest are viewing this topic.

Offline Weird FishesTopic starter

  • Full Member
  • ***
  • Posts: 60
  • Helpful? 0
Programming a custom Augmented MCU
« on: August 14, 2009, 01:44:39 PM »
I built my own augmented mcu and finally got the programming header connected and built the USBTinyISP. The ISP can connect to my Baby-O just fine, so I'm sure it's OK. It doesn't connect to my MCU (an Atmega328, BTW) though. I'm pretty sure the connections are good and the header is connected properly. I've attached the schematic I used to build it.

I'm using AVRDude on mac. The message I get is the infamous "initialization failed, rc=-1".
Is that circuit OK? I'm mostly concerned with the reset pin. I originally had a switch there, but it was put in sideways and was always connected to ground. I also added a capacitor from reset to GND, but that's not on the schematic (and it should be, so sorry :)).

Any help is greatly appreciated. Also any other help besides the schematic... Like other things I might be forgetting. I've run through all the things at the USBTiny site with no luck. My crystal is oscillating fine (gotta love the oscilloscope =P). I've run out of ideas.

Offline Weird FishesTopic starter

  • Full Member
  • ***
  • Posts: 60
  • Helpful? 0
Re: Programming a custom Augmented MCU
« Reply #1 on: August 14, 2009, 02:07:08 PM »
I'm pretty sure the connections are good and the header is connected properly.

You can cancel that. MOSI was shorted to VCC. Luckily nothing was broken.

Offline SmAsH

  • Supreme Robot
  • *****
  • Posts: 3,959
  • Helpful? 75
  • SoR's Locale Electronics Nut.
Re: Programming a custom Augmented MCU
« Reply #2 on: August 15, 2009, 04:06:40 AM »
heh, always check and double check connections with a multimeter ;)
Howdy

Offline Weird FishesTopic starter

  • Full Member
  • ***
  • Posts: 60
  • Helpful? 0
Re: Programming a custom Augmented MCU
« Reply #3 on: August 15, 2009, 09:59:25 AM »
How do you think I fixed it? :P

Offline SmAsH

  • Supreme Robot
  • *****
  • Posts: 3,959
  • Helpful? 75
  • SoR's Locale Electronics Nut.
Re: Programming a custom Augmented MCU
« Reply #4 on: August 15, 2009, 04:37:32 PM »
heh, it shows!
Howdy

Offline Weird FishesTopic starter

  • Full Member
  • ***
  • Posts: 60
  • Helpful? 0
Re: Programming a custom Augmented MCU
« Reply #5 on: August 15, 2009, 04:38:38 PM »
what shows?

Offline SmAsH

  • Supreme Robot
  • *****
  • Posts: 3,959
  • Helpful? 75
  • SoR's Locale Electronics Nut.
Re: Programming a custom Augmented MCU
« Reply #6 on: August 15, 2009, 04:40:00 PM »
that you should always use a multimeter if a problem occurs.
Howdy

Offline Weird FishesTopic starter

  • Full Member
  • ***
  • Posts: 60
  • Helpful? 0
Re: Programming a custom Augmented MCU
« Reply #7 on: August 15, 2009, 06:02:51 PM »
Well duh. ;D

I figured I must've done something wrong, so I checked a bunch of stuff with the multimeter. I also checked a bunch of stuff with my oscilloscope. How I missed the short, I don't know. It was quite a strange short, I'm still not quite sure how I even fixed it. haha :-\

Offline galannthegreat

  • Supreme Robot
  • *****
  • Posts: 615
  • Helpful? 4
  • Blue-Lensed Blue LEDs?! What?! Impossible!!
Re: Programming a custom Augmented MCU
« Reply #8 on: August 16, 2009, 08:42:44 PM »
Good on ya for finding it before the circuit was wrecked... Just a little advice, sometimes you can mistake solder bridges for flux trails (as being in this case flux wouldn't be a problem), so I'd recommend you spray some electronic cleaner/WD-40 (wipe off after) on so it can get rid of the excess flux, that is if you are having this issue. It works for me! ;D
Kurt

 


Get Your Ad Here

data_list