Contact me: hankecnc@gmail.com

关于 Makefile、fuses 和 Arduino UNO 的问题 #537

推推 grbl 3年前 (2023-01-22) 170次浏览

关闭
michaelfranzl 打开了这个问题 2014 年 11 月 9 日 · 1条评论
关闭

关于 Makefile、fuses 和 Arduino UNO 的问题#537

michaelfranzl 打开了这个问题 2014 年 11 月 9 日 · 1条评论

注释

关于 Makefile、fuses 和 Arduino UNO 的问题 #537

你好,我有一个运行 Linux 的 Arduino UNO。编译 grblmake和上传 grblmake flash完美。我对 Makefile 的“融合”目标有疑问。在第 38 行,我们读到

FUSES      = -U hfuse:w:0xd2:m -U lfuse:w:0xff:m

运行时make fuse出现以下验证错误:

avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
     0x00 != 0xd2
avrdude: verification error; content mismatch
avrdude: safemode: hfuse changed! Was d2, and is now 0

根据这里的第一个答案:http: //arduino.stackexchange.com/questions/1672/reset-fuses-on-atmega328p-using-arduino似乎无法通过板载引导加载程序芯片设置 ATmega 芯片的保险丝 – – Arduino 的默认配置。

所以,我的假设是否正确,即不严格要求通过 Makefile 设置保险丝,而这make fuse只是出于历史原因,并不意味着与 Arduino 板一起使用?我只是想确保我没有错过重要的设置。

关于 Makefile、fuses 和 Arduino UNO 的问题 #537
成员

@michaelfranzl: 如果我没记错的话,你需要一个芯片编程器,通过ICSP header直接写入固件来更换保险丝。Makefile 已经过时了,但它仍然有效。

喜欢 (0)