Programmed once, but wont let me do it again.

MiniPOV4 and previous versions

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
vestibule chaperone
 
Posts: 6
Joined: Thu Jul 17, 2008 11:23 pm

Programmed once, but wont let me do it again.

Post by vestibule chaperone »

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

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

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.

User avatar
vestibule chaperone
 
Posts: 6
Joined: Thu Jul 17, 2008 11:23 pm

Post by vestibule chaperone »

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

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.

User avatar
vestibule chaperone
 
Posts: 6
Joined: Thu Jul 17, 2008 11:23 pm

Post by vestibule chaperone »

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!

dosh_ance
 
Posts: 1
Joined: Mon Jul 26, 2010 6:25 pm

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

Post by dosh_ance »

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?

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

Return to “MiniPOV”