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

89c52 configuration

Hi Keil Fans,

I have been using the Keil s/w for a short while now, and have code that works great on a 78c32 with external EPROM and RAM. I now need to port the code to an embedded 89c52, with no EPROM, and no external RAM. Does anyone know what to set the compiler and linker settings to to enable me to port the code? (excuse my ignorance, but I'm a 68000 man normally).

I have kept variable sizes down to minimum, so hopefully I have not gone over the 256 bytes available.

I am running uVision 51, Windows version 1.32.

Is there anyone out there who can help?

Cheers

Ian.B

  • I'm going to guess you have very little code to change. Both CPU's are 8052 cores. Read the data sheets on the two processors to see what extra hardware is included and see if it is different between the two. If you don't use any non-standard 8052 hardware you'll have nothing to do. Remember, you don't have to use any of Keil's include files, use the small model (default), and disable ANSI integer promotion.

    Oh yes, I strongly recommend moving up to uVision 2.06 (C51 v6.02) for the faster compile times and long filename support.

    - Mark

  • Hi i want to make program that show the date and clock.
    i use 89C52 mboard;3ff8h - 3ffff for make,
    hour/min/sec
    day/date/month/year

    the program is running for example:
    14:02:32
    06:28:10:2005 but i want to replace 06 with fri (friday)
    Pls help me , what i can do to make this:)

    if somebody can give me idea..i ll be very happy