atmega328p 設置熔絲位,atmega328p 刷機

 

 

 

 

 

用ttl上傳程序時一定要先斷開GND,顯示上傳後再接上GND。

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.

 

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跟接口板對應針的接觸良好。
 

發佈了62 篇原創文章 · 獲贊 42 · 訪問量 8萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章