----- Original Message -----
From: "Dave VanHorn" <
dvanhorn@dvanhorn.org>
To: <
AVR-Chat@yahoogroups.com>; <
AVR-Chat@yahoogroups.com>
Sent: Tuesday, March 15, 2005 11:43 AM
Subject: Re: [AVR-Chat] Oh, I am so tired of this..
> >1. Copy the code from the running micro into the units that don't run. to
> >prove that the h/w of the two units is ACTUALLY ok.
>
> I'd love to be able to do that, but I can't..
> I was, after some greif, able to pull the hex out of the working unit, and
> it looks sane to me in notepad.
> However, at this point, I am unable to get the same unit that I used to
> pull the software out of the working board, into the suspect
> board. Another unit (see prev message) claims to program but has a verify
> error.
> Both of these programmed and verified earlier today.
>
> I've also checked the AVRISPs and Jtag ices on known good systems (AVR
> production products) and they are NFG.
Do you use Imagecraft C for the AVR? If so can you try using the inbuilt
programmer with the ISP and see what happens.
I assume you are using the serial ISP - have you tried the Parallel port
version? (perhaps even using PonyProg?)
It won't necessarily solve your problem but might vindicate the h/w -
although the way you describe it, sounds like it is the tools - but what has
changed??
> >Any External Reset sources?
> Nope. pulled high with 1k and verified high with meter and scope.
What about the PEN pin - that should be pulled high.
> >9. Do you have an STK500 around? Can you double check your tools with it?
>
> Yup. It's also hosed.
> I'm really thinking it's studio that's out to lunch here.
Looks like it..
What version of AVRStudio are you using? I seem to remember something on
avrfreaks about Atmel upgrading the ISP/JTAG protocol with Studio 4.11 and
that some people had problems upgrading the s/w in their JTAGs/ISPs.
Your might want to check that avenue.
Or just try to manually upgrade the firmware on ONE JTAG ice - just to see
if it makes a difference.
> >10. You mention 3V VCC - You _are_ using the Mega128-L part aren't you?
> >(sorry)
>
> Yes, a nice big "L" in the part number, and the crystal is 8 MHz, and
> that's what the fuses are set for.
>
Is it possible to run the board at 5V (or at least 'as high as you
dare) -'just to see' if it makes a difference?
>
> >11. Do you have any s/w running in the background that may affect timing.
> >Can you see a pattern as to when it all fails (eg. in the afternoon might
> >mean the PC might be overheating etc) - I know that this one is a long
shot
> >(sorry).
>
> It isn't even starting up. The Port inits aren't happening.
> Same in emulation, it just sits at the reset vector and whines that it
> can't read data from the part.
Sorry - I meant on the PC.
Just a thought Dave - what EXATly is the problem with nor connectiong.
Does AVRStudio not detect the JTAG/ISP or is it that the ice does not detect
the device?
If it is the former then running up a terminal program at 19K2,8,n,1 and
typing 'S' at the JTAGICE should result in 'AVRBOOT' being returned to you.
(you may need to cycle pwr to the ICE as it defaults to 19K2). This verifies
you serial port etc.
Did you want to read out the fuse settings and post them here - so that
others can 'double check' them for you. - problem being, I suppose, that you
can't connect to the micro to read them out!!? Can you erase the micro and
start again?
I
MSGTAG has notified the sender that you have read this message.