 |
Discussion Forum |
 |
|
|
how to make out if code memory exeeded?
Next Thread | Thread List | Previous Thread
Start a Thread | Settings
| Details |
Message |
|
Read-Only
Author Bala K
Posted 30-Jul-2003 07:26 GMT
Toolset C51
|
 how to make out if code memory exeeded?
Bala K
how to make out if the codes that we write have crossed the code memory presnet on the chip ? for example i'm using AT89C2051 which has 2K code menory. i need to know if the codes i've written have crossed this limit. is there any provision / settings in KEIL to detecte the same?
kindly hwlp me out. thanx in advance...
regards,
Bala
|
|
|
Read-Only
Author Richard Collett
Posted 30-Jul-2003 07:34 GMT
Toolset C51
|
 RE: how to make out if code memory exeeded?
Richard Collett
In uVision2, on the menu select:
Project | Options for Target
and under the "Target" tab, set the "Code Size" parameter to "Small: program 2K or less".
If you had selected the correct device for the target, then I would expect this setting to already be correct, and you will get a compile error if there is more than 2k of code.
|
|
|
Read-Only
Author Bala K
Posted 30-Jul-2003 12:44 GMT
Toolset C51
|
 RE: how to make out if code memory exeeded?
Bala K
thank you richard
|
|
Next Thread | Thread List | Previous Thread
Start a Thread | Settings
|
|
|