avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-chat] AVR and accelerometers


From: Michael Hennebry
Subject: Re: [avr-chat] AVR and accelerometers
Date: Sat, 17 Nov 2007 19:48:56 -0600 (CST)

On Fri, 16 Nov 2007, Bob Paddock wrote:

> Now with that stage set we have the entrance of Mr. Murphy.
>
> During the exchange between the programming software/hardware
> communicating with the AVR to load its program, Mr. Murphy throws
> in a some data bits on the MOSI (SDA/SDI/SDO) line, that are
> properly clocked (SCL/SPC), from the perspective of the 302, so
> that the 302 sees its own address.
>
> As a now properly selected 302, from the view of the 302, it is
> obligated to generate an ACK on the SDA/SDI/SDO line.

If one really wants, I think that there is a way around that:
Find out what data bytes cause the problem and avoid them during ISP.
Avoiding them and still getting them into
flash would require writing some pages twice.
Once for the odd 0s and once for the evens might do the trick.
If it works, at most 8 passes will be necessary..
If one can't do ~(1<<0), ... ~(1<<7) and the ISP command bytes,
the problem is not solveable.

I did write "really wants".

> Remember the programming software is talking to the AVR using
> this same line as MOSI. This ACK from the 302 does not belong on
> the MOSI line at this time, creating contention on the MOSI
> line. This causes the programming software to abort the transfer
> because the AVR data was found to be corrupted during the
> verification cycle (just as likely the verification cycle is what
> is corrupted, but that you may be able to recover from).

-- 
Mike   address@hidden
"Horse guts never lie."  -- Cherek Bear-Shoulders





reply via email to

[Prev in Thread] Current Thread [Next in Thread]