解决方案ID: rd10112000_4100
最后修改: 2006 年2 月28 日
产品类别: None
产品领域: 其他
产品子领域: 其他(None)
器件系列: N/A
标题
When programming devices with the JamTM standard test and programming language (STAPL) files, how do I set the security bits?
说明
Standardized Jam STAPL Files
Setting the security bit during programming is controlled by the DO_SECURE procedure. If this flag is set, then all devices that are being programmed will have their security bits set. If the flag is not set, no devices will have their security bits set. See the following examples of setting the security bit in the command-line players.
Don't set security
==================
Jam STAPL Player: jam -aPROGRAM file_name.jam
Jam STAPL Bytecode Player: jbi -aPROGRAM file_name.jbc
Set security
============
Jam STAPL Player: jam -aPROGRAM -dDO_SECURE=1 file_name.jam
Jam STAPL Bytecode Player: jbi -aPROGRAM -dDO_SECURE=1 file_name.jbc
Pre-Standardized Jam1.1 Files
Setting the security bit during programming is controlled by two initialization variables: DO_SECURE and DO_SECURE_ALL. If neither variable is set, the security bits will not be set. If the DO_SECURE_ALL flag is set, then all devices that are being programmed will have their security bits set; additionally, if the DO_SECURE flag is set, the devices will have their security bit set as specified in design entry. See the following examples of setting the security bit in the command-line players.
Don't set security
==================
Jam STAPL Player: jam -dDO_PROGRAM=1 file_name.jam
Jam STAPL Bytecode Player: jbi -dDO_PROGRAM=1 file_name.jbc
Set security
============
Jam STAPL Player: jam -dDO_PROGRAM=1 -dDO_SECURE_ALL=1 file_name.jam
Jam STAPL Bytecode Player: jbi -dDO_PROGRAM=1 -dDO_SECURE_ALL=1 file_name.jbc
Set security as set in the original design files
================================================
Jam STAPL Player: jam -dDO_PROGRAM=1 -dDO_SECURE=1 file_name.jam
Jam STAPL Bytecode Player: jbi -dDO_PROGRAM=1 -dDO_SECURE=1 file_name.jbc
反馈
Altera并不保证此解决方案能够达到客户的预期目的,并不承担所有的解决方案的使用和信赖的责任。
