Programming of a P89V51RB2FN

Started by marquisparent, November 15, 2009, 12:23:30 PM

Previous topic - Next topic

marquisparent

I recently purchased a P89V51RB2 Mirocontroller. I am new to the ISP programming interface.  (i used to program 80c51 chip using an external EPROM)   I purchased the USB-ICP–80C51ISP interface to program the chip.  Using the Flash Magic software, I can't communicate with device. "Fail to read device signature (unabled to communicate(transmit/receive))"
--------------------------------------------------------------------------------------------------------------
Here's my actual communication  setup:
USB-ICP-80C51ISP -->  P89V51RB2

RXD                     -->  RXD
TXD                     -->  TXD
PSEN                   -->   PSEN
Reset                   -->  RST
---------------------------------------------------------------------------------------------------------
Microcontroller connection.
I have a regulate 5vDC (VDD) to pin 40, gnd to pin 20.  i have a 10uF - cap from VDD to pin 9 (RST) and a 8.2kΩ - resistor to GND.  i also strapped the EA pin to VDD.
---------------------------------------------------------------------------------------
Am i missing something ?  Do i need to use the CTS/RSt in option?
thanks for the help.

Mucter

1.
According to
http://www.teamfdi.com/pages/products_index.html
USB-ICP-80C51ISP supports NXP P89C51 Flash, not P89V51.

2.
PSEN doesn't have special function on P89V51's ISP
Refer flash Magic's pdf users manual Page 44 (for P89C51) and Page 48(for P89V51).

3. Is your target /EA setting "HI"?
If low , target boot from external ROM.

regards,
Mucter.


marquisparent

First of all, thanks for the reply and help.

1. I downloaded the Support devices sheet of the USB-ICP-80C51ISP and it support the P89V51RB2.

2.  i see now, about the PSEN abd the P89V51

3.  the EA is set to HI. 

Mucter

To diagnose Simply ,
(1) Check the com # of the USB-ICP-80C51ISP using device manager.
(2) from Flash Magic Tools menu select Terminal
(3) Set Com port to (1)'s number,
     Set Baud rate to 9600
     click OK
(4) Power off the your target.
(5) Enter "U" continuously to input box bellow
(6) Power on the your target.

(7) IF target echo "UUUUUUUUUUUUUUUU" ...., first step is cleared.

(8) if not replied from target, check the RXD and TXD lines using oscilloscope.

regards,
Mucter.

marquisparent

Well, no luck so far.

I have setup a Max232 to go RS-232, still no luck....

With the P89V51RB2 or RC2, do i need the PSEN & Reset, or not.

In either case, it work.  I even bough 2 - P89V51RC2, same thing....