• 易迪拓培训,专注于微波、射频、天线设计工程师的培养
首页 > 无线通信 > 技术讨论 > cc2541 map信息的含义是什么?

cc2541 map信息的含义是什么?

录入:edatop.com     点击:
  这是cc2541 map 的信息,那每一条代表什么呢?我想知道详细一点。
   112 726 bytes of CODE  memory
     35 bytes of DATA  memory (+ 73 absolute )
     6 272 bytes of XDATA memory
     194 bytes of IDATA memory
     8 bits  of BIT   memory
     487 bytes of CONST memory

When you have compiled your project you can have a look at the bottom in the ".map" file (Output Folder).
For example, the heart rate example project:
108 019 bytes of CODE memory
     26 bytes of DATA memory (+ 73 absolute )
  6 089 bytes of XDATA memory
    192 bytes of IDATA memory
      8 bits of BIT memory
    702 bytes of CONST memory
This information is useful, in that it tells the total amount of code space (CODE memory) and RAM (XDATA memory) being used by the project. The sum of the CODE memory plus CONST memory must not exceed the maximum flash size of the device (either 128KB or 256KB, depending on the version of the CC2540/41). The size of the XDATA memory must not exceed 7936 bytes, as the CC2540/41 contains 8kB of SRAM (256 bytes are reserved).
For more specific information, the map file contains a section title “MODULE SUMMARY”, which can be found approximately 200-300 lines before the end of the file (the exact location will vary from build-to-build). Within this section, the exact amount of flash and memory being used for every module in the project can be seen.

上一篇:cc3200 的non-DMA发送数据返回值总是-1,什么原因?
下一篇:CC2530 如何实现广播功能?

手机天线设计培训教程详情>>

手机天线设计培训教程 国内最全面、系统、专业的手机天线设计培训课程,没有之一;是您学习手机天线设计的最佳选择...【More..

射频和天线工程师培训课程详情>>

  网站地图