Flash Magic Forum

In-System Programming Support => P89V51Rx2/P89LV51Rx2 => Topic started by: paramountcares on October 03, 2006, 01:01:25 AM

Title: How to program P89V51RD2FA with P89C51RD2BA's hex file
Post by: paramountcares 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)
Title: Re: How to program P89V51RD2FA with P89C51RD2BA's hex file
Post by: erikm 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

Title: Re: How to program P89V51RD2FA with P89C51RD2BA's hex file
Post by: Andy Ayre 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.)