纸鹰 发表于 2017-9-5 15:49:22

Arduino烧写HEX遇到问题的看这里

有些人用Xloader烧写HEX出现了问题,现在重新传一个新的下载软件,以及提醒事项!!
下载地址
链接:http://pan.baidu.com/s/1nv9OYyH 密码:4uid
软件配置图如下

首先确定下载模块接线,tx rx交叉,VCC GND DTR接上,芯片CP2102CH340都可以
确定端口号COM正确,选择板子类型arduino mini
切记HEX文件的路径一定要纯英文!!!

然后点击 Upload

52myzb 发表于 2017-9-5 20:12:04

码住先,哈哈哈

zxc850414 发表于 2017-9-5 21:48:32

CH340G的 话。要从芯片上DTR飞一根线出来。接ARDUNIO的DTR

hobbya 发表于 2017-9-6 12:15:07

吸引我进来的不是帖子的主题,而是那些可爱的图形。

玩世不恭 发表于 2017-9-6 14:02:09

留着 备用,准备做变焦

tjcdq 发表于 2017-9-7 22:37:48

好心人啊,谢谢了!

纸鹰 发表于 2017-9-7 22:51:28

选择的型号

小楼一夜听春雨 发表于 2017-9-8 11:10:58

zxc850414 发表于 2017-9-5 21:48
CH340G的 话。要从芯片上DTR飞一根线出来。接ARDUNIO的DTR

你好,
CH340G的DTR在哪里呀,一直没找到,网上也没找到资料

小楼一夜听春雨 发表于 2017-9-8 11:16:26

大神 你好,昨天晚上给摄像头通电测试一切正常,今天开始烧录程序到mimi板里,但是我用的
CH340GUSB,这个板没有DTR接口,我尝试只链接GNDVCCTX RX这4个接口,然而电脑显示找不到,也烧录不了程序进去,是否一定要接上DTR口,那大神知道 CH340的 DTR在哪里吗?

纸鹰 发表于 2017-9-8 13:35:55

小楼一夜听春雨 发表于 2017-9-8 11:16 static/image/common/back.gif
大神 你好,昨天晚上给摄像头通电测试一切正常,今天开始烧录程序到mimi板里,但是我用的
CH340GUSB,这 ...

没有dtr去找一下ch340的针脚图,飞线出来一个

小楼一夜听春雨 发表于 2017-9-8 15:09:28

你好 烧不进去是怎么回事,先出现这些:Start uploading
................

avrdude.exe: Version 5.11, compiled on Sep2 2011 at 19:38:36
             Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
             Copyright (c) 2007-2009 Joerg Wunsch

             System wide configuration file is ".\\avrtool\\avrdude.conf"

             Using Port                  : COM4
             Using Programmer            : arduino
             Overriding Baud Rate          : 57600
             AVR Part                      : ATMEGA328P
             Chip Erase delay            : 9000 us
             PAGEL                         : PD7
             BS2                           : PC2
             RESET disposition             : dedicated
             RETRY pulse                   : SCK
             serial program mode         : yes
             parallel program mode         : yes
             Timeout                     : 200
             StabDelay                     : 100
             CmdexeDelay                   : 25
             SyncLoops                     : 32
             ByteDelay                     : 0
             PollIndex                     : 3
             PollValue                     : 0x53
             Memory Detail               :

                                    Block Poll               Page                     Polled
               Memory Type Mode Delay SizeIndx PagedSize   Size #Pages MinWMaxW   ReadBack
               ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
               eeprom      65    20   4    0 no       1024    4      036003600 0xff 0xff
               flash         65   6   128    0 yes   32768128    25645004500 0xff 0xff
               lfuse          0   0   0    0 no          1    0      045004500 0x00 0x00
               hfuse          0   0   0    0 no          1    0      045004500 0x00 0x00
               efuse          0   0   0    0 no          1    0      045004500 0x00 0x00
               lock         0   0   0    0 no          1    0      045004500 0x00 0x00
               calibration    0   0   0    0 no          1    0      0   0   0 0x00 0x00
               signature      0   0   0    0 no          3    0      0   0   0 0x00 0x00

             Programmer Type : Arduino
             Description   : Arduino
             Hardware Version: 2
             Firmware Version: 1.16
             Vtarget         : 0.0 V
             Varef         : 0.0 V
             Oscillator      : Off
             SCK period      : 0.1 us

avrdude.exe: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude.exe: Device signature = 0x1e950f
avrdude.exe: reading input file "D:\\HX"
avrdude.exe: can't open input file D:\\HX: Permission denied
avrdude.exe: read from file 'D:\\HX' failed

avrdude.exe done.Thank you.

