Hey,
I'd like to program a uC with the Arduino board and afterwards it should work in a new circuit. I've got 5 uC's with the arduino bootloader and the fuses are set like an original controller, so either I could place a quartz in the new circuit or I customize the fuses so it takes the internal oscillator. But I like the second method better so I searched for two days to find a solution. There a several ways but nothing works. I tried the following ways:
- The official way from the Arduino homepage:
http://www.arduino.cc/en/Tutorial/ArduinoToBreadboard
The problem is, that when I try to burn the bootloader, I get to following error message:
missing bootloader.tool configuration parameter
After googling (is that an English word?!), I put the following line into the boards.txt from the zip file:
atmega328bb.bootloader.tool=arduino:avrdude
The new error message is:
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x03
(10x)
This says me exactly nothing, because google gives me felt 100 different reasons for this. Some people write, you have to press the reset button after starting the upload but it doesn't work for burning. So here I gave up. Does anybody know, how it could work?
2. My second method is to change the fuse bits in the original boards.txt. Then I tried to burn this modified bootloader, but I weren't sure, which programmer is the right one. So I took AVR ISP and AVRISP mkII and got after two minutes of waiting the same error message like in the first method. What am I doing wrong?
3. The third method is very different: I tried the optiLoader: http://www.asaxen.com/tutorials/arduino/burning-arduino-bootloader-using-arduino-uno
But there I got the error code 0x0. I think, it has something to do with the magic "spi_transaction". There are functions like "spi_transaction(0xAC, 0x53, 0x00, 0x00)" but I can't find a definition, only calls. So I've no idea, what I'm doing wrong.
Maybe I tried also a fourth way but after 2 days of this stuff, I can't remember everything.
So has anyone an idea, how to tame these stupid little electrical flash cells?