[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Uisp-dev] Re: Programing ATtiny13
From: |
don |
Subject: |
[Uisp-dev] Re: Programing ATtiny13 |
Date: |
Sat, 22 Oct 2005 09:25:39 -0700 |
User-agent: |
Mutt/1.5.9i |
On Thu, Oct 20, 2005 at 07:09:32PM -0700, wrote:
> Using an stk500 system, I cannot program the device, the code always
> read as 0xff, until I tried to write to a fuce byte as a test. Now
> any access gives "Failed to enter programming mode.".
Things are not as bad as I had thought. It seems I made an error setting
the fuses and it couldn't be programed over SPI. With AvrStudio4 on
MS-WIn, I was able to use high voltage programming to fix the fuses.
Now that that is fixed, I can write and read the fuses with usip.
I also used AvrStudio to program it with my code. Now when I try to verify
with uisp, I don't see all ones, or the right code. This may be a clue
to what is wrong.
Atmel AVR ATtiny13 is found.
Verifying: flash
flash error at address 0x0: file=0x09, mem=0x0c
flash error at address 0x1: file=0xc0, mem=0x94
flash error at address 0x2: file=0x20, mem=0x46
flash error at address 0x3: file=0xc0, mem=0x00
flash error at address 0x4: file=0x1f, mem=0x0c
flash error at address 0x5: file=0xc0, mem=0x94
flash error at address 0x6: file=0x1e, mem=0x63
flash error at address 0x7: file=0xc0, mem=0x00
flash error at address 0x8: file=0x1d, mem=0x0c
flash error at address 0x9: file=0xc0, mem=0x94
flash error at address 0xa: file=0x1c, mem=0x63
The values 0x00, 0x0c, 0x94, 0x63 then repeat for the rest of the
programed space.
--
Don Reid