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

shaiaw@013.net

Hi everybody,

I wrote simple program for 89c2051:

#include <REG2051.H>

#include <stdio.h>

sbit blinky = P1^3 ;

void main (void) {

while (1) { blinky = 0; blinky = 1;

}

}

But after compilation, debugger run (after long jmp) from 0800h (89c2051 have a flashe 2k only), so my program out of memory.
How to force run program in available memory. (I work in evaluation mode - 2k memory code)

Thanks

Parents
  • "How to force run program in available memory. (I work in evaluation mode - 2k memory code)"

    That would be the same as asking "how can I circumvent the license limit".

    The evaluation version supports up to 2kB of code. But since there exists chips with just 2kB code, Keil has explicitly added a logic for the tools no ignore the first two kB of the chip. This makes sure that a user that wants to use the Keil tools commercially in a product that only needs a 2kB chip would want to pay for a commercial license.

Reply
  • "How to force run program in available memory. (I work in evaluation mode - 2k memory code)"

    That would be the same as asking "how can I circumvent the license limit".

    The evaluation version supports up to 2kB of code. But since there exists chips with just 2kB code, Keil has explicitly added a logic for the tools no ignore the first two kB of the chip. This makes sure that a user that wants to use the Keil tools commercially in a product that only needs a 2kB chip would want to pay for a commercial license.

Children