Flash Magic Forum

In-System Programming Support => P89V51Rx2/P89LV51Rx2 => Topic started by: VB on June 29, 2005, 03:02:16 AM

Title: 6CLK.cycle and security bit programming
Post by: VB 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
Title: Re: 6CLK.cycle and security bit programming
Post by: Andy Ayre 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?

Title: Re: 6CLK.cycle and security bit programming
Post by: VB 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
Title: Re: 6CLK.cycle and security bit programming
Post by: Andy Ayre 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.