Is it possible to upload a sketch to an ATMEGA328p pu with the usb2serial?


hello people,

i tried upload sketch atmega328p-pu (with bootloader installed) usb2serial adapter, not figure out how. can select in arduino ide on com4, installed adapter driver, connected rx,tx,gnd , 5v arduino on breadboard still not work. (it says 'programmer not responding')

does know if possible upload sketch this. if yes; how?

thanks!

bas peter

hi, welcome forum.

i noticed didn't answer first question. sorry :(

with normal usb-serial adapters this:
the dtr used via 100nf reset. dtr used reset atmega328p, , starts bootloader.
those usb-serial adapters have pins labeled rx , tx. connect rx-tx , tx-rx, try rx-rx , tx-tx.
some usb-serial adapters have signals of 3.3v, in cases not enough atmega328p.

this arduino usb 2 serial : http://www.arduino.cc/en/main/usbserial
some boards have pins, , usb 2 serial can connected pins directly (without wires).
for atmega328p still need 100nf between resets. , think connect rx-tx , tx-rx.

before using usb 2 serial, know if atmega chip bootloaded , has circuit.
did buy atmega328p on ebay bootloader ? if so, don't trust bootloader.
do have schematic or photo show how have connected wires atmega chip ?
a 16mhz bootloader work 16mhz atmega328p, , need 2 22pf. , 5v , gnd need bee on both sided of chip. don't connect aref 5v. , on....


Arduino Forum > Using Arduino > Microcontrollers > Is it possible to upload a sketch to an ATMEGA328p pu with the usb2serial?


arduino

Comments