pro micro好像被烧录器写坏了。
arduino吧
全部回复
仅看楼主
level 4
为了做这个个RC遥控器。
上周买了个pro mini ,因为不熟悉arduino isp操作,就顺带买了个US Basp 。
收到货后,经过好2天折腾也没弄懂US Basp怎么用。包括把注释了这两段、用Zadig装驱动。
第三天终于在换掉这两个文件后,可以给pro mini 写入程序了。
但是pro micro在第二天试验阶段就出了问题。
现在有2种情况,都在插入电脑后能正常出现com口和leonardo 。
第一种情况是上传代码时,两个LED狂闪,然后com口消失掉。
第二种情况是用asp重烧bootloader (大概是下图那个)后,显示上传成功,但实际是没有成功的。
暂时还没试过用命令烧bootloader,都是IDE里面操作。
有前辈知道如何救回这个半死不活的pro micro吗?
2021年03月16日 06点03分 1
level 4
第二种情况的LOG
项目使用了 6732 字节,占用了 (23%) 程序存储空间。最大为 28672 字节。
全局变量使用了447字节,(17%)的动态内存,余留2113字节局部变量。最大为2560字节。
在端口 COM14 使用 1200
bp
s 开/关来强行重置
PORTS {COM1, COM14, } / {COM1, } => {}
PORTS {COM1, } / {COM1, COM8, } => {COM8, }
Found upload port: COM8
C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega32u4 -cavr109 -PCOM8 -b57600 -D -Uflash:w:C:\Users\compa\AppData\Local\Temp\arduino_build_212970/ArduinoISP.ino.hex:i
avrdude: Version 6.3, compiled on Feb 17 2016 at 09:25:53
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM8
Using Programmer : avr109
Overriding Baud Rate : 57600
AVR Part : ATmega32U4
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
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 9000 9000 0x00 0x00
flash 65 6 128 0 yes 32768 128 256 4500 4500 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 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 : butterfly
Description : Atmel AppNote AVR109 Boot Loader
Connecting to programmer: .
Found programmer: Id = "CATERIN"; type = S
Software Version = 1.0; No Hardware Version given.
Programmer supports auto addr increment.
Programmer supports buffered memory access with buffersize=128 bytes.
Programmer supports the following devices:
Device code: 0x44
avrdude: devcode selected: 0x44
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e9587 (probably m32u4)
avrdude: reading input file "C:\Users\compa\AppData\Local\Temp\arduino_build_212970/ArduinoISP.ino.hex"
avrdude: writing flash (6732 bytes):
Writing | ################################################## | 100% 0.58s
avrdude: 6732 bytes of flash written
avrdude: verifying flash memory against C:\Users\compa\AppData\Local\Temp\arduino_build_212970/ArduinoISP.ino.hex:
avrdude: load data flash data from input file C:\Users\compa\AppData\Local\Temp\arduino_build_212970/ArduinoISP.ino.hex:
avrdude: input file C:\Users\compa\AppData\Local\Temp\arduino_build_212970/ArduinoISP.ino.hex contains 6732 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 0.11s
avrdude: verifying ...
avrdude: 6732 bytes of flash verified
avrdude done. Thank you.
2021年03月16日 07点03分 2
level 4
今天写入了一个joystick的代码,正常出现,按键也正确回应。估计blink没反应是LED的阵脚跟nano有区别。
2021年03月17日 00点03分 3
level 11
UP 这个 能 IR接收器 接收 4个 红外(十字摆放) 做定位 当 飞鼠 标吗 ?? 纯小白 问
2021年08月05日 04点08分 4
1