⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lnk51ew_cc1111.xcl

📁 cc1111调试文件
💻 XCL
字号:
////////////////////////////////////////////////////////////////////////////////
//
//  File:  lnk51ew_cc1111.xcl
//  Date:  2007.9.27-10:19
//
//  Description:
//    This is a extended command line file for XLINK tool to be used with
//    debug applications written for the Chipcon CC1111.
//
//  Important:
//    Data cannot be located at address zero, this address is reserved for
//    the null pointer.
//
////////////////////////////////////////////////////////////////////////////////



////////////////////////////////////////////////////////////////////////////////
//
// Variables (used by lnk_base.xcl)
// ================================
//
// Segment limits
// --------------
//
//
//    IDATA
//
-D_IDATA_END=0xFF              // Last address of Idata memory
//
//
//    PDATA
//
// CC1111-F32
-D_PDATA_START=0xF000          // First address for PDATA memory.
-D_PDATA_END=0xF0FF            // Last address for PDATA memory.
//
// CC1111-F16
//-D_PDATA_START=0xF800        // First address for PDATA memory.
//-D_PDATA_END=0xF8FF          // Last address for PDATA memory.
//
// CC1111-F8
//-D_PDATA_START=0xFC00        // First address for PDATA memory.
//-D_PDATA_END=0xFCFF          // Last address for PDATA memory.
//
//
//    IXDATA
//
-D_IXDATA_START=0xF000         // The internal xdata is 4k, CC1111-F32.
//-D_IXDATA_START=0xF800       // The internal xdata is 2k, CC1111-F16.
//-D_IXDATA_START=0xFC00       // The internal xdata is 1k, CC1111-F8.
-D_IXDATA_END=0xFDA1
//                                FDA1 to FEFF used for reg savings (350 bytes)
//                                FF00 to FFFF mapped to IDATA
//
//
//    XDATA
//
// The internal XDATA is used as XDATA.
-D_XDATA_START=_IXDATA_START
-D_XDATA_END=_IXDATA_END
//
//
//    CODE
//
//                                Code size:
-D_CODE_START=0x0000
-D_CODE_END=0x7FFF             // 32KB code, CC1111-F32.
//-D_CODE_END=0x3FFF           // 16KB code, CC1111-F16.
//-D_CODE_END=0x1FFF           //  8KB code, CC1111-F8.
//
//
//    NEAR CODE
//
-D_NEAR_CODE_END=_CODE_END     // Last address for near code.
//
//
//    TINY CODE
//
-D_TINY_CODE_END=0x7FF         // Last address for tiny code.
//
//
//
// Special SFRs
// ------------
//
//
//    CODE bank setup
//
-D_FIRST_BANK_ADDR=0x10000
-D_NR_OF_BANKS=0x00
//
//
//    Register bank setup
//
-D?REGISTER_BANK=0             // Default register bank (0,1,2,3).
-D_REGISTER_BANK_START=0       // Start address for default register bank (00,08,10,18).
//
//
//    PDATA page setup
//
-D?PBANK_NUMBER=F0             // High byte of 16-bit address to the PDATA area, CC1111-F32.
//-D?PBANK_NUMBER=F8           // High byte of 16-bit address to the PDATA area, CC1111-F16.
//-D?PBANK_NUMBER=FC           // High byte of 16-bit address to the PDATA area, CC1111-F8.
-D?PBANK=93                    // Most significant byte in MOVX A,@R0. (0x93 is sfr MPAGE).
//
//
//    Virtual register setup
//    ----------------------
//
-D_BREG_START=0x00             // The bit address where the BREG segments starts.
                               // Must be placed on: _BREG_START%8=0 where _BREG_START <= 0x78.
-D?VB=0x20                     // ?VB is used when referencing BREG as whole byte.
                               // Must be placed on: ?VB=0x20+_BREG_START/8.
//
////////////////////////////////////////////////////////////////////////////////



////////////////////////////////////////////////////////////////////////////////
//
// To the reader: Ignore this section ------------------------------------------
//
//
// Dummy definitions needed to satisfy lnk_base.xcl
//
//
-D_FAR_DATA_NR_OF_BANKS=0x0E   // Number of banks in far data memory.
-D_FAR_DATA_START=0x010001     // First address of far memory.
-D_FAR_DATA_END=0xFFFFFF       // Last address of far memory.
-D_FAR_CODE_START=_CODE_START  // First address for far code.
-D_FAR_CODE_END=_CODE_END      // Last address for far code.
//
////////////////////////////////////////////////////////////////////////////////



////////////////////////////////////////////////////////////////////////////////
//
// Include the lnk_base command file
// =================================
//
//
-f lnk_base.xcl
//
////////////////////////////////////////////////////////////////////////////////



////////////////////////////////////////////////////////////////////////////////
//
// Chipcon device specific
// =======================
//
//
//
//
//
////////////////////////////////////////////////////////////////////////////////

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -