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

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

Re2:[avr-gcc-list] How 2 Program Lock Bits


From: Tinggo - Santoso
Subject: Re2:[avr-gcc-list] How 2 Program Lock Bits
Date: Sun, 24 Feb 2002 18:00:08 +0700

Thanks 4 Ur respond, and I'm sorry also for my miss-typing (it should be CLR WE 
& SETB WE).
But unfortunately, I've already solve my problem for those Lock Bits last night 
after I sent that Email to this Mailing List.
I've change the Low Pulse WE Delay become 50us just like when I'm write the 
Internal EEPROM & Flash the PEROM.
Thanks for everything.
---
 Tinggo S.
 Jl.Raya Manyar Tirtomoyo K-66
  Surabaya
  address@hidden / address@hidden
  / address@hidden
 Office: +62 031 5941045
 Home: +62 0271 647934
 HP: +62 8123153035 / +62 811295799

On Sun, 24 Feb 2002 10:31:31  
 Jason Kyle wrote:
>At 23:42 23/02/2002 +0700, Tinggo - Santoso wrote:
>>Hello, Folks,
>>I've been doing on Programming The AVR 20pin series like AT90S1200 & 
>>AT90S2313 but until now I can't reach the Lock Bits for them.
>>For the Erase Chip & Write Fuse Bits I used the same Delay on the low 
>>pulse of WR\ that is 40ms, although the Datasheet told that they have a 
>>different Delay.
>>So I try to change my WR\ low pulse Delay for Programming the Lock Bits 
>>from 50us to 40ms, but it's still not working.
>>So are there any recommend from anybody?
>>I've Interfaced them to AT89C51 as a Driver.
>>Here is my Programming Step in MCS51 asm:
>>.... ;From here the OE\,WR\ is High & BS,XTAL1 is Low
>>  SETB XA1
>>  CLR XA0
>>  MOV P0,#$20 ;Command for Erase Chip
>>  SETB XTAL1
>>  CLR XTAL1
>>  CLR XA1
>>  SETB XA0
>>  MOV P0,#%11111xy1 ;x=Lock Bit2 & y=Lock Bit1
>>  SETB XTAL1
>>  CLR XTAL1
>>  CLR WE
>
>Is this a typo is it the line above meant to be CLR WR ???
>
>>  ACALL DELAY40ms
>>  SETB WR
>>....
>>
>Jason Kyle
>
>
>avr-gcc-list at http://avr1.org
>


avr-gcc-list at http://avr1.org



reply via email to

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