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

Moderator: adafruit

Please be positive and constructive with your questions and comments.
aburzillo
 
Posts: 12
Joined: Sun Dec 28, 2008 3:11 am

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

Post by aburzillo »

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

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

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

Post by adafruit »

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

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

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

Post by aburzillo »

yes i have already tried both of these

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

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

Post by adafruit »

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

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

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

Post by aburzillo »

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

Thanks

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

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

Post by adafruit »

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

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

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

Post by aburzillo »

ugh

I take it back, it can program other chips, so it must be a problem with the fuzebox....

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

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

Post by adafruit »

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

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

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

Post by aburzillo »

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....

Post by aburzillo »

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?

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

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

Post by adafruit »

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

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

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

Post by aburzillo »

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....

Post by aburzillo »

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....

Post by aburzillo »

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....

Post by aburzillo »

It is definately my usbISP that is causing the problems, I will look into it

Locked
Please be positive and constructive with your questions and comments.

Return to “Fuzebox (discontinued)”