Author Topic: putting P89V51RD2 in 6 clocks per machine cycle  (Read 8907 times)

mihir

  • Jr. Member
  • **
  • Posts: 9
    • View Profile
    • Email
putting P89V51RD2 in 6 clocks per machine cycle
« 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

Jan Waclawek

  • Full Member
  • ***
  • Posts: 220
    • View Profile
    • EFTON homepage
Re: putting P89V51RD2 in 6 clocks per machine cycle
« Reply #1 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

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2168
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: putting P89V51RD2 in 6 clocks per machine cycle
« Reply #2 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
Embedded Systems Academy, Inc.
support at esacademy dot com

mihir

  • Jr. Member
  • **
  • Posts: 9
    • View Profile
    • Email
Re: putting P89V51RD2 in 6 clocks per machine cycle
« Reply #3 on: January 06, 2008, 11:29:06 pm »

Thanks Andy and Jan this solves the problem.

prashanth

  • Jr. Member
  • **
  • Posts: 2
    • View Profile
Re: putting P89V51RD2 in 6 clocks per machine cycle
« Reply #4 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?


Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2168
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: putting P89V51RD2 in 6 clocks per machine cycle
« Reply #5 on: March 31, 2008, 08:43:57 am »
I am not sure, sorry. Try contacting your local NXP FAE.

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

bugmike25

  • Jr. Member
  • **
  • Posts: 4
    • View Profile
Re: putting P89V51RD2 in 6 clocks per machine cycle
« Reply #6 on: May 06, 2008, 11:11:14 pm »
Setting the FST register to 0x08 should make it work with 6clocks/cycle. Am i correct?

prashanth

  • Jr. Member
  • **
  • Posts: 2
    • View Profile
Re: putting P89V51RD2 in 6 clocks per machine cycle
« Reply #7 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.