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

problem with ROM SIZE attribute

Hi, I am new with 80C51 microcontrolers and i usign evalutionversion of uVision3. Specifically, i am using 89c2051 microcontrolers, and it has 2k of program memory. The problem is when i compile a simple program with only an interrupt rutine (a simple function with interrupt 4 using 1 attribute), i had problems compiling it if i select rom size = 2k or less in C51 compile options, it says *** ERROR L121: IMPROPER FIXUP
MODULE: enviar-recibir.obj (ENVIAR_RECIBIR)
SEGMENT: ABSOLUTE
OFFSET: 0023H;
where enviar-recibir is the interrup function of mi program. If i change room size to compact (2k function, 64k porgram), problem is fixed. Why this happen y how can i solved it?. Thanks!

Parents
  • from the eval limits page:

    Programs start at offset 0x0800. Programs generated with the evaluation software may not be programmed into single-chip devices with less than 2K Bytes of on-chip ROM.

    thus, obviously, since 0x800 is 2k decimal you can not use the eval with 2k of code memory.

    Erik

Reply
  • from the eval limits page:

    Programs start at offset 0x0800. Programs generated with the evaluation software may not be programmed into single-chip devices with less than 2K Bytes of on-chip ROM.

    thus, obviously, since 0x800 is 2k decimal you can not use the eval with 2k of code memory.

    Erik

Children