Go Down

Topic: Burning the Bootloader without  AVR-Writer (Read 12 times) previous topic - next topic

Dan IRL

I followed the instructions in the photo shown below but THEY DID NOT WORK:



I checked the board schematic and I got it to work.

This should work for the Duemilanove or the Diecimila (I used the Duemilanove) but I checked the schematic for both.

The way I wired it was

1 - 12
2 - 13
3 - 11
4 - reset.

I am sorry for using the same colour for all and the bad photo but it is the best I can do!



I also had a problem with the GUI yuki-lab.jp Version 1.0.5

If the file name is too long it gives error. I had the GUI in my documents and I moved it to program files. I think the long file names caused problems.

I got it working now so I am happy.

Also if the "display window" option is ticked it will not program
--
Screenshot when display window is ticked and verify is enabled.
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp>
---------

I will try contact author.

Thanks all

lundnul

@bohne: Did you find time to summarize your experiences burning the bootloader from macos?


lundnul


lesto

i can't upload bootloader for atmega328P
first of all i've to add "-F" option or i get the following error:
Code: [Select]
avrdude.exe: BitBang OK
avrdude.exe: pin assign miso 3 sck 5 mosi 6 reset 7
avrdude.exe: drain OK

ft245r:  bitclk 4800 -> ft baud 2400
avrdude.exe: ft245r_program_enable: failed
avrdude.exe: initialization failed, rc=-1
            Double check connections and try again, or use -F to override
            this check.


avrdude.exe done.  Thank you.


then the Fuse code i get are:
FF FF 07
bitlock 3F ( finally something right  ;D )

if i try to writre the suggested DA FF 05 i get:
Code: [Select]
avrdude.exe: BitBang OK
avrdude.exe: pin assign miso 3 sck 5 mosi 6 reset 7
avrdude.exe: drain OK

ft245r:  bitclk 4800 -> ft baud 2400
avrdude.exe: ft245r_program_enable: failed
avrdude.exe: initialization failed, rc=-1
avrdude.exe: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude.exe: Device signature = 0xffffff
avrdude.exe: Yikes!  Invalid device signature.
avrdude.exe: Expected signature for ATMEGA328P is 1E 95 0F
avrdude.exe: reading input file "0xDA"
avrdude.exe: writing hfuse (1 bytes):

Writing |  ***failed;  
################################################## | 100% 0.18s

avrdude.exe: 1 bytes of hfuse written
avrdude.exe: verifying hfuse memory against 0xDA:
avrdude.exe: load data hfuse data from input file 0xDA:
avrdude.exe: input file 0xDA contains 1 bytes
avrdude.exe: reading on-chip hfuse data:

Reading | ################################################## | 100% 0.02s

avrdude.exe: verifying ...
avrdude.exe: verification error, first mismatch at byte 0x0000
            0xda != 0xff
avrdude.exe: verification error; content mismatch

avrdude.exe done.  Thank you.



so lets carry on with old values...
choosing the right bootloade, "Erase - Write - Verify"... after some sec i get "the program isn't responding....", and still like this after over 5 minutes... the bottom bar is completely empty.. tested on Win7 with administrator privilegies to user and to programs... ARGH!
maybe because the file are in "D:\" ????

maybe after i'll test into linux... last (big) hope  ;)
sei nuovo? non sai da dove partire? leggi qui: http://playground.arduino.cc/Italiano/Newbie

Go Up