FIRST: Are you using a Minipov3 from a kit or from DIY? Make sure you mention that in your post:
Adafruit KIT
SECOND: What OS and computer are you using?
Windows 7 and/or Ubunut 9.10
THIRD: Are you using a USB adapter or a serial port?
USB Adapter from Adafruit
FOURTH: Did the minipov light up at all when you turned it on?
Yes, sequencing.
FIFTH: What -specifically- isn't working?
Can't get the stupid serial port to work under Windows, so I tried Linux.
Under ubuntu 9.10, the build instructions appear to be slightly out of date.
So, I punted for now, I tried programming from breadboard with my ISP header on wires.
Still not working, what am I doing wrong?
SIXTH: Post screenshots (NOT copy&paste) of what is happening
SEVENTH: Post clear, in-focus, not-blurry, easy to see photos of the top and bottom of the kit. If the photos are blurry, unfocused, and difficult to see they will only make it harder to debug what is going on
Take a look above and tell me what I did that was stupid?
ISP 2313
1 MISO 18
2 VCC 20
3 SCK 19
4 MOSI 17
5 RESET 1
6 GRND 10
I read that perhaps the Reset was backwards on the 2313,
So in the version pictured, RESET is non-connect,
and I tied a 10k resistor from Vcc to Reset.
Programmer is a usbtiny from Adafruit,
has worked well in programming Tiny13's with this header,
So shouldn't this be the same?
avrdude -p t2313 -c usbtiny
I get the dreaded -1 error.
Yup, trouble programming Pov3
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
- dataman
- Posts: 98
- Joined: Wed May 20, 2009 7:03 pm
Re: Yup, trouble programming Pov3
Ok, let's try that again.
I seem to be having problem with the Adafruit USB Serial Port adapter under Windows 7.
While I'm working out that problem, I decided to directly program the ATTiny2313-10pu from the MiniPOV3 directly on breadboard.
This is the hookup I used:
Hooking up an adafruit usbtiny to the ISP connector,
I then attempt:
avrdude -c usbtiny -p t2313
And receive the error message:
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
I even disconnected the Reset line,
And tied Reset to high using a 10k resistor tied to VCC.
Otherwise, the chip sequences lights when plugged into the minipov3.
I seem to be having problem with the Adafruit USB Serial Port adapter under Windows 7.
While I'm working out that problem, I decided to directly program the ATTiny2313-10pu from the MiniPOV3 directly on breadboard.
This is the hookup I used:
Hooking up an adafruit usbtiny to the ISP connector,
I then attempt:
avrdude -c usbtiny -p t2313
And receive the error message:
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
I even disconnected the Reset line,
And tied Reset to high using a 10k resistor tied to VCC.
Otherwise, the chip sequences lights when plugged into the minipov3.
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: Yup, trouble programming Pov3
maybe check your wiring in case its flipped? make sure you're powering the chip, etc?
-
- Posts: 1645
- Joined: Sat Nov 10, 2007 12:59 am
Re: Yup, trouble programming Pov3
that's a good way to keep it from programming. don't you have to bring that line low to put the chip in reset for programming.dataman wrote:I even disconnected the Reset line,
And tied Reset to high using a 10k resistor tied to VCC.
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: Yup, trouble programming Pov3
ya but in theory the programmer pulls it down
- dataman
- Posts: 98
- Joined: Wed May 20, 2009 7:03 pm
Re: Yup, trouble programming Pov3
Well, I tried flipping MISO and MOSI,
That didn't work.
I tried reset connected, reset low, reset high, reset high low.
Still nada.
The 10k should act as a pull up with reset connected.
This is the 2313-10pu that comes with the Pov3 Kit.
Is it possible my frequency is wrong? -G I think?
Well, office puter has a com port built in,
Going to load avr studio at work and see what happens.
That didn't work.
I tried reset connected, reset low, reset high, reset high low.
Still nada.
The 10k should act as a pull up with reset connected.
This is the 2313-10pu that comes with the Pov3 Kit.
Is it possible my frequency is wrong? -G I think?
Well, office puter has a com port built in,
Going to load avr studio at work and see what happens.
Please be positive and constructive with your questions and comments.