avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] UISP and ATtiny15


From: Raphael Assenat
Subject: Re: [avr-gcc-list] UISP and ATtiny15
Date: Mon, 19 Apr 2004 09:39:37 -0400
User-agent: KMail/1.5.4

Hi,
I think the problem is that you do not erase it before reprogramming.

Try :
uisp -dprog=stk200 -dvoltage=5 --erase

I hope this will help.

Regards,
Raphael assenat

On Monday 19 April 2004 09:08 am, Alexander Popov wrote:
> 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?

-- 
Regards,

Raphael Assenat



reply via email to

[Prev in Thread] Current Thread [Next in Thread]