ritech 发表于 2016-3-16 20:44:37

atmega32u4 软件跳bootloader问题

用的lufa 151115的库,开发平台ubuntu ,avr-gcc, 用的DFU bootloader, 现在硬件已经可以实现复位, 短接rest 到gnd 即可进入bootloader模式
bootrst 熔丝设置了0 bootsz1 bootsz0 都设置成了0
low_fuses=0xff
high_fuses=0xd8
extended_fuses=0xcb

做了一个简单的虚拟串口服务 ,在软件内设置了跳转激活,设备管理器的串口设备消失,但是并没有跳转到bootloader,过了一会儿还是执行到application
用的方式是下面的方法, 做了个简单触发方式来激活

http://www.fourwalledcubicle.com/files/LUFA/Doc/151115/html/_page__software_bootloader_start.html#Sec_SoftareBootAVR8

现在magic boot key和dfu的key都是一样的


百思不得解,求大神来解惑。
页: [1]
查看完整版本: atmega32u4 软件跳bootloader问题