Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - sanketbarot

#1
When first time I programmed the p89v51RD2 i had chcked the security bit.
Now to again program this chip i need a parallel programmer.
so i used the parallel programmer and the program the chip and this time i had not check the security bit.

But once i programmed through a parallel programmer i am not able to connect the chip through ISP. I always need a Parallel programmer.

So now how I can connect through ISP??
#2
In 89V51RD2 after programming double ClK through IAP can we again come back to 12 CLK?????


#3
Hello friends...


I am searching the solution for, How can I prevent unauthorized person from dowloding software in my chip...
I am using 89V51RD2BN.. so when I will reset he chip chip always wait for U responce and then go for User code..

so how can  prevent unautorized person??????
#4
P89V51Rx2/P89LV51Rx2 / How to erase sector throgh IAP
August 10, 2007, 05:54:25 AM
Hello friends.

I have to erase a perticular sector thorugh IAP.. I am downloading my code frm 0x2000 address. now the problwm i am facing is that when i am erasing a particular sector at that time ACC gives me 00 i.e. PASS. but when reading the memory at that time that sector was not erased. for that in thought that may be sector number is wrong so i fill up all the memory and then try to erase the sector but none of the sector was erase. I am calculatin the sector like. if i have to erae the sector strating from 0xd000. then decimal of 0xd000 is 53248 and divide by 128 means 416 so sector no. is 417 and whose hex is 0x1A1. but i cdnt..
so i am just pasting that code here and i am using keil compiler for that..


Its very urgent...........

same way i have writtebn the Iap program byte and its running properly..

        RSEG  ?PR?iap_erase_sector?RX3IAPLIB
iap_erase_sector:
        PUSH    IE                       ; disable interrupts
        CLR     EA
        MOV     A,CMOD 
        MOV     R2,A                     ; store copy of CMOD
        JNB     ACC.6,?IAPTAG41           ; if watchdog enabled then disable
        ANL     CMOD,#0BFH
?IAPTAG41:
   MOV     R1,#08H
        MOV     DPH,#00H                  ;Address staring from address 0xd000
        MOV     DPL,#0A1H
        CALL    1FF0H                   ; call iap routine
   MOV     R7,A                     ; pass or fail decesion
        MOV     CMOD,R2                  ; restore CMOD (restore watchdog state)
        POP     IE                       ; restore interrupts to initial state
        RET     






#5
Hello Friends,

What is the Difference between 89C51RD2xx and 89C51RD2Hxx.. I am searching on the web but I am not getting any sloution.



Regards,
Sanket Barot