SPI programmer problem
2004-12-12 by beaver
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