欢迎访问ic37.com |
会员登录 免费注册
发布采购

EPM240T100C5N 参数 Datasheet PDF下载

EPM240T100C5N图片预览
型号: EPM240T100C5N
PDF下载: 下载PDF文件 查看货源
内容描述: [暂无描述]
分类和应用: 可编程逻辑器件输入元件PC
文件页数/大小: 295 页 / 3815 K
品牌: ALTERA [ ALTERA CORPORATION ]
 浏览型号EPM240T100C5N的Datasheet PDF文件第240页浏览型号EPM240T100C5N的Datasheet PDF文件第241页浏览型号EPM240T100C5N的Datasheet PDF文件第242页浏览型号EPM240T100C5N的Datasheet PDF文件第243页浏览型号EPM240T100C5N的Datasheet PDF文件第245页浏览型号EPM240T100C5N的Datasheet PDF文件第246页浏览型号EPM240T100C5N的Datasheet PDF文件第247页浏览型号EPM240T100C5N的Datasheet PDF文件第248页  
14–8
Chapter 14: Using Jam STAPL for ISP via an Embedded Processor
Software Development
Generic code that performs the Player’s internal functions (all other C files)
illustrates the organization of the source code files by function. Keeping
the platform-specific code inside the
jbistub.c
file simplifies the process of porting the
Jam STAPL Byte-Code Player to a particular processor.
Figure 14–5.
Jam STAPL Byte-Code Player Source Code Structure
Jam STAPL Player
I/O Functions
(jbistub.c
file)
Error
Message
TCK
TMS
TDI
.jbc
Main Program
TDO
Parse
Interpret
Compare
and Export
Porting the Jam STAPL Byte-Code Player
The default configuration of the
jbistub.c
file includes code for DOS, 32-bit Windows,
and UNIX so that the source code can be easily compiled and evaluated for the correct
functionality and debugging of these pre-defined operating systems. For the
embedded environment, this code is easily removed using a single preprocessor
#define
statement. In addition, porting the code involves making minor changes to
specific parts of the code in the
jbistub.c
file.
To port the Jam Player, you need to customize several functions in the jbistub.c file,
which are shown in
Table 14–1.
Functions Requiring Customization
Function
jbi_jtag_io()
jbi_export()
jbi_delay()
jbi_vector_map()
jbi_vector_io()
Description
Interface to the four IEEE 1149.1 JTAG signals,
TDI, TMS, TCK,
and
TDO
Passes information such as the User Electronic Signature (UES) back to
the calling program
Implements the programming pulses or delays needed during execution
Processes signal-to-pin map for non-IEEE 1149.1 JTAG signals
Asserts non-IEEE 1149.1 JTAG signals as defined in the VECTOR MAP
To ensure that you have customized all of the necessary code, follow these four steps:
1.
2.
3.
4.
Set preprocessor statements to exclude extraneous code.
Map JTAG signals to hardware pins.
Handle text messages from
jbi_export().
Customize delay calibration.