Author Topic: ISP for P89c669 &p89v51rb2  (Read 9942 times)

hp270388026

  • Jr. Member
  • **
  • Posts: 4
    • View Profile
    • Email
ISP for P89c669 &p89v51rb2
« on: September 26, 2007, 04:33:52 pm »
I have bought two chip P89v51rb2 and p89c669.
P89v51 can be download programs by flashmagic software,but the P89c669 can't.
when the chips are power on when haven't been programmed, I found the RxD and Txd is 5v on p89v51. The RXD0 is 5v on p89c669,but the TxD0 is 0v, while RXD1 and TXD1 is 5v. the ALE is 1.7V and can measured pulse signal,so the crystal is work.
what should I do?

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2173
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: ISP for P89c669 &p89v51rb2
« Reply #1 on: September 28, 2007, 09:21:18 am »
These devices have different methods of being placed into ISP mode. Please refer to the user manual for the 89C669 and make sure you are meeting the requirements during reset of the device.

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

hp270388026

  • Jr. Member
  • **
  • Posts: 4
    • View Profile
    • Email
Re: ISP for P89c669 &p89v51rb2
« Reply #2 on: September 30, 2007, 06:28:58 am »
what's the different?

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2173
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: ISP for P89c669 &p89v51rb2
« Reply #3 on: October 01, 2007, 08:55:16 am »
Please refer to the user manuals/datasheets for the two devices. The ISP entry methods are described in full in there.

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

hp270388026

  • Jr. Member
  • **
  • Posts: 4
    • View Profile
    • Email
Re: ISP for P89c669 &p89v51rb2
« Reply #4 on: October 01, 2007, 07:01:26 pm »
I have download the user manual and datasheet of p89c669, but have't found any special specification about ISP

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2173
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: ISP for P89c669 &p89v51rb2
« Reply #5 on: October 02, 2007, 02:12:43 pm »
How about most of chapter 7? In particular section 7.3 "Hardware Activation of the Boot Loader"

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

hp270388026

  • Jr. Member
  • **
  • Posts: 4
    • View Profile
    • Email
Re: ISP for P89c669 &p89v51rb2
« Reply #6 on: October 09, 2007, 07:24:21 am »
The boot loader can also be executed by holding PSEN LOW, EA greater than VIH (such as +5 V), and ALE HIGH (or not connected)
at the falling edge of RESET.
yes, but p89c669 can not work,p89v51 work

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2173
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: ISP for P89c669 &p89v51rb2
« Reply #7 on: October 09, 2007, 08:31:56 am »
Try the debugging steps here:

  http://www.flashmagictool.com/debugstart.html

They guide you through using Hyperterminal (or similar) to send a 'U' to the device. If you don't get a 'U' back then chances are you are not placing the device into ISP mode. Check the voltages at the Reset, ES, PSEN, etc. pins and that there is a sine wave on XTAL1 and XTAL2...

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