I have never heard of a USB Asp that acts as a USB serial converter (and I note that no part of that PDF says anything about it acting as a serial port) - I think it's only able to do ISP programming. I think you're going to need a separate USB serial adapter.Of course, you can upload sketches by connecting it like an ISP programmer, and doing Upload using programmer, but this erases the bootloader - and that won't give you the serial monitor, which you probably want.
You can program already bootloaded chip with USBasp but the bootloader will be lost. If you will need the bootloader again, it can be loaded with USBasp. The device you've posted should be ok but you have to connect it to the ICSP on ATmega (see the datasheet) MOSI, MISO, SCK, RST, VCC and GND (section 2.2 in UG). Forgot TX, RX.
if i connect it like you told me ") MOSI, MISO, SCK, RST, VCC and GND" to the right pinouts will i be able to program my atmega through arduino ide? even if erase the bootloader..?
Thanks everybody for your answers.but still after all your advises my chip wont program cause i get an error on the communication..i selected evetythink you said and i still cant communicate with my chip to flash the program.one more thing..what are the dissadvantages of not using a bootloader and what the advantages;; how can i use serial monitor without the bootloader;; thaanks for your timeIm getting this erro " avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x03 "
but still after all your advises my chip wont program cause i get an error on the communication.
what are the dissadvantages of not using a bootloader and what the advantages
I find cp2102 has advantages over the other 2 types.
Anyway, Arduino is mainly development platform and in my opinion its use is very simple and very good for beginner but it pay with some memory space.
USBasp is very cheap and handy device but ISP programming seems to me little bit more advanced. It better fits by my opinion to 'final' not development board.
I think this thread took a wrong turn And confused the Original poster more that he already is.@kaloudis94 While a schematic of your intended circuit would be very helpful, here are some things you should be aware. The reason you need the bootloader in the first place is to be able to program the ATMega chip using the internal UART, ie Rx and Tx pins. Since you have an external programmer you really do not need the bootloader. In order to program the chip using the external programmer, you need to connect the right pins between the programmer and the chip together. Those being RESET, MOSI, MISO, SCK, 5V and GND.When you have those connected, load the Arduino IDE, go to Tools and select board Arduino UNO and then select the right programmer. You should now select "Burn Bootloader". This is only required so that the right fuses are burned on the chip (Clock selection, Brown out voltage, Clock speed, etc). You can now You can now write and burn your program to the ATMega chip. After you are done, disconnect the chip form the programmer and put it in your own circuit. Note that this way, the chip will need +5V and a 16MHz crystal connected on your board to be able to operate. Hope it helps,Nikos