I am really despaired. I have spent a full day to understand this, and it seems that I still don't.
I have an Arduino UNO, with an ATMega328, for which I wrote a great piece of code.
Later, I have built a circuit on a bread board, where I want to use that same ATMega328, in a 3.3V configuration, and hence 8MHz oscillator .
So, I understood that I have to write a new boot loader to it (is that correct?)
So I follow many guides available, including the Arduino Standalone, and then I understood that I don't have another chip (ATMega328), in order to use the UNO as a boot loader.
So, I was trying to connect the ATMega328 directly from the bread board to the UNO's serial data, change the boards.txt file to add "ATMega on bread board 8MHz", and tried to boot-loading it, without success. I get the error that it can't connect with the board.
Now I have been told that I can't connect the ATMega328 directly to the UNO serial to boot load it, so my questions are:
- Do I really need to go over this hell in order to work with the same
chip that worked with 16MHz, but now on 8MHz at 3.3V? (why
in
microchipI could just switch xtal? ) - If I do have to boot loading it, and I have one chip, and an UNO, how can I do that?
- How you do that in mass production?