Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

RE: [AVR-Chat] SPI programmer problem

2004-12-12 by wbounce

I am experiencing a similar problem My currently loaded program uses
portb pin 0 SS and so it is setting this improperly and causing me not
to be able to program the board.

I posted a question somewhere else. Hopefully someone will have an
answer.



-----Original Message-----
From: beaver [mailto:bvr@o2.pl] 
Sent: Sunday, December 12, 2004 12:56 PM
To: AVR-Chat@yahoogroups.com
Subject: [AVR-Chat] SPI programmer problem



12 grudnia 2004, 18:27

I've simple spi programmer. I've successfuly programmed mcu (atmega8)
several times (about 20), but today I had to change something in it and
I've accidently changed MISO and MOSI lines. I've tried to write the mcu
but of course it didn't work. I've found the mistake and I've changed
the lines back, however I can't write flash now.

I can read the flash and it contains good, and working code which was
written to the mcu before modifications made to spi programmer. I'm also
able to read the signature, lock and fuse settings, so I know that the
lock bits aren't set.

When I'm trying to write something (flash, eprom, fuse bits) the mcu
hangs and there is verification error at address 0. After that any read
from mcu returns 0xff (for example when I want to read signature)

Maybe someone had same or similar problem? Do You think that changeing
MISO and MOSI could damage the mcu?

-- 
beaver

JID: bvr@jabber.org





 
Yahoo! Groups Links

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.