Author Topic: 6CLK.cycle and security bit programming  (Read 4293 times)

VB

  • Guest
6CLK.cycle and security bit programming
« on: June 29, 2005, 03:02:16 am »
Dear all,

I'm using Flash Magic V2.2 to program the Philips P89V51RD2 MCU with both 6CLK/Cycle and Security bit 1 set.

The current situation is, we got to program the MCU twice (first time with 6CLK/cycle only and second round with security bit 1 only).

Is there a way that we can program the MCU in single round instead of programming it 2 rounds?

Many thanks
VB

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2160
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: 6CLK.cycle and security bit programming
« Reply #1 on: June 29, 2005, 07:58:42 am »
Is it not possible to check the security bits you want to program and check the 6 clks/cycle box and then click on Start to do it all in one go?

Embedded Systems Academy, Inc.
support at esacademy dot com

VB

  • Guest
Re: 6CLK.cycle and security bit programming
« Reply #2 on: July 06, 2005, 08:34:05 pm »
Hi Andrew,

As what have we experienced, it's not possible. We'll receive message indicating that programming of 6CLK/CYCLE failed.


Thanks.
VB

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2160
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: 6CLK.cycle and security bit programming
« Reply #3 on: July 07, 2005, 09:09:42 am »
First make sure your device is using the latest bootloader available from Philips. You can download an update installer for your device from here (under Support and Tools):

http://www.semiconductors.philips.com/cgi-bin/pldb/pip/p89v51rd2fa.html

Also download and install the latest version of Flash Magic.

If that doesn't help then check if the device is already using 6 clocks/cycle by choosing Read Clocks from the ISP menu.

If the problem is still not solved then:

Start Flash Magic
Press F1 to enter debug mode ([Debug] appears at the top)
Click on Start
Wait for the error
Close Flash Magic
Email me the debug file C:\flashmagic.fmd
Delete debug file.

My email address is at the bottom of this post.

Embedded Systems Academy, Inc.
support at esacademy dot com