參數(shù)資料
型號: 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)
中文描述: 調(diào)試的SD186EM演示板使用微軟的C / C編譯器和調(diào)試軟件中的應(yīng)用范例說明1 Am186EM應(yīng)用程序? 80.0KB(PDF格式)
文件頁數(shù): 3/15頁
文件大小: 80K
代理商: DEBUGGING
9/11/95
Page 3
Figure 1 - Debugging an Am186EM Application program
2.
Installing Paradigm PDREM
: The installation program needs to know something about the
software and hardware environment to retrieve correct source code for building PDREM. When
installing PDREM, be sure to set the following parameters as indicated:
- Target processor:
AMD Am186EM
- Target Math coprocessor:
None
- Target UART:
Am186EM/internal
- System compiler:
Microsoft C/C++ 8.0
2
When the installation is finished, source files needed for building PDREM files for the SD186EM
board are copied to the hard drive. “Building and Downloading PDREM” shows how to build the
PDREM monitor and download it to the target board.
3.
Installing Paradigm Debug/RT-186
: The Paradigm Debug/RT-186 installation program will
request information such as the serial communication port and baud rate. The specified baud rate
defines the communication channel between Paradigm Debug/RT-186 (
pdrt186)
and PDREM.
Though the E86MON which resides on the SD186EM board is programmed to communicate with
the host at the baud rate of 19200,
pdrt186
may not communicate with the target at this baud rate;
rather it communicates with the target at the baud rate defined in the
dcomms.c
file in the
pdrem
directory. Make sure the baud rate being entered here matches the one defined in
dcomms.c
.
Figure 2 - Setting the baud rate in the
pdrem\dcomms.c
file
In general, the PDREM file (
pdrem.hex
) is downloaded to the board at a baud rate of 19200.
Afterward, the communication between Paradigm Debug/RT and the target is defined by PDREM,
not by E86MON. The default baud rate defined in the
dcomms.c
file is
115200
. To change
PDREM’s baud rate, simply change this number to a valid baud rate and rebuild PDREM. Figure
2 shows a portion of the
dcomms.c
file; the line defining the baud rate is shown in boldface.
4.
Setting the PATH:
After the Paradigm software is installed, the user should set the PATH
environment variable to include the directories of Paradigm LOCATE, Paradigm Debug/RT, and
the
bin
directory of the Microsoft C/C++ compiler and assembler. For instance, if Paradigm
LOCATE is installed in the directory
c:\locate
, Paradigm Debug/RT is installed in the directory
c:\pd
, the Microsoft C/C++ compiler is installed in the directory
c:\msvc
, and the Microsoft
Assembler is installed in the directory
c:\masm_61
, then the PATH environment variable should
contain the string:
2
Microsoft’s C compiler version 8.0 is the same as Microsoft’s Visual C++ version 1.5
......
/* Select Xtal frequency and desired BAUD Rate */
#define
CLK
40000000UL
#define
BAUD
115200UL
/* X1/X2 Crystal input frequency */
/* Desired BAUD rate */
#define IOB186EM 0xff00
/* Location of PCB */
#include
<dos.h>
/* Enable/disable functions */
#include “typedef.h”
#include “target.h”
#include “helpers.h”
......
/* Common definition and prototypes */
/* Target system specific information */
/* PDREMOTE/ROM helper functions */
相關(guān)PDF資料
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.
DEM-ADS83XE DEM-ADS83xE - EVALUTION FIXTURE
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
DEBURRER-RS 制造商:Spear & Jackson 功能描述:PIPE DEBURRER 3-32MM
DEC09ST 制造商:ITW Switches 功能描述:
DEC1001 功能描述:烙鐵 DISC BY MFG 1/02 DUAL IRON STATION RoHS:否 制造商:Weller 產(chǎn)品:Soldering Stations 類型:Digital, Iron, Stand, Cleaner 瓦特:50 W 最大溫度:+ 850 F 電纜類型:US Cord Included
DEC1002-OD 制造商:Cooper Hand Tools / Weller 功能描述:SOLDERING STATION
DE-C13-J7 制造商:Japan Aviation Electronics (JAE) 功能描述: