0

Programmed once, but wont let me do it again.
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Programmed once, but wont let me do it again.

by Vestibule Chaperone on Thu Aug 07, 2008 4:35 am

I programmed the firmware once from the stock slm.hex, (it took eons to write it to the microcontreller - 10 minutes?!) and it went through the 14-minute sequence, sound, video, the worlds revealed behind closed eyelids...but that's where the fun stopped.

When I write my own sequences and just replace it with slm.c and compile it again, it tells me some nasty:

Code: Select all | TOGGLE FULL SIZE
avrdude: Device signature = 0x1e910a
avrdude: safemode: Verify error - unable to read lfuse properly. Programmer may not be reliable.
avrdude: safemode: To protect your AVR the programming will be aborted

avrdude done.  Thank you.


or, after I eradicated and reinstalled the pl2303 for Mac OS 10.5:

Code: Select all | TOGGLE FULL SIZE
avrdude: Device signature = 0x000102
avrdude: Expected signature for ATtiny2313 is 1E 91 0A
         Double check chip, or use -F to override this check.

avrdude done.  Thank you.


Not as nasty, but the result's same. It reads fine, then wont program. Help appreciated in advance! Programming for a long time binaural beat listener (Hemi-Sync, Brainwave Mind Voyages for about 3 years) this would be a real treat...if I can get it working.
Vestibule Chaperone
 
Posts: 6
Joined: Thu Jul 17, 2008 11:23 pm

by Vestibule Chaperone on Tue Aug 12, 2008 3:23 am

I had another chip from a previous controller that me and a friend put together but due to poor (more like non-existent actually) soldering abilities, lets just say it's put aside till latter use. But anyways, I took the chip from it and was able to initiate and program the chip with a sequence I wrote.

--ONCE--.

And now it's doing the exact same thing!

edit: Correction, not the exact same:

Code: Select all | TOGGLE FULL SIZE
valentin-burovs-macbook:slm VaBur$ avrdude -p t2313 -c dasa -i 5000 -P /dev/cu.PL2303-000013FD

avrdude: AVR device not responding
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.


avrdude done.  Thank you.
Vestibule Chaperone
 
Posts: 6
Joined: Thu Jul 17, 2008 11:23 pm

by Vestibule Chaperone on Tue Aug 12, 2008 4:46 am

OK! So, with further investigation, I've connected the USB-Serial conv. straight into the USB port, vs into the hub as I did earlier.

Interesting observation: the (serial or whatever) changed from /dev/cu.PL2303-000013FD to /dev/cu.PL2303-0000101D. Secondly...iT wOrKs! Huzzah!!!. So perhaps the first chip wasnt 'ruined', but I might have been running in thru a hub and therefore the microcontroller wasnt receiving enough power.

Thanks for answering my question!
Vestibule Chaperone
 
Posts: 6
Joined: Thu Jul 17, 2008 11:23 pm

Re: Programmed once, but wont let me do it again.

by dosh_ance on Mon Jul 26, 2010 6:27 pm

how do i do this in windows? i thought it would be better if i were to expand my knowledge.
i did use the pl2303 in the arduino ide but not avrdue.

any idea how to do this in windows?
dosh_ance
 
Posts: 1
Joined: Mon Jul 26, 2010 6:25 pm

Please be positive and constructive with your questions and comments.