Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/29/04 15:28
Read: times


 
#76576 - P89c51RD2BN ISP
Yes I know you will say haven't you searched the site.

I am using a Philips P89C51RD2BN

yes I have read NOTOUCH ,AN461,Errata sheet

but still I was not convinced I was doing things properly,I want to be sure before I try it using a Rs.350 chip ($8) chip.

I am unable to get hands on a reset generator like max700 / 701 as suggested in one of my previous posts.

My hardware looks as following




Now what I understand from NoTouch is I need to use FLASHMAGIC to program the uC and also put this code so I can enter into ISP mode on a pin logic level change.

AUXR1 DATA 0A2h ;
WDTRST DATA 0A6h ;

PUBLIC GoToBoot

BOOTIT SEGMENT CODE

RSEG BOOTIT

GoToBoot:
mov AUXR1,#020h ;enable boot
mov r0,#11 ;oscillator freq = 11.0592Mhz
mov r1,#6h ;program status byte
mov dptr,#0 ;specify status byte
mov a,#0ffh ;nonzero required
call 0fff0h
jmp $ ;wait for watchdog to reset

end
Is it OK
Please tell me

Thank you
Deepak

List of 10 messages in thread
TopicAuthorDate
P89c51RD2BN ISP            01/01/70 00:00      
   RE: P89c51RD2BN ISP            01/01/70 00:00      
   RE: P89c51RD2BN ISP            01/01/70 00:00      
   RE: P89c51RD2BN ISP            01/01/70 00:00      
      RE: P89c51RD2BN ISP            01/01/70 00:00      
   RE: P89c51RD2BN ISP            01/01/70 00:00      
      RE: P89c51RD2BN ISP            01/01/70 00:00      
         RE: P89c51RD2BN ISP            01/01/70 00:00      
   RE: P89c51RD2BN ISP            01/01/70 00:00      
      RE: P89c51RD2BN ISP            01/01/70 00:00      

Back to Subject List