arduino烧写失败_Arduino烧写HEX遇到问题的看这里

博主在尝试烧写Arduino HEX文件时遇到权限被拒绝的问题,avrdude.exe显示无法打开文件。使用的是Arduino编程器,波特率设为57600,设备为ATMEGA328P。尽管设备初始化成功,但在读取输入文件时出现Permission denied错误,导致上传失败。

楼主 一直不行啊,显示无法打开文件,权限被拒绝: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:(

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值