Hi i'm a newbie here.... i have a question
can i programming an ATMEGA328 not ATMEGA328P chip
without using FTDI.....thank you!
Hi i'm a newbie here.... i have a question
can i programming an ATMEGA328 not ATMEGA328P chip
without using FTDI.....thank you!
Yes, you can. Just throw out that old Bootloader and write code using AVR's tools (asm and C) and then load into chip using USBtinyisp or a USBasp (eBay).
But then, it is no longer an Arduino, is it?
yeah... i tried using the EDITED board.txt file and the avrdude... i have successfully bootloaded the atmega328 not(atmega328p)
and now i'm struggling on how to put a program into the bootloaded atmega328....,
That is fine. However, unless you are going to use the standard USB/Serial upload mode then the bootloader is not needed. This page from arduino.cc explains it pretty well. The upload sequence using an external programmer is explained on another page from arduino.cc. I have not actually done this procedure although I have purchased an USBasp. Did you see the part about holding down the shift key when clicking on the Upload icon in the Arduino IDE?
finally i've tamed the atmega328 not(atmega328p),... there only few adjusments on the avrdude then, burn boothloader on it, and upload sketches,.
That is great. I have a couple of questions.
Why do you need the bootloader installed?
What is driving you to raise a distinction between atmega328 and the "p" attribute?
Additional Reference: http://arduino.cc/en/Hacking/Programmer
1. I need to install a bootloader in order to upload sketches unto the atmega 328, bec. i'd tried to upload a program using "upload using programmer" and did all the connections and stuffs,as well as upload the arduino as ISP and it didn't work at all ..
2. ATmega328 does'nt sync with the 328p?????, i've seen lots of tutorials on youtube on how to burn bootload and upload sketches, i've see one that uses arduino uno and atmega328p and did all the same connections and it work, there is also one tutorial using duemillanove that removes the mcu on his board and transfer it on a breadboard did all the connections and it work and use also a spare atmega328 chip burn bootload,upload sketches and it work, but in my case i have a cloned arduino uno board(gizduino uno) with a SMD mcu which is 328p, those tutorials that i've mentioned above can't help me, bec. i have bought a atmega328 not 328p and it will not sync to the mcu on my board, and the second tutorial that i've mentioned does'nt help me either bec. i can't remove the mcu on my board,... so i'm totally screwed?, well not really, in order to make it work you just only fool the IDE and the 328 and make it think that it is a 328p so now my board and the mcu that i've bought will sync, and make it work!....
CONCLUSION: atmega328 and 328p have only slight differences, one has picopower and the other one is NOT, ERRORs occur bec. of the IDE, it is programmed to work on a specified mcu,.
mark
There are multiple versions of Arduino and "Arduino Derivatives".
When the UNO came along, there was a new Bootloader.
At the same time it used an Atmega chip instead of the FTDI to interface to the USB, which means different speeds.
In your case the Gizduino uses a Prolific USB to serial chip (from the manual)
Most computers will normally not be able to recognize the newly created Gizduino-to-PC USB connection
initially. This is caused simply by the lack of the proper driver that handles the recognition of the hardware
by the computer. The driver required by the Gizduino-to-PC connection is the PL-2303 USB-to-Serial driver
(downloadable at http://www.prolific.com.tw/eng/downloads.asp?ID=31)
So there are different board options in the IDE, and the manual shows using this....
The Gizduino module is modeled after the Arduino Diecimila with the ATmega168.
As such, select the ‘Arduino Diecimila, Duemilanove, Nano w/ ATmega168, Nano w/ ATmega328’.
This not only sets the upload speed, but also the sketch size based on the bootloader.
You haven't said that you can upload sketches to the board, so can we presume the computer setup and communication with your Gizduino is okay?
For bootloader programming into blank chips, I found this fairly clear example on the official site.
http://arduino.cc/en/Tutorial/ArduinoISP
You should choose the options based on the board selection above.
I hope this helps
Mark
thanks for your reply mark,
yes everything you said is true,...
the gizduino works perfectly fine in my PC, i have already make the standalone atmega328 WORK, there is no problem at all, i'm gonna upload a video on it soon on how to use it. the connections on the tutorials are right but the software configuration doesnt work using my gizduino,.. so i made some few tweaks on the avrdude on the IDE and make the atmega328 thinks it is atmega328p,....well it works!
thanks for your reply mark,
yes everything you said is true,...
the gizduino works perfectly fine in my PC, i have already make the standalone atmega328 WORK, there is no problem at all, i'm gonna upload a video on it soon on how to use it. the connections on the tutorials are right but the software configuration doesnt work using my gizduino,.. so i made some few tweaks on the avrdude on the IDE and make the atmega328 thinks it is atmega328p,....well it works!