历史上的今天
今天是:2025年04月01日(星期二)
2020年04月01日 | atmega328p 设置熔丝位,atmega328p 刷机
2020-04-01 来源:eefocus



用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跟接口板对应针的接触良好。
史海拾趣
|
;P ;P !从本网站挪过来的资料! 为了响应小杰关于FPGA入门资料编写号召,特此发此贴,提供下载。 书还没看,感觉还不错,要求FPGA有点入门的。 关于学习FPGA,首先是自己有开发板,然后,就是自己给自己立一个项目练习。这样自己会编写代码。 ...… 查看全部问答> |
|
AD采集的数据在12232上显示 ,看看我的源程序#include<reg52.h>#include<intrins.h>#include<stdio.h>#define uchar unsigned char#define uint unsigned intsbit led1=P2^3; //led端口定义sbit led2=P2^4;sbit led3=P2^5;s ...… 查看全部问答> |
|
在eboot中也不能使用物理地址直接访问内存。而使用的是虚拟地址。 我的6410版,RAM从128M升级到256M之后,系统一直没有搞定,在eboot中测试内存发现, 我映射了一段并不存在的内存到0x96000000,在eboot中写了一个循环读写,如下: for (i = 0; ...… 查看全部问答> |
|
现在公司准备做Win下的PCI设备的驱动, 以前从未接触过这样的项目, 老大让我先收集资料, 请问我该补哪方面的钙? 就是那种很普通的数据采集卡,AD转换卡 硬件平台:普通PC. 软件平台:win xp,2k ps: 我只做过dos+工控机平台的板卡程序,,就是那种 ...… 查看全部问答> |
|
注册表项[HKEY_LOCAL_MACHINE\SOFTWARE\Apps]下有许多子项,如何将它们一一读出? 在WinCE上, 注册表项 [HKEY_LOCAL_MACHINE\\SOFTWARE\\Apps]下有许多子项, 如何将它们一一读出?… 查看全部问答> |
|
我第一次接触串口开发,很多不明白的地方。 现在手头有一设备,类似读卡器,是USB口的,装完驱动后会生成一对应的COM口。 刷卡的时候,这个外界设备会向连着的主机程序发送一串ASCII字符,我该如何获得这些数据呢? 我用超级终端链接这个COM口, ...… 查看全部问答> |
|
LCD 驱动程序上有一个DUMMY (RGB_DUMMY) 的东西,它起什么作用呀? LCD 驱动程序上有一个DUMMY (RGB_DUMMY) 的东西,它起什么作用呀? 三星6410(或BSP上)有这个东西吗? 如何设置它?… 查看全部问答> |




