|
152
|
Using Arduino / Project Guidance / Re: Atmega 8 development board
|
on: November 02, 2012, 10:33:01 pm
|
Okay, this gets a little 'fun'. The 328 has different signature bytes than the 328P. 328 0x1E 0x95 0x14 328P 0x1E 0x95 0x0F The real way around this (doing this from memory, bear with me). Download a copy of notepad++ so you have a good editor http://notepad-plus-plus.org/Find avrdude.conf. Open it & find 'm328p' Copy that whole section, call it 'm328' and change the signature bytes per above. Change anything that ATMega328P to ATMega328. (no P at the end) Save that. Find boards.txt Find a section that says something like "traditional NG bootloader. " The NG boards used '168s and internal crystal. "The initial design of the Arduino LilyPad had a 10-pin ICSP header and used the internal clock on the ATmega168 rather than an external oscillator. The bootloader on the initial design is the traditional NG bootloader. " So you want to set up like that. Copy that section, put in your new new board name, and put in the '328 signature bytes and memory limits.Burn the bootloader so the fuses are set for the internal crystal, and you should be able to load sketches after that. I've not tried this personally for anything but '1284s witt crystals, but it should get you pretty close. Come back and ask questions if you get stuck. I do not understand for the bolded part ><
|
|
|
|
|
153
|
Using Arduino / Project Guidance / Re: Atmega 8 development board
|
on: November 02, 2012, 07:55:22 am
|
Okay, this gets a little 'fun'. The 328 has different signature bytes than the 328P. 328 0x1E 0x95 0x14 328P 0x1E 0x95 0x0F The real way around this (doing this from memory, bear with me). Download a copy of notepad++ so you have a good editor http://notepad-plus-plus.org/Find avrdude.conf. Open it & find 'm328p' Copy that whole section, call it 'm328' and change the signature bytes per above. Change anything that ATMega328P to ATMega328. (no P at the end) Save that. Find boards.txt Find a section that says something like "traditional NG bootloader. " The NG boards used '168s and internal crystal. "The initial design of the Arduino LilyPad had a 10-pin ICSP header and used the internal clock on the ATmega168 rather than an external oscillator. The bootloader on the initial design is the traditional NG bootloader. " So you want to set up like that. Copy that section, put in your new new board name, and put in the '328 signature bytes and memory limits. Burn the bootloader so the fuses are set for the internal crystal, and you should be able to load sketches after that. I've not tried this personally for anything but '1284s witt crystals, but it should get you pretty close. Come back and ask questions if you get stuck. What do you mean by the bolded part ? Means I have to create a new text file ? And I cant find something like traditional NG bootloader in the board .txt file ><
|
|
|
|
|
155
|
Using Arduino / Project Guidance / Atmega 8 development board
|
on: October 30, 2012, 12:35:03 pm
|
|
Hey guys, I build a development board for atmega 8 last time, and using atmega 8 chip. I used usbasp to upload my code from arduino IDE into the chip. Forr this, I choose my board in arduino IDE as atmega 8
However, how about if I use atmega 328 ? What board should I choose ? Bear in mind that the atmega 328 is fresh( without bootloader ). By the way, I think that if I upload using the USBasp programmer, it does not care whether the chip have the bootloader right ?
I face a problem where when I upload the code from arduino IDE to the chip by selecting arduino UNO board, it came out an error saying that wrong microcontroller being chose. So how ?
Thank you
|
|
|
|
|
160
|
Using Arduino / Project Guidance / Re: FT232RL
|
on: October 08, 2012, 08:09:20 am
|
The FT Txd and Rxd connect to the Atmega Rxd and Txd. Look at the arrows on the chip to see the direction of the signals.
The left side of C5 goes to Reset. I would compare this against an Arduino schematic as well.
_____ Rob
What is the thing in 500mA ?? Curious
|
|
|
|
|
164
|
Using Arduino / Project Guidance / FT232RL
|
on: October 07, 2012, 11:47:25 pm
|
|
Hey guys, recently I just bought a FT232RL chip from RS. So, I would like to ask, how can I connect that to my AVR chip so that I can program my AVR chip just through the USB cable ?
Any schematic ?
Thank you
|
|
|
|
|
165
|
Using Arduino / Microcontrollers / Programming Atmega 8
|
on: September 21, 2012, 08:32:03 am
|
|
I have one atmega 8 now I want program it using arduino IDE I didnt burn bootloader in it so how can I program it using arduino IDE ? Any changes I need to make to the arduino IDE ?
|
|
|
|
|