模吧

 找回密码
 立即注册

QQ登录

只需一步,快速开始

手机号码,快捷登录

8951查看 | 27回复

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

[复制链接]
发表于 2017-9-5 15:49:22 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
有些人用Xloader烧写HEX出现了问题,现在重新传一个新的下载软件,以及提醒事项!!
下载地址
链接:http://pan.baidu.com/s/1nv9OYyH 密码:4uid
软件配置图如下
Arduino烧写HEX遇到问题的看这里 为什么叫烧写,stm8烧写,什么是烧写 作者:纸鹰 2961
首先确定下载模块接线,tx rx交叉,VCC GND DTR接上,芯片CP2102  CH340都可以
确定端口号COM正确,选择板子类型arduino mini
切记HEX文件的路径一定要纯英文!!!

然后点击 Upload

发表于 2017-9-5 20:12:04 | 显示全部楼层
码住先,哈哈哈
发表于 2017-9-5 21:48:32 | 显示全部楼层
CH340G的 话。要从芯片上DTR飞一根线出来。接ARDUNIO的DTR
发表于 2017-9-6 12:15:07 | 显示全部楼层
吸引我进来的不是帖子的主题,而是那些可爱的图形。
发表于 2017-9-6 14:02:09 | 显示全部楼层
留着 备用,准备做变焦
发表于 2017-9-7 22:37:48 | 显示全部楼层
好心人啊,谢谢了!
 楼主| 发表于 2017-9-7 22:51:28 | 显示全部楼层
选择的型号 Arduino烧写HEX遇到问题的看这里 为什么叫烧写,stm8烧写,什么是烧写 作者:纸鹰 194
发表于 2017-9-8 11:10:58 | 显示全部楼层
zxc850414 发表于 2017-9-5 21:48
CH340G的 话。要从芯片上DTR飞一根线出来。接ARDUNIO的DTR

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

点评

你找GH340引脚定义  详情 回复 发表于 2017-9-8 17:07
发表于 2017-9-8 11:16:26 | 显示全部楼层
大神 你好,昨天晚上给摄像头通电测试一切正常,今天开始烧录程序到mimi板里,但是我用的
CH340G  USB,这个板没有DTR接口,我尝试只链接GND  VCC  TX RX这4个接口,然而电脑显示找不到,也烧录不了程序进去,是否一定要接上DTR口,那大神知道 CH340的 DTR在哪里吗?
 楼主| 发表于 2017-9-8 13:35:55 | 显示全部楼层
小楼一夜听春雨 发表于 2017-9-8 11:16 Arduino烧写HEX遇到问题的看这里 为什么叫烧写,stm8烧写,什么是烧写 作者:纸鹰 3011
大神 你好,昨天晚上给摄像头通电测试一切正常,今天开始烧录程序到mimi板里,但是我用的
CH340G  USB,这 ...

没有dtr去找一下ch340的针脚图,飞线出来一个
发表于 2017-9-8 15:09:28 | 显示全部楼层
你好 烧不进去是怎么回事,先出现这些:Start uploading
................

avrdude.exe: Version 5.11, compiled on Sep  2 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 Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
               ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
               eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
               flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
               lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
               hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
               efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
               lock           0     0     0    0 no          1    0      0  4500  4500 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 Arduino烧写HEX遇到问题的看这里 为什么叫烧写,stm8烧写,什么是烧写 作者:纸鹰 8859
你好 烧不进去是怎么回事,先出现这些:Start uploading
................

首先文件路径必须纯英文,端口号要正确,型号选择pro mini  16m 328p那个
发表于 2017-9-8 15:14:50 | 显示全部楼层
再次烧录出现了这些:Start uploading
...............................................................................................................

avrdude.exe: Version 5.11, compiled on Sep  2 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 Arduino烧写HEX遇到问题的看这里 为什么叫烧写,stm8烧写,什么是烧写 作者:纸鹰 5888
再次烧录出现了这些:Start uploading
................................................................ ...

右键管理员身份运行这个试试
发表于 2017-9-8 15:25:19 | 显示全部楼层
楼主能否加下我QQ,远程协助下,万分感谢
发表于 2017-9-8 15:51:06 | 显示全部楼层
纸鹰 发表于 2017-9-8 15:17
右键管理员身份运行这个试试

以管理员身份运行也还是不行,楼主能否加下我QQ远程协助下
发表于 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 Sep  2 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 Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
               ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
               eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
               flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
               lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
               hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
               efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
               lock           0     0     0    0 no          1    0      0  4500  4500 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 下一条

QQ|关于模吧|APP下载|广告报价|手机版|企业会员|商城入驻|联系我们|模吧 ( 黔ICP备2022002348号-1 )

© 2013-2020 Moz8.com 模吧,玩出精彩!