[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] UISP and ATtiny15
From: |
Alexander Popov |
Subject: |
[avr-gcc-list] UISP and ATtiny15 |
Date: |
Mon, 19 Apr 2004 16:08:31 +0300 |
Hello!
I've had some problems programing ATtiny15 with UISP:
--------------------------------
uisp -dprog=stk200 -dvoltage=5 --upload if=irrx.rom --verify -v
AVR Direct Parallel Access succeeded after 0 retries.
Atmel AVR ATtiny15 is found.
Uploading: flash
#Error: Data polling readback status: write=0x08 read=0xff
If device was erased disable polling with the -dno-poll option.
--------------------------------
So I used the -dno-poll option:
--------------------------------
uisp -dprog=stk200 -dvoltage=5 --upload if=irrx.rom --verify -v \
-dno-poll
AVR Direct Parallel Access succeeded after 0 retries.
Atmel AVR ATtiny15 is found.
Uploading: flash
#
(total 10 bytes transferred in 0.03 s (347 bytes/s)
Verifying: flash
#flash error at address 0x1: file=0x27, mem=0x00
flash error at address 0x3: file=0xef, mem=0x1f
flash error at address 0x5: file=0xbb, mem=0x17
flash error at address 0x7: file=0xbb, mem=0x08
flash error at address 0x9: file=0xcf, mem=0xff
(total 10 bytes transferred in 0.01 s (839 bytes/s)
--------------------------------
After this the device was not programmed correctly (a LED on one
pin had to light, but it wasn't).
After some tries i found the -dvoltage=3 option fixed the problem
(my power supply was stabilized 5V). The binary search showed the
maximum value for which the chip programmed ok was
dvoltage=4.25V
I used the ATtiny15L-1PI chip.
Maybe some increasing of the calculated delay should be done in
UISP for ATtiny15L?
--
Best regards,
Alexander Popov address@hidden
Master of Engineering
- [avr-gcc-list] UISP and ATtiny15,
Alexander Popov <=
- Re: [avr-gcc-list] UISP and ATtiny15, Raphael Assenat, 2004/04/19
- Re: [avr-gcc-list] UISP and ATtiny15, Theodore A. Roth, 2004/04/19
- Re[2]: [avr-gcc-list] UISP and ATtiny15, Alexander Popov, 2004/04/19
- Re[2]: [avr-gcc-list] UISP and ATtiny15, Theodore A. Roth, 2004/04/19
- Re: Re[2]: [avr-gcc-list] UISP and ATtiny15, hanzl, 2004/04/19
- Re[2]: [avr-gcc-list] UISP and ATtiny15, Theodore A. Roth, 2004/04/19
- Re[3]: [avr-gcc-list] UISP and ATtiny15, Alexander Popov, 2004/04/19
- Re: Re[3]: [avr-gcc-list] UISP and ATtiny15, hanzl, 2004/04/19