[Top][All Lists]
[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
- [avr-chat] AVR and accelarometers, nautilussoftware, 2007/11/16
- Re: [avr-chat] AVR and accelarometers, David VanHorn, 2007/11/16
- Re: [avr-chat] AVR and accelarometers, Clemens Koller, 2007/11/16
- Re: [avr-chat] AVR and accelerometers, Bob Paddock, 2007/11/16
- Re: [avr-chat] AVR and accelerometers, Clemens Koller, 2007/11/17
- Re: [avr-chat] AVR and accelerometers,
Michael Hennebry <=
- Re: [avr-chat] AVR and accelerometers, Shashank Chintalagiri, 2007/11/18
- Re: [avr-chat] AVR and accelerometers, Bob Paddock, 2007/11/18
- Re: [avr-chat] AVR and accelerometers, Clemens Koller, 2007/11/18
- Re: [avr-chat] AVR and accelerometers, Graham Davies, 2007/11/18
- Re: [avr-chat] AVR and accelerometers, Bernard Fouché, 2007/11/19
- Re: [avr-chat] AVR and accelerometers, Clemens Koller, 2007/11/19
- Re: [avr-chat] AVR and accelerometers, Bob Paddock, 2007/11/19
- Re: [avr-chat] AVR and accelerometers, Bob Paddock, 2007/11/19
Message not available