Robofun 機器人論壇

標題: ARDUINO MEGA2560 DS1307 [打印本頁]

作者: karta282036    時間: 2014-2-9 16:51
標題: ARDUINO MEGA2560 DS1307
本帖最後由 karta282036 於 2014-2-9 21:52 編輯

誰可以幫幫我!我快要把板子砸掉了!我有給它 ARDUINO官方的RTC程式

Time, TimeAlarms, and DS1307RTC
http://playground.arduino.cc/Code/Time
都有下載給他!!
可是一直燒不進去!


我之前是有用這個板子bootloader 給其他IC ATMEGA328P!
bootloader完之後就壞掉了!!
我還拿LED 去測試右上角SDA SCL 看上傳時會閃嗎? 發現不會閃!!
所以我想應該是我bootloader時不小心把它弄壞了吧!

作者: vegewell    時間: 2014-2-11 11:45
回復 1# karta282036

如果你的arduino mega硬體沒問題的話,
只是 bootloader 程式糢掉了,
那你要為arduino mega重新安裝bootloader,
如果你手上另一塊板子,
那就容易,
這個網頁有在教:
Atmega bootloader programmer
---
http://www.gammon.com.au/forum/?id=11635
----
Yes, on mine it is between the reset button and the processor chip.
If there is another ICSP header near the USB port that is for reprogramming the USB chip.

If you can't get avrdude to work, this post describes a way of uploading the bootloader if you have a spare Uno around:
作者: karta282036    時間: 2014-2-12 10:01
本帖最後由 karta282036 於 2014-2-12 10:03 編輯

回復 2# vegewell
OK 我試試看!! 但我現在沒有板子!! 跟我同學拿吧!!




歡迎光臨 Robofun 機器人論壇 (https://robofun.net/forum/) Powered by Discuz! X3.2