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.

TMS320F28027 Memory 配置改动问题咨询

请问可否改动 Memory map L0 SARAM 的默认配置?

默认为origin=0x008000,length=0x000700 存储程序;origin=0x008700,length=0x000900存储数据。

因空间有限,现改为origin=0x008000,length=0x000100 存储程序;origin=0x008100,length=0x000E00 存储数据。

改完之后,可以正常编译和运行,

请问这个改动是否可行,后续是否存在潜在的稳定性风险?

  • F28027器件具有 4K x 16 words的SARAM空间,范围为0x8000至0x8FFF。L0RAM的最大长度为0x1000。

    您是可以按照您之前描述的来分配的。

    也可以合并2个一起使用,都是允许的,如

    RAML0:origin= 0x008000,length= 0x1000
  • F28027器件具有 4K x 16 words的SARAM空间,范围为0x8000至0x8FFF。L0RAM的最大长度为0x1000。

    您是可以按照您之前描述的来分配的。

    也可以合并2个一起使用,都是允许的,如

    RAML0:origin= 0x008000,length= 0x1000
  • warning: (unknown file): DW_CFA_def_cfa_offset_sf is DWARF 3 specific; this

      DWARF information should only contain version 2 instructions

    我们编译时出现以上信息,但是还是能完成编译,请问这是什么信息?有何影响吗

  • 对于此警告,您是使用的EABI还是COFF ABI进行开发?

    参考 dwarfstd.org/.../Dwarf3.pdf

    5. DW_CFA_def_cfa_offset_sf

    The DW_CFA_def_cfa_offset_sf instruction takes a signed LEB128 operand representing a factored offset. This instruction is identical to DW_CFA_def_cfa_offset except that the operand is signed and factored.