71M6512-DB Maxim Integrated Products, 71M6512-DB Datasheet - Page 40
![no-image](/images/manufacturer_photos/0/4/417/maxim_integrated_products_sml.jpg)
71M6512-DB
Manufacturer Part Number
71M6512-DB
Description
Power Management Modules & Development Tools 71M6512 DEMO BOARD 71M6512 DEMO BOARD
Manufacturer
Maxim Integrated Products
Datasheet
1.71M6521DE-DB.pdf
(138 pages)
- Current page: 40 of 138
- Download datasheet (2Mb)
Note: Throughout the Demo Code, an attempt has been made to put the most frequently used variables in the
fastest memory space.
The 8051 has 128 bytes of stack, and this motivates Keil C's unusual compiler design. By default, the Keil C compiler
does not generate reentrant code. The linker manages local variables of each type of memory as a series of overlays,
and uses a call-tree of the subroutines to arrange that the local variables of active subroutines do not overlap.
The overlay scheme can use memory very efficiently. This is useful because the 71M652X chips only have 2k of RAM,
and 256 bytes of internal memory.
The compiler treats uncalled subroutines as possible interrupt routines, and starts new hierarchies, which can rapidly
fragment each type of memory and interfere with its reuse.
To combat this, the following measures were taken when generating the Demo Code:
With these measures applied, the Demo Code uses memory efficiently, and normally no memory issues are en-
countered. The Demo Code does not have deep call trees from the interrupts, so "small reentrant" definitions can be
used, which keep the stack of reentrant variables in the fast (small) internal RAM.
The register sets are also in internal memory. The C compiler has special interrupt declaration syntax to use them. The
"noaregs" pragma around reentrant routines stops the compiler from accessing registers via the shorter absolute
memory references. This is because the Demo Code uses all four sets of registers for different high-speed interrupts.
Using "noaregs" lets any interrupt routine call any reentrant routine without overwriting a different interrupt's registers.
Revision 1.7
5.1.2 Compiler-Specific Information
•
•
•
The code is organized as a control loop, keeping most code in a single hierarchy of subroutines,
The programmers eliminated unused subroutines by commenting them out when the linker complained
about them. Also, the Demo Code explicitly defines interrupt code and routines called from interrupt code
as "reentrant" so that the compiler keeps their variables on a stack.
When data has a stable existence, the Demo Code keeps a single copy in a shared static structure.
Data Type
Bit
Sbit
SFR
SFR16
signed/unsigned char
enum
unsigned short
signed short
signed/unsigned int
signed int
unsigned long
Float
© Copyright 2005-2007 TERIDIAN Semiconductor Corporation
Notation
Bbool
U08
S16
enum
U16
U16
S16
U32
F32
Table 5-2: Internal Data Types
TERIDIAN Proprietary
Bits
1
1
8
16
8
8 or 16
16
16
16
16
32
32
Bytes
1
2
1
2
2
2
4
4
1 or 2
2
71M652X Software User’s Guide
Comments
Unique to 8051
Unique to 8051
Unique to 8051
Unique to 8051
ANSI C
ANSI C
ANSI C
ANSI C
ANSI C
ANSI C
ANSI C
ANSI C
40 of 138
Related parts for 71M6512-DB
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![71M6512-IM/F](/images/manufacturer_photos/0/4/417/maxim_integrated_products_tmb.jpg)
Part Number:
Description:
Current & Power Monitors & Regulators Residential Meter Extended Io
Manufacturer:
Maxim Integrated Products
![71M6512-TGQ1-68M](/images/manufacturer_photos/0/4/417/maxim_integrated_products_tmb.jpg)
Part Number:
Description:
Current & Power Monitors & Regulators Gang Programmer Base Unit+6512 Socket Brd
Manufacturer:
Maxim Integrated Products
![71M6512-IMR/F](/images/manufacturer_photos/0/4/417/maxim_integrated_products_tmb.jpg)
Part Number:
Description:
Current & Power Monitors & Regulators Residential Meter Extended Io
Manufacturer:
Maxim Integrated Products
![MAX7528KCWP](/images/manufacturer_photos/0/4/417/maxim_integrated_products_tmb.jpg)
Part Number:
Description:
MAX7528KCWPMaxim Integrated Products [CMOS Dual 8-Bit Buffered Multiplying DACs]
Manufacturer:
Maxim Integrated Products
Datasheet:
![MAX3261CCJ](/images/manufacturer_photos/0/4/417/maxim_integrated_products_tmb.jpg)
Part Number:
Description:
Single +5V, fully integrated, 1.25Gbps laser diode driver.
Manufacturer:
Maxim Integrated Products
Datasheet:
![MAX3263CAG](/images/manufacturer_photos/0/4/417/maxim_integrated_products_tmb.jpg)
Part Number:
Description:
Single +5V, fully integrated, 155Mbps laser diode driver.
Manufacturer:
Maxim Integrated Products
Datasheet:
![MAX8809AETL+](/images/manufacturer_photos/0/4/417/maxim_integrated_products_tmb.jpg)
Part Number:
Description:
VRD11/VRD10, K8 Rev F 2/3/4-Phase PWM Controllers with Integrated Dual MOSFET Drivers
Manufacturer:
Maxim Integrated Products
Datasheet:
![MAX1535CETJ+T](/images/manufacturer_photos/0/4/417/maxim_integrated_products_tmb.jpg)
Part Number:
Description:
Highly Integrated Level 2 SMBus Battery Chargers
Manufacturer:
Maxim Integrated Products
Datasheet:
![DS2741N+](/images/manufacturer_photos/0/4/417/maxim_integrated_products_tmb.jpg)
Part Number:
Description:
Current Monitor and Accumulator with Integrated Sense Resistor; ; Temperature Range: -40°C to +85°C
Manufacturer:
Maxim Integrated Products
![MAX13450EAUD+T](/images/manufacturer_photos/0/4/417/maxim_integrated_products_tmb.jpg)
Part Number:
Description:
TSSOP 14/A°/RS-485 Transceivers with Integrated 100O/120O Termination Resis
Manufacturer:
Maxim Integrated Products
![MAX13451EAUD+T](/images/manufacturer_photos/0/4/417/maxim_integrated_products_tmb.jpg)
Part Number:
Description:
TSSOP 14/A°/RS-485 Transceivers with Integrated 100O/120O Termination Resis
Manufacturer:
Maxim Integrated Products
![MAX17497BATE+](/images/manufacturer_photos/0/4/417/maxim_integrated_products_tmb.jpg)
Part Number:
Description:
QFN 16/A°/AC-DC and DC-DC Peak-Current-Mode Converters with Integrated Step
Manufacturer:
Maxim Integrated Products
![MAX17502FATB+T](/images/manufacturer_photos/0/4/417/maxim_integrated_products_tmb.jpg)
Part Number:
Description:
TDFN/A/65V, 1A, 600KHZ, SYNCHRONOUS STEP-DOWN REGULATOR WITH INTEGRATED SWI
Manufacturer:
Maxim Integrated Products
![MAX1978EVKIT](/images/manufacturer_photos/0/4/417/maxim_integrated_products_tmb.jpg)
Part Number:
Description:
Integrated Temperature Controller f
Manufacturer:
Maxim Integrated Products
![MAX2606EUT+](/images/manufacturer_photos/0/4/417/maxim_integrated_products_tmb.jpg)
Part Number:
Description:
SOT23-6/I°/45MHz to 650MHz, Integrated IF VCOs with Differential Output
Manufacturer:
Maxim Integrated Products