參數(shù)資料
型號(hào): DEBUG186
英文描述: Debugging an Am186EM Application on the SD186EM Demonstration Board Using Microsoft's C/C++ Compiler and Paradigm Debug Software
中文描述: 調(diào)試的SD186EM演示板使用微軟的C / C編譯器和調(diào)試軟件范式的Am186EM應(yīng)用
文件頁(yè)數(shù): 14/15頁(yè)
文件大?。?/td> 80K
代理商: DEBUG186
9/11/95
Page 14
The main function of PDREM is to create an environment for high level debugging. Once the
debugging process is done, PDREM is no longer needed in memory. The debug information included
in the object files such as symbol names only takes up space, and has very little use. Therefore, to
build a stand-alone program, users need to recompile the source code to discard the debug information,
and add other optimizations to create more productive code. Users should also re-LOCATE the .ROM
file using a configuration file similar to the
pdrem.cfg
file to make use of the memory region
previously occupied by PDREM.
This section shows how to build the
sieve.c
demo program as a stand-alone program; it is divided into
three parts: Changing the makefile, changing the configuration file, and downloading a stand-alone
program.
1.
Changing the makefile
: The makefile of the
sieve
.
c
demo program is very simple; the user only
needs to add the desired optimization options to the command
cl
in the makefile. As mentioned
earlier, the standalone versions of
stdio.c
program and other examples are controlled by the value of
the variable DEBUG in the makefile. In these cases, simply add the desired optimization options and
change the value of DEBUG from 2 to 0 (Figure 10).
Figure 10 - Makefile to Build a Standalone Program
2.
Changing the configuration file
: The configuration file for building a standalone program should
be similar to the
pdrem.cfg
configuration file shown in Figure 5, except for the memory mapping
statements. Figure 11 shows the configuration file for building the
sieve.c
program as a standalone
program.
Figure 11 - Memory Mapping for a Standalone Program
......
FLOAT = 0 # 0 - none, 1 - alternate, 2 - emulator, 3 - coprocessor
FARDATA = 0 # 0 - none, 1 - normal, 2 - compressed
DEBUG = 0 # 0 - none, 1 - debug EPROM, 2 - debug PDREMOTE
WARNINGS = 2 # 0 - none, 1 - min, 2 - medium, 3 - max
OPTIMIZE = 0 # 0 - none, 1 - size, 2 - speed
......
......
hexfile intel86 // Intel extended hex output
listfile segments // Create a segment map
map 0x00000 to 0x003ff as reserved // Interrupt vector table
map 0x00400 to 0x01fff as rdwr // data area
map 0x02000 to 0xdffff as reserved
map 0xe0000 to 0xfffff as rdonly // EPROM
cputype Am186EM // Select the processor type
initcode inbyte 0x1000 // Reset vector
.......
相關(guān)PDF資料
PDF描述
DEBUGGING Debugging an Am186EM Application on the SD186EM Demonstration Board Using Microsoft's C/C++ Compiler and Paradigm Debug Software Application Note? 80.0KB (PDF)
DECIMATE DECIMATE⑩
DEIC420 20 Ampere Low-Side Ultrafast RF MOSFET Driver
DELAY EM56/57 - Speech & Music Synthesizer - Application Note - Application Note
DEM-ACF2101BP DEM-ACF2101BP - DISCONTINUED PRODUCT. No longer recommended for new design.
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
DEBUGADPTER-USB 功能描述:插座和適配器 USB Debug Adapter FOR C8051Fxxx MCU RoHS:否 制造商:Silicon Labs 產(chǎn)品:Adapter 用于:EM35x
DEBUGADPTR1-USB 功能描述:插座和適配器 USB Debug Adapter FORC8051FXXXMCU RoHS:否 制造商:Silicon Labs 產(chǎn)品:Adapter 用于:EM35x
DEBUGGING 制造商:未知廠家 制造商全稱(chēng):未知廠家 功能描述:Debugging an Am186EM Application on the SD186EM Demonstration Board Using Microsoft's C/C++ Compiler and Paradigm Debug Software Application Note? 80.0KB (PDF)
DEBURRER-RS 制造商:Spear & Jackson 功能描述:PIPE DEBURRER 3-32MM
DEC09ST 制造商:ITW Switches 功能描述: