Upload code to atmega328p

OP (Company: KUKE Electronics CO., Limited) #6648447
Rate this post
useful
not useful
Hi,
I want to design atmega328p (referenced data source: 
https://www.apogeeweb.net/circuitry/atmega328p-microcontroller-datasheet-pinout-circuit.html) 
on PCB...
One method to upload code is using Arduino Uno. If I disconnect the 
wires from arduino uno side but left them in atmega328p side, will be 
there any problem such as open circuit because of wires?
My idea is to solder the wires in PCB and when I need to upload code or 
monitor data I connect these wires to arduino uno.
Is there anyone have ideas of it?
Guest #6648489
Rate this post
useful
not useful
Lernend B. wrote:
> uno side but left them in atmega328p side, will be there any problem
> such as open circuit because of wires

No, but your ATmega328 needs to be preprogrammed with the Arduino 
bootloader, so either pulled off an arduino board or programmed with the 
bootloader code using some other method, like the native MISO, MOSI, 
SCLK, RESET Interface. And if you can program an ATmega328 using this 
method, why not use it for the real program and skip the Arduino 
completley.
Guest #6648537
Rate this post
useful
not useful
Open wires have an impact if you use the same I/O pins for other 
communication, e.g. a display with SPI interface. It depends on the 
length of wires and the amount of radio waves in the area.

For development phase on the desktop this is usually no problem, 
specially if the wires are as short as 30cm .

Reply

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now