|
|||||||||||
|
Technical Support Support Resources
Product Information |
C51: Accessing the Maxim DS390 On-chip 4k SRAM and StackInformation in this article applies to:
QUESTIONHow do I configure the Keil C51 Tools for the Maxim (formerly Dallas Semiconductor) 390 on-chip 4K SRAM and Stack? ANSWERYou must configure the on-chip 4K SRAM and stack in both the startup code (START390.A51) and in µVision. Configuring the 4K SRAMIn START390.A51, the internal data memory configuration bits (MCON.6 and MCON.7) are set by specifying the appropriate value for IDM as shown below.
There are four options for the internal data memory:
Configuring the StackIn START390.A51, the stack can be configured to use the 8051-compatible IDATA memory or the 1K on-chip XDATA memory.
If you use the on-chip SRAM for the stack, only 1K of space is used for the stack by default. You may increase this by changing the storage specification in the startup code.
Note that you must use the PK51 Professional Developer's Kit Version 6.11 or later to obtain contiguous mode support for the Dallas 390. More information about the Maxim 390 Contiguous mode support may be found in the README.TXT file found in the \KEIL\C51\EXAMPLES\DALLAS 390 directory of your installation. MORE INFORMATION
SEE ALSO
Last Reviewed: Thursday, February 25, 2021 | ||||||||||
|
|||||||||||
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.