0
Offline
Newbie
Karma: 0
Posts: 16
Arduino rocks
|
 |
« on: January 13, 2008, 04:54:40 am » |
I am trying to upload the blink-file to the Arduino board. I started some days before, no result: I always get: avrdude: stk500_getsync(): not in sync: resp=0x00 avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51 The booloader is on the chip, burned myself with another programmer. After resetting, the LED blinks 8 time shortly.I have the board with the SUBD connector (for COM1); nothing helps. I have the original Arduinoboard, on the pc is running Windows XP, I am using Arduino 0010. Please help!
|
|
|
|
|
Logged
|
|
|
|
|
Forum Administrator
Cambridge, MA
Offline
Faraday Member
Karma: 8
Posts: 3532
|
 |
« Reply #1 on: January 13, 2008, 10:20:32 am » |
How fast does the LED blink? Does it blink 8 times and then never blink again?
What command line did you use to burn the bootloader? Did you set the fuses?
What kind of original Arduino board?
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 16
Arduino rocks
|
 |
« Reply #2 on: January 13, 2008, 10:34:35 am » |
Fast, evan faster than every second...After blinking it stops. It starts again if I push the button on board. 8 times blinking and it stopps again. I am using the Arduimo serial v2.0 board with the sub-d connector. I burned the chip separately (on arduino board impossible) with another programmer and the same serial cable.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 16
Arduino rocks
|
 |
« Reply #3 on: January 13, 2008, 10:37:06 am » |
For the bootloader I just used the hex-file with my programmer (ATmega 8 was burned on this programmer, not on the Arduino-board because impossible) and the PonnyProg software.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 16
Arduino rocks
|
 |
« Reply #4 on: January 13, 2008, 10:49:49 am » |
I tried with Arduino 009, 0010, 002. The las one shows "Arduino is not responding".
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 16
Arduino rocks
|
 |
« Reply #5 on: January 13, 2008, 10:53:55 am » |
I'm not happy, I tried with two Arduino boards with the same result, if the beginn was so ... 
|
|
|
|
|
Logged
|
|
|
|
|
Forum Administrator
Offline
Newbie
Karma: 3
Posts: 0
|
 |
« Reply #6 on: January 13, 2008, 11:24:17 am » |
If you burned the bootloader yourself, did you make sure you burn the right fuses?
if they are not set correctly the processor would be running at the wrong speed.
Also make sure you select they right type of processor from the tools menu before you compile.
massimo
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 16
Arduino rocks
|
 |
« Reply #7 on: January 13, 2008, 11:34:48 am » |
It is an ATmega 8. Please give me the right fuses for the bootloader. I will try again with ponnyprog
|
|
|
|
|
Logged
|
|
|
|
|
Forum Administrator
Cambridge, MA
Offline
Faraday Member
Karma: 8
Posts: 3532
|
 |
« Reply #8 on: January 13, 2008, 11:58:20 am » |
The fuses are in the ARDUINO/hardware/boards.txt file.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 16
Arduino rocks
|
 |
« Reply #9 on: January 13, 2008, 12:22:07 pm » |
Sorry, i did not find it, do you have the link?
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 16
Arduino rocks
|
 |
« Reply #10 on: January 13, 2008, 12:33:48 pm » |
I think i destroyed my ATmega playing with these fuses, i don't understand when i open the boodloader hex-file with ponnyprog are the fuse-settings not saved with this file? i am sure it was ok so, it was no error during burning and now works nothing more. It is impossible to write on the chip now.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 16
Arduino rocks
|
 |
« Reply #11 on: January 13, 2008, 12:42:10 pm » |
So, one ATmega for the garbage for the second i will not play with the fuses...If you have another ideea, i am open for everything excepting fuses.
|
|
|
|
|
Logged
|
|
|
|
|
Forum Administrator
Cambridge, MA
Offline
Faraday Member
Karma: 8
Posts: 3532
|
 |
« Reply #12 on: January 13, 2008, 04:16:11 pm » |
Well, the fuses aren't in the bootloader .hex file. You do, however, need to set the fuses if you don't want the chip uses its internal clock (which on the ATmega8 is 8 MHz, I think, as opposed to the 16 MHz crystal on the board). Otherwise, you'll need to either recompile the bootloader so that it knows what clock speed its running at, or change the baud rate you use when uploading.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 16
Arduino rocks
|
 |
« Reply #13 on: January 13, 2008, 04:24:14 pm » |
I have a problem with these fuses, that is why i don't like the Atmegas so much. I never had such a problem with Pics. The only one thing that would help me, would be a screen-shot with the right fuses from PonyProg, maybe helps...
|
|
|
|
|
Logged
|
|
|
|
|
Forum Administrator
Cambridge, MA
Offline
Faraday Member
Karma: 8
Posts: 3532
|
 |
« Reply #14 on: January 13, 2008, 05:45:25 pm » |
Which hardware programmer are you using? If it's one that's in the Arduino IDE, I'd try using that instead of PonyProg, since I've tested that it sets the fuses correctly, etc.
|
|
|
|
|
Logged
|
|
|
|
|
|