bmandl
Full Member level 4
Hello,
I built my custom atmega644 board with arduino code. I used Sanguino board configuration. My application is using stepper motor. I couldn't figure out, why my stepper is not turning with speed I configure it (at first I thought, that I made a mistake with my custom stepper driver, but it was not the case). Then I somehow noticed, that program is not using proper delays. I figured out, that something is wrong with clock. I have 16Mhz crystal soldered with atmega, but somehow fuses wasn't correctly programmed (i guess). So I decided to program them myself. I burned 0x77 as a low fuse byte and 0x99 as a high fuse byte, which means external full swing oscillator, right? Now, I can't program my avr anymore.
My question is, did I correctly program the fuses for external 16Mhz crystal? And how can I program my avr again? I am using avr pocket programmer from SparkFun.
PS.: When I first programmed my avr, I didn't have crystal soldered yet. Maybe this was the first issue?
Please, don't suggest me to use any hardware programmers to reset fuses (dragon, stk500 or something like that), because I don't have it and I don't have time to order it either.
I built my custom atmega644 board with arduino code. I used Sanguino board configuration. My application is using stepper motor. I couldn't figure out, why my stepper is not turning with speed I configure it (at first I thought, that I made a mistake with my custom stepper driver, but it was not the case). Then I somehow noticed, that program is not using proper delays. I figured out, that something is wrong with clock. I have 16Mhz crystal soldered with atmega, but somehow fuses wasn't correctly programmed (i guess). So I decided to program them myself. I burned 0x77 as a low fuse byte and 0x99 as a high fuse byte, which means external full swing oscillator, right? Now, I can't program my avr anymore.
My question is, did I correctly program the fuses for external 16Mhz crystal? And how can I program my avr again? I am using avr pocket programmer from SparkFun.
PS.: When I first programmed my avr, I didn't have crystal soldered yet. Maybe this was the first issue?
Please, don't suggest me to use any hardware programmers to reset fuses (dragon, stk500 or something like that), because I don't have it and I don't have time to order it either.