I'm using the usbtiny programmer with my fuzebox. I'm programming it from a mac laptop, using the command:
avrdude -c usbtiny -p atmega644 -U flash:w:megatris.hex
and it returns with an initialization error rc = -1
do you know what may be wrong? I have colorbars and everything (and I really feel like playing some megatris...)
Thanks for your help!!
Anthony
Can't get avrdude to program my fuzebox....
Moderator: adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 12
- Joined: Sun Dec 28, 2008 3:11 am
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: Can't get avrdude to program my fuzebox....
is the fuzebox powered? do you have the cable in the right way? try the other cable, and also check that its in the right way
-
- Posts: 12
- Joined: Sun Dec 28, 2008 3:11 am
Re: Can't get avrdude to program my fuzebox....
yes i have already tried both of these
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: Can't get avrdude to program my fuzebox....
hmm, does -anything- happen? does the fuzebox reset or anything?
also, just to be sure, you can program -other- chips, right?
also, just to be sure, you can program -other- chips, right?
-
- Posts: 12
- Joined: Sun Dec 28, 2008 3:11 am
Re: Can't get avrdude to program my fuzebox....
Actually, I can't program other chips....
Have any Ideas of what might be wrong with the programmer?
Thanks
Have any Ideas of what might be wrong with the programmer?
Thanks
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: Can't get avrdude to program my fuzebox....
umm, you should probably post about that in the usbtiny forum
-
- Posts: 12
- Joined: Sun Dec 28, 2008 3:11 am
Re: Can't get avrdude to program my fuzebox....
ugh
I take it back, it can program other chips, so it must be a problem with the fuzebox....
I take it back, it can program other chips, so it must be a problem with the fuzebox....
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: Can't get avrdude to program my fuzebox....
if you dont have a spokepov kit, try the jumper hack, detailed in the usbtiny assembly instructions
-
- Posts: 12
- Joined: Sun Dec 28, 2008 3:11 am
Re: Can't get avrdude to program my fuzebox....
By the way, if I overide the test, I get:
Macintosh:~ ant$ avrdude -c usbtiny -p m644 -F
avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device signature.
avrdude: Expected signature for ATMEGA644 is 1E 96 09
avrdude: safemode: Fuses OK
avrdude done. Thank you.
Macintosh:~ ant$ avrdude -c usbtiny -p m644 -F
avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device signature.
avrdude: Expected signature for ATMEGA644 is 1E 96 09
avrdude: safemode: Fuses OK
avrdude done. Thank you.
-
- Posts: 12
- Joined: Sun Dec 28, 2008 3:11 am
Re: Can't get avrdude to program my fuzebox....
well, I've already confirmed that the usbtinyISP works, so how would that help?ladyada wrote:if you dont have a spokepov kit, try the jumper hack, detailed in the usbtiny assembly instructions
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: Can't get avrdude to program my fuzebox....
the output resistors used when programming spokepovs might be fighting the resistors that connect to the sd card. theres a good chance thats the issue
-
- Posts: 12
- Joined: Sun Dec 28, 2008 3:11 am
Re: Can't get avrdude to program my fuzebox....
I can't find where this hack is detailed do you have a link?
I looked for it on the usbtiny page and on the spokepov page with no luck.
Thanks a million for your help!
I looked for it on the usbtiny page and on the spokepov page with no luck.
Thanks a million for your help!
-
- Posts: 12
- Joined: Sun Dec 28, 2008 3:11 am
Re: Can't get avrdude to program my fuzebox....
so what do you think the problem is? I really want to get this working...
-
- Posts: 12
- Joined: Sun Dec 28, 2008 3:11 am
Re: Can't get avrdude to program my fuzebox....
should i post pictures of the board?
-
- Posts: 12
- Joined: Sun Dec 28, 2008 3:11 am
Re: Can't get avrdude to program my fuzebox....
It is definately my usbISP that is causing the problems, I will look into it
Please be positive and constructive with your questions and comments.