2010年8月4日 星期三

Troubleshooting of Arduino Severino

Good data from "Madworm" of Arduino forum:
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?action=print;num=1243607033

madworm wrote:

Did you already do the RX/TX pin loopback test ?

Take a wire and connect RESET to GND to disable the microcontroller.
Then take another wire and short pin-0 and pin-1.

Use the serial monitor and input some text. If you press SEND, it should be echoed back.
If that works, it may be a bootloader problem or a dead chip.

You can try changing the upload speed of the IDE for your board. It's either 19200 or 57600.
Changes need to be made in boards.txt + restart of the software.


I just do that and review text descritp, then done. Thanxs madworm

My Arduino Severino Working... 呵呵

說起來也真剛好,因為正在上初級8051的課程,老師還是用傳統LPT或COM的ISP cable燒韌體,可是NB就只有USB,google一下,用USB燒錄單晶片的FREESOURCE有USBTinyISP與USBASP等等,為何選USBASP,我也不知道,反正找到資料就試了www.fischl.de/usbasp/
先是用洞洞板做了一塊(照片待續...),用公版韌體,但怎麼試都無法順利驅動它,搞了快一個多月,也看了很多線上資料,無奈還是沒有解決問題,最終的結論是>>>>FUSE<<<<的設定,找對方向,問題就容易解決.
也順利完成USBASP for 89S功能...(待續...),
離題了,原先就是用Severino S3V3的板子,來燒錄ATMega8,完成了USBASP後,接著處理Arduino,這次就只花一天的時間解決韌體的燒錄及測試bling 13 led的功能,剛開始也是讓下列這些訊息給絆住
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
結果還是fuse的設定呀