At the moment I'm using avrgcc and attempting to configure a atmega8 (PDIP) to use its 8mhz internal oscillator.
I'm using a stk200 compatible programmer:
With this I'm using either avrdude or ponyprog.
How do I program the OSCCAL register using the stk200 style programmer? And what value should I put in the register to correctly suit the configured 8mhz internal RC oscillator?
do i need to program the EESAVE bit in the hfuse?
Also what values should I use in the hfuse and lfuse (start up time is not critical)?
ATM I'm trying:
1101 1001 0xD9
1110 0100 0xE4
Any help would be much appreciated.