arduino pro mini 迷你 ATmega328P 程序下载 usb-ttl reset

借助于 uno 成功烧写 pro mini ,但是可怜的是每次要把直插的328p拔下来

就不出现avrdude: stk500_getsync(): not in sync: resp=0x00

mini-UNO
(RX)-(RX)
(TX)-(TX)
vcc-5v
gnd-gnd
reset(DTR也可以)-reset

将IDE上板子的选择改为:Arduino pro mini,ATMEGA328P 5v 16M(我的)这项

pl2303hx无论如何实验也没有成功

max232-db9也没成功(烧stc正常,也引出dtr 0.1uf)

arduino pro mini 迷你 核心板 AVR ATmega328P程序下载可以用一块Arduino UNO ATmega328P-PU下载么?


可以,有两个方案。
第一种是把mini和uno的TX和RX分别并联,在IDE把板子类型设成pro mini,这样就使用了uno的USB转串口的芯片向mini下程序。
第二种麻烦一些,是把uno当编程器来用,在uno里先载入专门的下载程序,然后连接uno和mini的ICSP编程接口(就是SPI的几个口)直接向mini写程序,详情看官网


http://arduino.cc/en/Tutorial/ArduinoISP#.UwkPkuNdWi4


我的UNO板子是不带DTR的USB转串口芯片需要方案1下程序是需要按MINI的复位键 啊?
不需要按键,把reset脚也并联上


http://mightyohm.com/blog/products/hv-rescue-shield-2-x/


NO.1 arduino pro mini usb下载系统,适合新手
http://www.arduino.cn/thread-3302-1-1.html
Arduino的串口下载 ,就是给arduino主芯片下载了串口下载的bootloader后,就可以通过RX TX两个引脚给芯片下载程序,如果连接电脑你得需要一个USB转串口模块,模块的一端接到arduino的RX TX引脚,一端通过USB数据线连接电脑,这样的USB转串口芯片比较多比如CH340,CP2102,官方官方用的ARMEL芯片ATMEGA16U2,百度搜芯片手册都有电路图的。
http://www.eeboard.com/ziliao/arduino-pro/

接脚从上到下分别是GND RXD TXD 5.0V 3.3V
接线表:
pro mini             USB转TTL模块
GND                     GND
TXD                     RXD
RXD                     TXD
VCC                     5V(3.3V)根据工作电压选取

你这个模块没有复位引脚(DTR),下载程序时要按一下  pro mini的复位按钮。

PRO MINI                     USB-232
VCC                            5V
GND                           GND
TXD                           RXD
RXI                            TXD
usb那里选对口,板卡那里要选pro mini。
烧录后一秒左右,按重启键就好了。注意把握按的时间多试试。

 http://www.arduino.cc/en/Guide/ArduinoProMini

http://arduino.cc/en/Main/ArduinoBoardProMini

Automatic (Software) Reset

Rather then requiring a physical press of the reset button before an upload, the Arduino Pro Mini is designed in a way that allows it to be reset by software running on a connected computer. One of the pins on the six-pin header is connected to the reset line of the ATmega168 via a 100 nanofarad capacitor. This pin connects to one of the hardware flow control lines of the USB-to-serial convertor connected to the header: RTS when using an FTDI cable, DTR when using the Sparkfun breakout board. When this line is asserted (taken low), the reset line drops long enough to reset the chip. The Arduino software uses this capability to allow you to upload code by simply pressing the upload button in the Arduino environment. This means that the bootloader can have a shorter timeout, as the lowering of the reset line can be well-coordinated with the start of the upload.

This setup has other implications. When the Pro Mini is connected to either a computer running Mac OS X or Linux, it resets each time a connection is made to it from software (via USB). For the following half-second or so, the bootloader is running on the Pro. While it is programmed to ignore malformed data (i.e. anything besides an upload of new code), it will intercept the first few bytes of data sent to the board after a connection is opened. If a sketch running on the board receives one-time configuration or other data when it first starts, make sure that the software with which it communicates waits a second after opening the connection and before sending this data.

 

 

假如usb2ttl上没有DTR接口,下载过程中,编译完成后,出现“下载中...”的时候按一下复位键,也可以完成下载哦

 

New Pro Mini atmega328 5V 16M (clone) - not in sync - solved
Bigger Smaller Reset

 

Hello, i´m newie here, i write this topic to show how sync the arduino-clone "New Pro Mini atmega328 5V 16M Replace ATmega128 Arduino Compatible Nano" with "USB To RS232 TTL PL2303HX Auto Converter Module Converter Adapter For arduino"

(it took me hours to find how sync this little board)

Pin connection:
5V -> VCC
GND -> GND
TX -> RX
RX -> TX

1.Change the baud of the USB MODULE or "Prolific USB-to-Serial Comm Port" to 115200 bauds.
2.In the Arduino Sketch change the board to "Arduino Pro or Pro Mini (5V, 16 MHz) w/ ATmega328"
3.Open your program or select "blink" from the examples
4.Press RESET of the Arduino Clone an then press upload sketch and release the reset when show the message "Size of sketch.." or "Tamaño del binario" in my case (spanish version).

that is the solution for my case, sorry for my bad english.

Claudio from Chile


连接关系:
usb转TTL     接口板
GND             GND
DTR 经0.1uf电容连接口板RST
TXD             TXD
RXD              RXD
VCC              VCC


注意事项:1、usb转TTL的DTR 经0.1uf电容连接口板RST,usb转TTL的RST空置。
          2、保持pro mini跟接口板对应针的接触良好。

 

你可能感兴趣的:(arduino pro mini 迷你 ATmega328P 程序下载 usb-ttl reset)