荣耀彩票代理

IT技术互动交流平台

非标准USBasp下载线烧录Arduino BootLoader的参数设置

作者:Stuxnet  来源:IT165收集  发布日期:2015-03-05 20:25:27

本文仅适用于BootLoader损坏且买到国产“免驱USBasp下载线”导致Arduino IDE无法识别从而不能烧写的情况。是一种略显非主流的操作方式。

荣耀彩票代理YINWEIArduinoDEIDEBINGBUZHICHIZHEIZHONGMIANQUDEUSBaspXIAN,HUITISHICUOWU。

SHIQINGDEQUANCHENGSHIZHEIYANGDE:

1.ZHENGZHUANG

荣耀彩票代理YONGArduinoKONGZHIDUOJIBUSHENWANTUOLE,CHARUDIANNAOSHI,ZAI“SHEBEIGUANLIQI”ZHONGMEIYOUCHUANKOUTISHI,YONGArduino IDEWUFAXIAZAICHENGXUDAODIANLUBANZHONG,TISHIZHAOBUDAOCOMKOU。ERQIEDIANNAOYEZHAOBUDAOCHUANKOU。GUJISHIBootLoaderSUNHUAILE,ZHUNBEIYONGUSBaspXIAZAIXIANZHONGXINSHAOLU。

2.ZHUNBEIJIEJUE

荣耀彩票代理ZHIQIANDEBIAOZHUNUSBaspXIAZAIXIANSONGJILEBIAODI,ZHIHAOZAIMAIYIGEN。MAILEGE“GUOCHANMIANQUDONG”DEXIAZAIXIAN,DAOSHISHENGLEANZHUANGQUDONGLE。CHADAODIANNAOSHANGZHIHOUBINGBUSHENGCHENGCHUANKOUHAO,ZHISHISHIBIEWEILEYIGEUSB-HIDSHEBEI,RUTU。

荣耀彩票代理PUTONGDEUSBaspXIANYOU10GEYINJIAO,ArduinoZHIYOU6GE。DANZHIYAOYINJIAOJIEDUILE,HAISHINENGSHIPEIDE。YONGDUBANGXIANLIANGLIANGLIANJIEYIXIAYINJIAO:MOSI,VCC,RST,SCK,MISO,GND。

BUXINGDESHI,YOUYUArduino IDEDE"GAODUANDAQIGUOJIFANER",GENBENSHIBIEBUDAOZHEIZHONGXIUGAIGUOGUJIANDE“ZHONGGUOTESE”USBaspXIAZAIXIAN,YONGCHANGGUIFANGFAGENBENWUFAJINXINGSHAOLUCAOZUO,XIANSHICUOWU“could not find USB device "USBasp" ”“avrdude: stk500_getsync(): not in sync: resp=0x00”,WUFALIANJIE。

3.BOYUNJIANRI

GUIGENJIEDI,ArduinoBUJIUSHIYIGEAtmega 328PDANPIANJIHEWAIWEIDIANLUMA,BootLoaderYEBUGUOSHIDANPIANJIDEYIGEFLASHWENJIAN,HEBIYAOYIKAOArduino IDENI!(SHUOSHIZHEIMESHUO,DANGSHIXIEBUJINQUDESHIHOUHAISHIYOUDIANJINGHUANGDE…) LENGJING,LENGJING。JIRANYOULEXIAZAIXIAN,WOMENJIUANDANPIANJIDEWANFA,ZHIJIEXIAZAIBIANYIHAODEFLASHWENJIAN。DANArduino UNODEFLASHSHINAGENI?MEIYOUGUANFANGLIEBIAOZHONGZHICHIDEXIAZAIQIZENMEBAN?

荣耀彩票代理ZHEIZHONGGUOCHANMIANQUDONGDEXIAZAIXIAN,KEYIYONGPROGISPZHEIKUANRUANJIAN。(AVR fighterSIHUYENENGYONG,DANSHISUOZHICHIDEXINPIANLEIXINGSHUMUSIHUMEIYOUPROGISPDUO)

XIAZAIRUANJIANXUANHAOLE,DANRUANJIANLIYIDUIDECANSHUYINGDANGRUHESHEZHI?ZAIArduinoDEWENJIANJIALIYIJINGYOULESHUOMING。YIWODEWEILI,“E:\arduino-1.0.5-r2\hardware\arduino”WENJIANJIAZHONGDEboards.txtLIMIANBAOHANLEGEZHONGXINGHAOArduinoDECANSHU,WODESHIArduino UNO,WENJIANLIDUIYINGJIZAICANSHURUXIA:

##############################################################

荣耀彩票代理uno.name=Arduino Uno

uno.upload.protocol=arduino

荣耀彩票代理uno.upload.maximum_size=32256

荣耀彩票代理uno.upload.speed=115200

荣耀彩票代理uno.bootloader.low_fuses=0xff

荣耀彩票代理uno.bootloader.high_fuses=0xde

荣耀彩票代理uno.bootloader.extended_fuses=0x05

uno.bootloader.path=optiboot

uno.bootloader.file=optiboot_atmega328.hex

荣耀彩票代理uno.bootloader.unlock_bits=0x3F

荣耀彩票代理uno.bootloader.lock_bits=0x0F

uno.build.mcu=atmega328p

uno.build.f_cpu=16000000L

荣耀彩票代理uno.build.core=arduino

荣耀彩票代理uno.build.variant=standard

荣耀彩票代理##############################################################

ZHEILIBINGBUYONGWANQUANJIZHU,SHEDINGJIGEGUANJIANZHIJIKE:

荣耀彩票代理1.YONGDUBANGXIANDUIYINGLIANJIEarduinoYUUSBaspXIAZAIXIANDEYIXIAYINJIAO:MOSI,VCC,RST,SCK,MISO,GND。

XIAZAIXIANCHARUDIANNAO,DAKAIPROGISPRUANJIAN,FLASHWENJIANXUANZE“E:\arduino-1.0.5-r2\hardware\arduino\bootloaders\optiboot”WENJIANJIALIDE“optiboot_atmega328.hex”。

2.SHANGMIANLIEBIAOZHONGDElow_fuses=0xff(DIRONGSIWEI),high_fuses=0xde(GAORONGSIWEI),extended_fuses=0x05(KUOZHANRONGSIWEI)ZHEISANGEYAOZAIPROGISPLIMIANSHEZHIHAO。

3.DIANJIRUANJIAN“ZIDONG”,JIKAISHIZIDONGCACHU,FUWEI,SHAOXIE,SHEZHIRONGSIWEIDENGYIXILIECAOZUOLE。SHIJIMIAOZHIHOUTISHIWANCHENG。

RANHOUBADIAOXIAZAIXIAN,YONGUSBXIANLIANJIEDIANNAOHEArduino,SHIBUSHIYOUNENGSHIBIECHUXINYINGJIAN、YOUNENGHUANLEDIXIERUCHENGXULE?

延伸阅读:

Tag标签:      
  • 专题推荐

About IT165 - 广告服务 - 隐私声明 - 版权申明 - 免责条款 - 网站地图 - 网友投稿 - 联系方式
本站内容来自于互联网,仅供用于网络技术学习,学习中请遵循相关法律法规