Hi,
I am trying to use my MkII with a ATMEGA48. I have searched the forum for JTAG MkII and ATMEGA48 and have not seen one that has helped.
I used the STK500 to set the DWEN fuse.
I then connect the MkII Squid cable to the Green SPROG2 connector.
Then I connect using the MkII and try to read the device signature, I get the following error:
---------------------------
ISP Mode Error
---------------------------
A problem occured when executing the command. See the command output for more info.
Tip: Check that the ISP programming frequency specified on the 'Board' page is well
below 1/4 of the clock frequency of the device. Extra precaution should be made when
using the CKDIV fuse and/or Clock Prescaler Register (CLKPR) on parts supporting
this. If this does not help, check your connections.
See the troubleshooting section in the help system for more information on what may
have caused the problems.
---------------------------
OK Help
---------------------------
The command output is:
Setting device parameters.. OK!
Entering programming mode.. FAILED!
Leaving programming mode.. OK!
I reduced the ISP Freq. to 100 Hz and the message changed to:
Setting device parameters.. OK!
Entering programming mode.. FAILED!
Leaving programming mode.. FAILED!
I have tried other ISP Freq settings from 1 MHz down to 125khz.
I am using the internal oscillator at 1 MHz.
I have used my MkII with a ATMEGA16 but now I need to code a self-programming routine for the ATMEGA48 and therefore would like to use the DebugWIRE.
I have also noticed I do not have 'JTAGICE MkII Options' in my tool menu as described in several other posts.
Has anyone used a MkII w/ATMEGA48 in DebugWIRE mode?