tags:

views:

136

answers:

1

I am trying to compile a C code using Keil uvision 3. The entire code gets compiled only if I use large memory model by choosing option xdata for target. To use this model I have to use external data RAM which is not possible for me due to some reasons.

So I decided to go with pdata option. Can anybody please help me with the exact steps to be carried out for using pdata? I am using 89V51RD2. I am much confused with the options like BL51 MISC, BL51 Locate etc.

A: 

You may have better luck posting this on the official Keil forum at

http://www.keil.com/forum

The NXP P89V51RD2 is an 8051 derivative with, according to the data sheet, 1KB of on-chip RAM. If your program will not fit in that much space, you will have to add external RAM.

PDATA lets you use "P"aged access to XDATA. It is not additional memory. If you need more space, you should really look at optimizing your memory usage, or you will have to add additional XDATA resources.

Reference: C51: USING PDATA MEMORY

Disclosure: I work for Keil/ARM

David Lively