This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Porting C code from P89C51RD2BA to P89CV51RD2FA

Hello, I have written C code for P89C51RD2BA.And this code works well with the application. Because P89C51RD2BA is obsolete I have selected P89CV51RD2FA.But when I ports .hex for P89C51 to P89CV51 application doesn't work at all. Please tell me where the problem is?

Thanking you.

Regards,
Abhijeet R. Mudgal.

  • the 'B' vrsions are the very first Rx2 made.

    the basic difference between the 'B' and later versions (non-B and 'V') is in the clocking (different defaults, on the fly switching ...)

    If you try to load using FlashMagic and state the wrong type you are hosed and the only recourse is a parallel programmer.

    Also the 'V' has a different ISP entry method (no pins to change, just get going within 200ms after reset, he FN manual tell you how)

    The datasheets will tell you the exact nature of the diggerences.

    Erik

  • I am porting the code from C to CV and these two devices are pin & software compatible with each other.Eventhogh it is not working.

    Regards,
    Abhijeet R. Mudgal.

  • "Eventhogh it is not working."

    Do you mean that nothing at all is working, or just that some things are not working?

    If nothing is working: Try smaller programs (down to a "hello world", to make sure all tools and settings are correct.

    If only some things are not working, please come back with more specific information, or nobody here will be able to help you with specific suggestions.