|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
ATMEGA328PHi guys, I'm suddenly having problems programming my atmega328p's
atmega8's are programming fine and have the same pinout which I believe rules out my connections I'm using UBUNTU, avr-gcc, USBasp, avrdude Also, a friend who I am working with is also having trouble programming these uC's at almost the exact same time. We have been programming these uC's successfully for a while so it seems strange for it to suddenly stop working for both of us at the same time. My logic probe picks up pulses on the MOSI, SCK, and RESET wires but no pulses on the MISO wire (which reflects the "no response" error recieved Can anyone offer any insight? Cheers |
|
|
Re: ATMEGA328POn Mon, 2009-10-12 at 21:18 -0700, darkschine wrote:
Fuses? _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@... http://lists.nongnu.org/mailman/listinfo/avr-gcc-list |
|
|
Re: ATMEGA328Pdarkschine <zhpctw3dash@...> wrote:
> Hi guys, I'm suddenly having problems programming my atmega328p's > atmega8's are programming fine and have the same pinout which I > believe rules out my connections That description matches the description given in this thread: http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=84772 However, I have not been able to reproduce this problem in any way, neither using version 5.6 nor 5.8. Please run your AVRDUDE with the options -vvvv, and compare the debug log against the logs I've posted there. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@... http://lists.nongnu.org/mailman/listinfo/avr-gcc-list |
|
|
Re: ATMEGA328PHello,
maybe you have too fast SPI clock ? I recently did some experimenting with ISP programming and if I had too fast SCK, I got 0xFFs. Vasek > ------------ Původní zpráva ------------ > Od: darkschine <zhpctw3dash@...> > Předmět: [avr-gcc-list] ATMEGA328P > Datum: 13.10.2009 06:34:05 > ---------------------------------------- > > Hi guys, I'm suddenly having problems programming my atmega328p's > atmega8's are programming fine and have the same pinout which I believe > rules out my connections > > I'm using UBUNTU, avr-gcc, USBasp, avrdude > > Also, a friend who I am working with is also having trouble programming > these uC's at almost the exact same time. > > We have been programming these uC's successfully for a while so it seems > strange for it to suddenly stop working for both of us at the same time. > > My logic probe picks up pulses on the MOSI, SCK, and RESET wires but no > pulses on the MISO wire (which reflects the "no response" error recieved > > Can anyone offer any insight? > > > Cheers > -- > View this message in context: > http://www.nabble.com/ATMEGA328P-tp25866964p25866964.html > Sent from the AVR - gcc mailing list archive at Nabble.com. > > > > _______________________________________________ > AVR-GCC-list mailing list > AVR-GCC-list@... > http://lists.nongnu.org/mailman/listinfo/avr-gcc-list > > > _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@... http://lists.nongnu.org/mailman/listinfo/avr-gcc-list |
|
|
Re: ATMEGA328PJust wanted to post that I have solved the problem thanks to the help of the respondents. The problem was indeed the fuses, possibly cause by attempting to program with a bad GND reference. The problematic fuse was the reset fuse, as in, the reset pin had been disabled. The problem was overcome by forcing a hard reset by switching the power to the IC through a transistor triggered by the reset pulse of the programmer. There were some timing issues using this method, but 1/10 programs were successful. Only one successful program was needed to return the fuses to the original state to resume normal operation so correcting these timing issues were not explored. I hope anyone experiencing similar problems has found this solution helpful. I'm sure the suggestion of parallel programming may have worked, however the method was not available to us at the time. |
| Free embeddable forum powered by Nabble | Forum Help |