Can't get my Genboard v2.2 working...
Using Marcell's programming instructions from: http://www.x-dsl.hu/genboard/programmer.txt
Currently my cable is wired as an STK200:\nÿ1ÿ
AVRDude reports:
\n
C:\WinAVR>avrdude -c stk200 -p m128 -F avrdude: AVR device not responding avrdude: initialization failed, rc=-1 avrdude: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% 0.00s avrdude: Device signature = 0xffffff avrdude: Yikes! Invalid device signature. Check stk200 entry in avrdude.conf and measure from end-to-end (parallel DSUB25 to AVR pin), and extend the table above with AVR pin number. (avrdude.conf looks the same as Marcell's instructions. <1Ohm from Dsub to AVR pins, everythings matches) avrdude: safemode: Fuses OK avrdude done. Thank you. C:\WinAVR>
\n
this is what I use with linux mknod /dev/parport0 c 99 0 chmod a+rw /dev/parport0 avrdude -p t13 -c bsd -E noreset -e -U flash:w:test.hex AVR db25 reset to pin#7 SCK to pin#8 MOSI to pin#9 MISO to pin#10 gnd to pin#18
- Currently I'm trying this with my relatively new Dell laptop (D600 in docking station). I read somewhere that sometimgs the parallel port pins don't match up to what they need to be (D0, busy, etc). Am I better off with an ancient motherboard and running Linux??
- when it does not work, starting all over again often helps. This involves
- making a new (try shorter: max 20cm long. How long did you try?) cable (IIRC: stk200 type works in both avrdude and uisp),
- using another parallel port
- another computer
- another program (uisp vs. avrdude)
- when it does not work, starting all over again often helps. This involves
- see that there is no short
- IIRC you tried injecting 4..8 MHz into XTAl1 pin (see atmega128 datasheet), that can help if fuses inside the AVR are already set to insane values.
and see if it works.
What I've checked:
- Installed giveio.sys, service started
- ISP pins to pins on AVR
- Had a bad solder on the VCC pin of the ISP header. Does this matter?
- VCC/GND to AVR
- check all GND and VCC, there are many. Document your measurements here (include AVR pin number everywhere).
- AVCC (pin 64) - +5V
- VCC (pin 52) - +5V
- VCC (pin 21) - +5V
- < 1 Ohm from each ground pin to ground plane
- check all GND and VCC, there are many. Document your measurements here (include AVR pin number everywhere).
- Clock signal on XTAL pins
- what does it mean ? The clock is oscillating with 16 MHz ?
- Yes, didnt have a crystal, using a standalone oscillator feeding 16MHz TTL level pulses to XTAL1
- what does it mean ? The clock is oscillating with 16 MHz ?
What's next? I can scope it if necessary, just don't know what I'm looking for...