微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > 射频无线通信设计 > cc2541 map信息的含义是什么?

cc2541 map信息的含义是什么?

时间:10-02 整理:3721RD 点击:
  这是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.

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top