Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Write bootloader - problem on ATmega8 #2075
During the writing of the bootloader, IDE 1.5.x look for e_fuse setting for the ATmega8 (ArduinoNG board)
[code]Arduino: 1.5.4 (Windows 7), Board: "Arduino NG or older, ATmega8"
I also tried to manually add a fake e_fuse in the board, without success
Hello, I solved it this way...
Open for edit the file C:\Program Files\Arduino\hardware\arduino\avr\platforms.txt
tools.avrdude.upload.params.verbose=-v -v -v -v
tools.avrdude.program.params.verbose=-v -v -v -v
tools.avrdude.erase.params.verbose=-v -v -v -v
tools.avrdude.bootloader.params.verbose=-v -v -v -v
create a new tool called, for example, avrdude1
tools.avrdude1.upload.params.verbose=-v -v -v -v
tools.avrdude1.program.params.verbose=-v -v -v -v
tools.avrdude1.erase.params.verbose=-v -v -v -v
#this line was edited
tools.avrdude1.bootloader.params.verbose=-v -v -v -v
Here is an example of the use of the tool avrdude1 in boards.txt file
Thanks for this tips.
A people that have an Original ArduinoNG board must receive an IDE that
You should edit the file platform.txt file, usually found in:
Also, on windows you should probably use Notepad++, Metapad or similar programs to edit the files.
BTW, I suggest to name it avrdude_old or avrdude_noefuse instead of avrdude1.
1 similar comment
Sure do the solution by "rigelinorion" works bootloader uploaded succeccfully but i'm still not able to upload sketch to the atmega8 it says
avrdude: stk500_recv(): programmer is not responding
If someone has the solution..!
Modifying rigelinorion comment, Do whatever rigelinorion says and then
atmega8_diy_atmega8a_8MHz_optiboot.name=ATmega8A, (8MHz Internal Oscillator)
Actually problem with rigelinorion was it can bootload but no upload sketch, so for bootloader use tool avrdude1 and for uploading using build-in Atmega8 NG avrdude tool, above boards.txt is combination of both in one. ATMEGA8A-PU Bootloader and Uploading Sketch Done :)
I think that the problem might be upstream with avrdude's default configuration, since it does not seem to define atmega8's boot/efuse memory regions in
So it is possible solve this bug, but how "contribute a patches" that arduino team will store and copy at every new avrdude update ?
If you know how please create this patch, we organize a party if after "only" two years this bug will solved.
@facchinm do you know the correct way for doing this job ?