Author Topic: Reset problem with P89C51RC2  (Read 42830 times)

sandre

  • Guest
Reset problem with P89C51RC2
« on: December 03, 2004, 04:45:17 AM »
Hello,

here is my problem : the program I wrote starts only at power-on reset, when I press the reset button the microcontroller allways seems to boot on ISP and not on my program.

The target is a P89C51RC2 burned with WinISP (Philips), Status byte = 0x00 and Boot vector = 0xFC.

Does someone know the solution to solve my problem ? Thank you.

erikm

  • Guest
Re: Reset problem with P89C51RC2
« Reply #1 on: December 03, 2004, 05:06:42 AM »
have you confused reset with !reset, someone else did.

Erik

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2190
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Reset problem with P89C51RC2
« Reply #2 on: December 03, 2004, 06:53:55 AM »
The state of PSEN is used like a switch at reset to determine whether the device goes into ISP mode or not. Check the voltage on that pin.

This forum no longer supports WinISP, so you might want to switch to Flash Magic (less bugs).

Note that WinISP does not properly support the 89C51RC2xx. It only supports the 89C51RC2Hxx.

Embedded Systems Academy, Inc.
support at esacademy dot com

sandre

  • Guest
Re: Reset problem with P89C51RC2
« Reply #3 on: December 03, 2004, 09:37:04 AM »
Thank you very much ! In fact the PSEN pin in pulled-down by a 12ohms resistor. I will remove it.