This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

编译报错,cmd文件中关于CSM_PWL_P0区域的大小

在工程中增加例程文件:F2806x_CSMPasswords.asm
文件部分内容如下:
      .sect "csmpasswds"

      .int 0xFFFF  ;PWL0 (LSW of 128-bit password)
      .int 0xFFFF  ;PWL1
      .int 0xFFFF  ;PWL2
      .int 0xFFFF  ;PWL3
      .int 0xFFFF  ;PWL4
      .int 0xFFFF  ;PWL5
      .int 0xFFFF  ;PWL6
      .int 0xFFFF  ;PWL7 (MSW of 128-bit password)

编译后报错如下:
##################################################################################################
"../F28069.cmd", line 138: error #10099-D: program will not fit into available
   memory.  placement with alignment/blocking fails for section "csm_rsvd" size
   0xec page 0.  Available memory ranges:
   CSM_RSVD     size: 0x76         unused: 0x76         max hole: 0x76

"../F28069.cmd", line 137: error #10099-D: program will not fit into available
   memory.  placement with alignment/blocking fails for section "csmpasswds"
   size 0x10 page 0.  Available memory ranges:
   CSM_PWL_P0   size: 0x8          unused: 0x8          max hole: 0x8
##################################################################################################

F28069.cmd为默认文件,有关部分如下:

   CSM_RSVD    : origin = 0x3F7F80, length = 0x000076     /* Part of FLASHA.  Program with all 0x0000 when CSM is in use. */
   BEGIN       : origin = 0x3F7FF6, length = 0x000002     /* Part of FLASHA.  Used for "boot to Flash" bootloader mode. */
   CSM_PWL_P0  : origin = 0x3F7FF8, length = 0x000008     /* Part of FLASHA.  CSM password locations in FLASHA */
   ..................
   ..................
   csmpasswds          : > CSM_PWL_P0, PAGE = 0
   csm_rsvd            : > CSM_RSVD,   PAGE = 0

问题:
1. 按照cmd文件中csmpasswds的区域size为8;size应该为word型(16位双字节型)的个数,
2. 编译时为什么按照byte个数来计数?csmpasswds区域占用16个字节。

是不是由于以上原因编译报错,互相冲突?是我设置有问题吗?