Bootloading is required for a new board with new chip ?

i have never used arduino before and thinking about making an arduino board with new chip(atmega 328), but a bit confused about something.

what is bootloading? is it required to bootload the chip before i connect it with pc through usb and start downloading sketches ?

please reply, thanks.

You should get the ATmega328P (pico-power version) which is used in the Arduino UNO. There are two ways to get your sketch into the ATmega328P:

1) Burn a bootloader onto the chip using an ISP device and then use a USB-to-Serial cable to upload

2) Use the ISP device to upload your sketch directly (File->Upload Using Programmer)

You can get a (knock-off) USBasp ISP device from eBay for under $4.

thanks for the reply.

in our ebay.in site, i found atmega 328p preloaded with uno /duemilanove, and costed lower than isp devices.

i may just buy the preloaded chip, still, if i go out to check local shops, and in case there are blank atmega chips available with better deal, i would like to ask if the following would work ?

http://arduino.cc/en/Hacking/ParallelProgrammer

in the above link, something about "uisp" is written. what is uisp actually ?

are atmega168 chips ok for small projects ? how much space is normally required to be inside the chip?

I found ATmega328p preloaded with uno/duemilanove [bootloader], and costed lower than isp devices.

You would still need USB-to-Serial hardware like an FTDI cable.

I would like to ask if the following would work? http://arduino.cc/en/Hacking/ParallelProgrammer

I have never heard of anyone having success with a parallel-port programmer.

In the above link, something about "uisp" is written. What is uisp actually?

I have no idea what "uisp" is. I guess it is software that burns a bootloader using the parallel-port programmer.

Are atmega168 chips ok for small projects?

Yes.

How much space is normally required to be inside the chip?

Enough FLASH space to hold your sketch and enough SRAM space to hold your variables and stack. You can do quite a bit with the 168 chip.

johnwasser: You can get a (knock-off) USBasp ISP device from eBay for under $4.

I'm wondering why you recommend an USBasp ISP Programmer. It's really cheap, however it isn't suitable for all Arduino boards. I bought one for my Mega 2560 r3 and I hat a lot of trouble.

flurin: I'm wondering why you recommend an USBasp ISP Programmer. It's really cheap, however it isn't suitable for all Arduino boards. I bought one for my Mega 2560 r3 and I hat a lot of trouble.

It's REALLY cheap (less than $4 including shipping from the Far East) and I don't have a Mega. :)

The latest firmware should the Arduino Mega. Perhaps it is time to update your firmware:

http://www.fischl.de/usbasp/usbasp.2011-05-28.tar.gz

johnwasser:

flurin: I'm wondering why you recommend an USBasp ISP Programmer. It's really cheap, however it isn't suitable for all Arduino boards. I bought one for my Mega 2560 r3 and I hat a lot of trouble.

It's REALLY cheap (less than $4 including shipping from the Far East) and I don't have a Mega. :)

The latest firmware should the Arduino Mega. Perhaps it is time to update your firmware:

http://www.fischl.de/usbasp/usbasp.2011-05-28.tar.gz

Sorry but you did also recommend it for a Mega 2560!

http://forum.arduino.cc/index.php?topic=172224.0

and here is what I did:

http://forum.arduino.cc/index.php?topic=179489.0

I've the latest Version but not that in your link above ;) http://forum.arduino.cc/index.php?topic=149668.60

johnwasser:

I found ATmega328p preloaded with uno/duemilanove [bootloader], and costed lower than isp devices. You would still need USB-to-Serial hardware like an FTDI cable.

i am confused with 2 cable types, usb-to-searial means usb-to-micro usb cable ? (like this : https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcS-CUFpmwwhNmpr-ocuUA2n_Sx5rV8RxWGppGIDTjKFRyMAS3bCGw) or usb to 9pin comm port?

i will be using arduino diecimila schematics (http://arduino.cc/en/uploads/Main/Arduino-Diecimila-schematic.pdf) because it appears to be using minimum no. of components (breadboad version seems using this). will try to get the FT232RL chip for usb interfacing, else, if i don't find the chip, will make it 9-pin comm (serial) port interface (http://www.hobbytronics.co.uk/arduino-atmega328-hardcore).

so there will be 2 type ports : (a) usb/comm port (b) ICSP header port 6-pin.

please elaborate when and how are these ports used. i thought i may not need to use "(b) ICSP header port 6-pin" if i get atmega with bootloader installed.

also, arduino diecimila, duemilanove, uno kind of seem same configuration with the atmega chip, only the interfacing schematics use different architecture - uno has atmega16u2(will be difficult to solder even if i get this chip), other 2 have FT232RL, using/loading either of uno and duemilanove bootloader on my model will be fine, right ?

using/loading either of uno and duemilanove bootloader on my model will be fine, right ?

Yes, you just have to remember when setting the IDE board type before uploading to select the Uno board if the chip has a Uno bootloader or duemilanove board if it's using the duemilanove bootloader. I've burned Uno bootloaders on all my 328P based board so I don't have to keep track of what board type to select.

Lefty

^ thanks :) , and the cable part .....