Author Topic: How to program P89V51RD2FA with P89C51RD2BA's hex file  (Read 3263 times)

paramountcares

  • Guest
How to program P89V51RD2FA with P89C51RD2BA's hex file
« on: October 03, 2006, 01:01:25 am »
I have P89C51RD2BA's hex file with me, since i had lot the source code of it, now with same Hex file of P89C51RD2BA, how can i program P89V51RD2FA.

i had tried with the latest Flash magic along iwth latest bootloader too.it works, but my target board's communiacton is happening with 57600 baudrate, which sud be usually 115200 baudrate.

i had tried with several combiantion of crystals, but no use. basically during progarmming the P89V51RD2FA thru flash magic, in the "High speed communication" is not getting enabled which will enable me to select the baudrate and 6/12 clocks also.

pls. help me, lots of thanks in adavnce.

SRI



Post Edited (10-03-06 01:32)

erikm

  • Full Member
  • ***
  • Posts: 113
    • View Profile
Re: How to program P89V51RD2FA with P89C51RD2BA's hex file
« Reply #1 on: October 03, 2006, 06:15:01 am »
the devices are only ALMOST identical.  You WILL have to make a few code changes.

The 6/12 clock mechanism is different and do thus need to be changed.  a .hex fike that set the C type to 6 clock will set the V type to 12 clock

Erik

erik

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2167
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: How to program P89V51RD2FA with P89C51RD2BA's hex file
« Reply #2 on: October 03, 2006, 08:42:06 am »
High speed communications is currently not supported on the 89(L)V51Rx2 devices. We will look into adding it. The fastest baudrate you can reliably use may be different due to several reasons:

  - device executes code at a different speed
  - autobauding code is slightly different
  - how the baudrate is generated (T2 vs. BRG, etc.)

Embedded Systems Academy, Inc.
support at esacademy dot com