0

Can't get avrdude to program my fuzebox....
Moderator: adafruit

Please be positive and constructive with your questions and comments.

Can't get avrdude to program my fuzebox....

by aburzillo on Sun Dec 28, 2008 3:17 am

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
aburzillo
 
Posts: 12
Joined: Sun Dec 28, 2008 3:11 am

Re: Can't get avrdude to program my fuzebox....

by adafruit on Sun Dec 28, 2008 1:31 pm

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

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

Re: Can't get avrdude to program my fuzebox....

by aburzillo on Sun Dec 28, 2008 3:27 pm

yes i have already tried both of these
aburzillo
 
Posts: 12
Joined: Sun Dec 28, 2008 3:11 am

Re: Can't get avrdude to program my fuzebox....

by adafruit on Sun Dec 28, 2008 3:58 pm

hmm, does -anything- happen? does the fuzebox reset or anything?
also, just to be sure, you can program -other- chips, right?

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

Re: Can't get avrdude to program my fuzebox....

by aburzillo on Sun Dec 28, 2008 5:31 pm

Actually, I can't program other chips.... :oops:
Have any Ideas of what might be wrong with the programmer?

Thanks
aburzillo
 
Posts: 12
Joined: Sun Dec 28, 2008 3:11 am

Re: Can't get avrdude to program my fuzebox....

by adafruit on Sun Dec 28, 2008 6:09 pm

umm, you should probably post about that in the usbtiny forum ;)

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

Re: Can't get avrdude to program my fuzebox....

by aburzillo on Sun Dec 28, 2008 8:20 pm

ugh

I take it back, it can program other chips, so it must be a problem with the fuzebox....
aburzillo
 
Posts: 12
Joined: Sun Dec 28, 2008 3:11 am

Re: Can't get avrdude to program my fuzebox....

by adafruit on Sun Dec 28, 2008 8:25 pm

if you dont have a spokepov kit, try the jumper hack, detailed in the usbtiny assembly instructions

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

Re: Can't get avrdude to program my fuzebox....

by aburzillo on Sun Dec 28, 2008 8:44 pm

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.
aburzillo
 
Posts: 12
Joined: Sun Dec 28, 2008 3:11 am

Re: Can't get avrdude to program my fuzebox....

by aburzillo on Sun Dec 28, 2008 8:56 pm

ladyada wrote:if you dont have a spokepov kit, try the jumper hack, detailed in the usbtiny assembly instructions


well, I've already confirmed that the usbtinyISP works, so how would that help?
aburzillo
 
Posts: 12
Joined: Sun Dec 28, 2008 3:11 am

Re: Can't get avrdude to program my fuzebox....

by adafruit on Sun Dec 28, 2008 11:14 pm

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

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

Re: Can't get avrdude to program my fuzebox....

by aburzillo on Mon Dec 29, 2008 2:19 am

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!
aburzillo
 
Posts: 12
Joined: Sun Dec 28, 2008 3:11 am

Re: Can't get avrdude to program my fuzebox....

by aburzillo on Tue Dec 30, 2008 12:36 am

so what do you think the problem is? I really want to get this working...
aburzillo
 
Posts: 12
Joined: Sun Dec 28, 2008 3:11 am

Re: Can't get avrdude to program my fuzebox....

by aburzillo on Tue Dec 30, 2008 12:38 am

should i post pictures of the board?
aburzillo
 
Posts: 12
Joined: Sun Dec 28, 2008 3:11 am

Re: Can't get avrdude to program my fuzebox....

by aburzillo on Tue Dec 30, 2008 5:55 pm

It is definately my usbISP that is causing the problems, I will look into it
aburzillo
 
Posts: 12
Joined: Sun Dec 28, 2008 3:11 am

Please be positive and constructive with your questions and comments.