Flash Magic Forum

In-System Programming Support => P89V51Rx2/P89LV51Rx2 => Topic started by: mihir on December 21, 2007, 02:02:14 am

Title: putting P89V51RD2 in 6 clocks per machine cycle
Post by: mihir on December 21, 2007, 02:02:14 am
" By default, the device runs at 12 clocks per machine cycle (X1 mode). The device has a clock doubling option to speed up to 6 clocks per machine cycle. Clock double mode can be enabled either by an external programmer or using IAP. " - Data Sheet P89C51RD2

I have tried Flash magic to do it. but under the "Options > Advance Options> Communication " the menu is hidden and i can't access it.

Please guide me how can i do it using flash Magic.

Your Sincerely,
Mihir
Title: Re: putting P89V51RD2 in 6 clocks per machine cycle
Post by: Jan Waclawek on December 21, 2007, 06:38:06 am
Assuming you are talking about P89V51RD2, it's in the "main" window, a tickbox with a somewhat misleading name, "Prog Clocks Bit" (at least in version 3.61 I am currently using).

JW
Title: Re: putting P89V51RD2 in 6 clocks per machine cycle
Post by: Andy Ayre on December 21, 2007, 12:39:12 pm
It used to have a more specific name, until more devices appeared with different meanings for the bit.

Andy
Title: Re: putting P89V51RD2 in 6 clocks per machine cycle
Post by: mihir on January 06, 2008, 11:29:06 pm

Thanks Andy and Jan this solves the problem.
Title: Re: putting P89V51RD2 in 6 clocks per machine cycle
Post by: prashanth on March 30, 2008, 12:18:32 am
This may sound silly to you people, but I wanted to confirm if it is possible to reset the v51rd2 mc to run at 12 clocks/mcycle when it has been programmed to run at 6 clocks/mcycle? If so what must I do?

Title: Re: putting P89V51RD2 in 6 clocks per machine cycle
Post by: Andy Ayre on March 31, 2008, 08:43:57 am
I am not sure, sorry. Try contacting your local NXP FAE.

Andy
Title: Re: putting P89V51RD2 in 6 clocks per machine cycle
Post by: bugmike25 on May 06, 2008, 11:11:14 pm
Setting the FST register to 0x08 should make it work with 6clocks/cycle. Am i correct?
Title: Re: putting P89V51RD2 in 6 clocks per machine cycle
Post by: prashanth on May 26, 2008, 09:26:11 am
No...no....
You have to program the clock bit to make the mc run at 6 clocks per cycle when you write the hex code to the mc. Fst register just indicates whether the mc is running at 6 clocks per cycle.I guess you cannot alter it.