jpraus / arduinoflake

https://twitter.com/jipraus
Other
21 stars 3 forks source link

About burning bootloader and uploading "blink" example #1

Open Chunchun-tian opened 3 years ago

Chunchun-tian commented 3 years ago

hi,I really like your design, so I tried to make it myself, and I used "Arduino flake" Gerber of rev4. Zip "has found some problems. Please help me to deal with them. I used Arduino uno to upload the bootloader for arduinoflake. Arduino ide showed "upload succeeded" and the two LEDs on arduinoflake began to flash twice a second. I think the bootloader should have been successful, but then I continued to try to upload the "blink" sample program, but always prompted me "avrdude: stk500" getsync(): can't communicate with device: resp=0xfc

”For asynchronous messages, I use the connection mode of ISCP to arduinonuno (RST > > 10 MoSi > > 11 SCK > > 13 miso > > 12 GND > > GND VCC > > 3.3V

) image image image

Chunchun-tian commented 3 years ago

and tried every download mode in "programmer", and also tried to use micro USB cable through ch340. But the results are not correct upload procedures. Can you help me?

Chunchun-tian commented 3 years ago

@jpraus

jpraus commented 3 years ago

Hi! What hardware are you using? Did you build your own hardware? I experienced the same issue with ATmega8 not being genuine. It's internal close are not running in precise interval. You can try to flash it with bootloader with 1MHz clock and try to upload. If it passed that the Atmega8 clock is problem.

Chunchun-tian commented 3 years ago

Hello, I use your rev4 version of PCB chip atmega8l. I searched some information and suspected it was a clock problem. Thank you for your question. Next, I will try to use the 1MHz clock, restart the program, and then try to upload. I'll give you feedback on my running results later. Thank you again for your help! brother

---Original--- From: "Jiří Praus"<notifications@github.com> Date: Thu, Sep 10, 2020 20:48 PM To: "jpraus/arduinoflake"<arduinoflake@noreply.github.com>; Cc: "Pinkman"<269263336@qq.com>;"Author"<author@noreply.github.com>; Subject: Re: [jpraus/arduinoflake] About burning bootloader and uploading "blink" example (#1)

Hi! What hardware are you using? Did you build your own hardware? I experienced the same issue with ATmega8 not being genuine. It's internal close are not running in precise interval. You can try to flash it with bootloader with 1MHz clock and try to upload. If it passed that the Atmega8 clock is problem.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Chunchun-tian commented 3 years ago

According to your method, I chose the internal 1 MHz clock when burning the boot program, but I still failed to upload. At the same time, after the upload failure, the LED will flash like the video in the attachment. I don't know what to do next。

------------------ 原始邮件 ------------------ 发件人: "jpraus/arduinoflake" <notifications@github.com>; 发送时间: 2020年9月10日(星期四) 晚上8:48 收件人: "jpraus/arduinoflake"<arduinoflake@noreply.github.com>; 抄送: "‭"<269263336@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [jpraus/arduinoflake] About burning bootloader and uploading "blink" example (#1)

Hi! What hardware are you using? Did you build your own hardware? I experienced the same issue with ATmega8 not being genuine. It's internal close are not running in precise interval. You can try to flash it with bootloader with 1MHz clock and try to upload. If it passed that the Atmega8 clock is problem.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Chunchun-tian commented 3 years ago

嗨!您正在使用什么硬件?您是否构建了自己的硬件?我遇到了同样的问题,但ATmega8并不是真正的。它的内部关闭没有以精确的间隔运行。您可以尝试使用引导加载程序以1MHz的时钟对其进行刷新,然后尝试上传。如果通过,说明Atmega8时钟有问题。

I still failed according to your method, I even bought ISCP downloader now, but still can't solve the problem.. I feel terrible

Chunchun-tian commented 3 years ago

Hi! What hardware are you using? Did you build your own hardware? I experienced the same issue with ATmega8 not being genuine. It's internal close are not running in precise interval. You can try to flash it with bootloader with 1MHz clock and try to upload. If it passed that the Atmega8 clock is problem.

Let me tell you a good news. I finally solved this problem. The solution is that I changed the chip again and found that it can be used normally. I suspect that the chip was broken down during burning. Anyway, thank you very much for your design. I like it very much. I will give it to my girlfriend.

Chunchun-tian commented 3 years ago

Hi! What hardware are you using? Did you build your own hardware? I experienced the same issue with ATmega8 not being genuine. It's internal close are not running in precise interval. You can try to flash it with bootloader with 1MHz clock and try to upload. If it passed that the Atmega8 clock is problem. image image