Upload FAILED:(

小楼一夜听春雨 发表于 2017-9-8 15:12:12

现在从340里引出了DTR出来,还是依然无法烧录程序进去,大神能否QQ指导下。QQ443614959

纸鹰 发表于 2017-9-8 15:12:51

小楼一夜听春雨 发表于 2017-9-8 15:09 static/image/common/back.gif
你好 烧不进去是怎么回事,先出现这些:Start uploading
................


首先文件路径必须纯英文,端口号要正确,型号选择pro mini16m 328p那个

小楼一夜听春雨 发表于 2017-9-8 15:14:50

再次烧录出现了这些:Start uploading
...............................................................................................................

avrdude.exe: Version 5.11, compiled on Sep2 2011 at 19:38:36
             Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
             Copyright (c) 2007-2009 Joerg Wunsch

             System wide configuration file is ".\avrtool\avrdude.conf"

             Using Port                  : COM4
             Using Programmer            : arduino
             Overriding Baud Rate          : 19200
avrdude.exe: stk500_getsync(): not in sync: resp=0x00

avrdude.exe done.Thank you.

Upload FAILED:(

纸鹰 发表于 2017-9-8 15:17:22

小楼一夜听春雨 发表于 2017-9-8 15:14 static/image/common/back.gif
再次烧录出现了这些:Start uploading
................................................................ ...

右键管理员身份运行这个试试

小楼一夜听春雨 发表于 2017-9-8 15:25:19

楼主能否加下我QQ,远程协助下,万分感谢

小楼一夜听春雨 发表于 2017-9-8 15:51:06

纸鹰 发表于 2017-9-8 15:17
右键管理员身份运行这个试试

以管理员身份运行也还是不行,楼主能否加下我QQ远程协助下

zxc850414 发表于 2017-9-8 17:07:53

小楼一夜听春雨 发表于 2017-9-8 11:10
你好,
CH340G的DTR在哪里呀,一直没找到,网上也没找到资料

你找GH340引脚定义

小楼一夜听春雨 发表于 2017-9-9 07:42:06

楼主 程序烧不进去呀

小楼一夜听春雨 发表于 2017-9-9 08:00:06

楼主 一直不行啊,显示无法打开文件,权限被拒绝:Start uploading
................

avrdude.exe: Version 5.11, compiled on Sep2 2011 at 19:38:36
             Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
             Copyright (c) 2007-2009 Joerg Wunsch

             System wide configuration file is ".\avrtool\avrdude.conf"

             Using Port                  : COM4
             Using Programmer            : arduino
             Overriding Baud Rate          : 57600
             AVR Part                      : ATMEGA328P
             Chip Erase delay            : 9000 us
             PAGEL                         : PD7
             BS2                           : PC2
             RESET disposition             : dedicated
             RETRY pulse                   : SCK
             serial program mode         : yes
             parallel program mode         : yes
             Timeout                     : 200
             StabDelay                     : 100
             CmdexeDelay                   : 25
             SyncLoops                     : 32
             ByteDelay                     : 0
             PollIndex                     : 3
             PollValue                     : 0x53
             Memory Detail               :

                                    Block Poll               Page                     Polled
               Memory Type Mode Delay SizeIndx PagedSize   Size #Pages MinWMaxW   ReadBack
               ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
               eeprom      65    20   4    0 no       1024    4      036003600 0xff 0xff
               flash         65   6   128    0 yes   32768128    25645004500 0xff 0xff
               lfuse          0   0   0    0 no          1    0      045004500 0x00 0x00
               hfuse          0   0   0    0 no          1    0      045004500 0x00 0x00
               efuse          0   0   0    0 no          1    0      045004500 0x00 0x00
               lock         0   0   0    0 no          1    0      045004500 0x00 0x00
               calibration    0   0   0    0 no          1    0      0   0   0 0x00 0x00
               signature      0   0   0    0 no          3    0      0   0   0 0x00 0x00

             Programmer Type : Arduino
             Description   : Arduino
             Hardware Version: 2
             Firmware Version: 1.16
             Vtarget         : 0.0 V
             Varef         : 0.0 V
             Oscillator      : Off
             SCK period      : 0.1 us

avrdude.exe: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude.exe: Device signature = 0x1e950f
avrdude.exe: reading input file "C:\Users\Administrator\Desktop\pwm"
avrdude.exe: can't open input file C:\Users\Administrator\Desktop\pwm: Permission denied
avrdude.exe: read from file 'C:\Users\Administrator\Desktop\pwm' failed

avrdude.exe done.Thank you.

Upload FAILED:(
页: [1] 2
查看完整版本: Arduino烧写HEX遇到问题的看这里