Author Topic: P89V51RD2 Programmer Circuit  (Read 55494 times)

Je Gold

  • Full Member
  • ***
  • Posts: 135
    • View Profile
Re: P89V51RD2 Programmer Circuit
« Reply #15 on: February 22, 2008, 06:51:01 am »
Yes P89v51 can be parallel programmed....

BUT...

I believe NXP only support "profesional - dedicated" programmers... as there some tricky timing requirements...

NXP  --> Use  UART ISP method... there is no SPI method...


Hint...... the smaller  LPC900 micro's  (3volt) like the P89LPC935.... you can use UART, SPI (UART MODE 0) to program the parts


Joseph

erikm

  • Full Member
  • ***
  • Posts: 113
    • View Profile
Re: P89V51RD2 Programmer Circuit
« Reply #16 on: February 22, 2008, 07:03:42 am »
P89V51RD2 has also SPI interface.
Can I build a programmer P89V51RD2 For with SPI interface?
If it is possible then which software I need for Programming P89V51RD2 from LPT port?


sure,
if you do not like the car you drive, but some sheet metal and start bending it.

P89V51RD2 has also SPI interface.
Can I build a programmer P89V51RD2 For with SPI interface?

yes, but why? NXp never intended the SPI interface to be used for programming.

If it is possible then which software I need for Programming P89V51RD2 from LPT port?
a bootloader and a PC program written by you

why are you trying to make a NXP chip behave as an Arghmel chip?

Erik

erik

KHALID KHAN

  • Jr. Member
  • **
  • Posts: 1
    • View Profile
    • Email
Re: P89V51RD2 Programmer Circuit
« Reply #17 on: March 20, 2008, 09:12:23 am »
Hello,
I want to make my own programmer Circuit for P89V81RD2.
Can any one give me detailed Circuit diagram for Programming this Chip is there any hardware changes in running the program?
I want to use keil software For loading the hex file In to chip?

can any one help me.....
khalid

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2160
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: P89V51RD2 Programmer Circuit
« Reply #18 on: March 20, 2008, 09:15:56 am »
You need to connect the on-chip UART to a PC's COM port via an RS232 transceiver. You also need a way of resetting the device - typically via a pushbutton.

Sorry, no detailed schematic available, but there are plently easily found using Google.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com

Je Gold

  • Full Member
  • ***
  • Posts: 135
    • View Profile
Re: P89V51RD2 Programmer Circuit
« Reply #19 on: March 24, 2008, 05:41:35 am »
With reference to a "fresh"  / unprogrammed  P89v51 ;

a) You can not program via the SPI.

b) Only programming  via the UART and a profesional parallel programmer


You can write your own bootloader software .... but then it would not be a "fresh" / Unprogrammed part.


Joe

bugmike25

  • Jr. Member
  • **
  • Posts: 4
    • View Profile
Re: P89V51RD2 Programmer Circuit
« Reply #20 on: April 08, 2008, 11:06:36 am »
Hi, i just designed a programmer circuit for the P89V51RD2.  I am just going to use the RX and TX to program the device.  Since i am not using the PSEN pin shall i leave it floating or shall i connect it to +5V or GND??

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2160
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: P89V51RD2 Programmer Circuit
« Reply #21 on: April 08, 2008, 11:55:38 am »
What does the datasheet say? Typically you set that pin according to whether you are using external memory or not.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com

Jan Waclawek

  • Full Member
  • ***
  • Posts: 220
    • View Profile
    • EFTON homepage
Re: P89V51RD2 Programmer Circuit
« Reply #22 on: April 08, 2008, 12:21:06 pm »
Andy,

Are you sure you are not confusing /PSEN (output, to be connected to code memory output enable pin), with /EA (input, determining whether external or internal code memory is to be used)?

/PSEN should be left floating.

Jan Waclawek

bugmike25

  • Jr. Member
  • **
  • Posts: 4
    • View Profile
Re: P89V51RD2 Programmer Circuit
« Reply #23 on: April 08, 2008, 01:25:11 pm »
Thanks Jan. Andy you are confusing PSEN with the EA pin.

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2160
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: P89V51RD2 Programmer Circuit
« Reply #24 on: April 08, 2008, 01:28:58 pm »
Sorry, misread your question. I didn't see the part where you said you wern't using it.
Embedded Systems Academy, Inc.
support at esacademy dot com

tusharbanne

  • Jr. Member
  • **
  • Posts: 1
    • View Profile
    • Email
Re: P89V51RD2 Programmer Circuit
« Reply #25 on: April 10, 2011, 12:50:34 am »
In the data sheet of MAX 232 it is stated that 1uf capacitors should be used. but u have used 10uf. how does this change things.  :-\