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.

关于430芯片选型



外设程序运行后list得出  93254 bytes of memory     6432bytes of dada memory, 21176 bytes of const memory,这个const memory是存放在flash中还是sram?选型时芯片的flash和sram需要选多大?

  • 你好,

        const变量一般放flash中。具体flash和ram要多大可以在编译完之后看相关文件(如CCS的map文件)

  • 我给出的就是map的数据

  • Hi xinyi,

      有两种方法可以解决你的问题,第一就是说你直接将const 的大小算到flash size的大小里面,在加上前的memory数值就可以得到一个flsha 大小的参考值,而让ram的话就直接参考你得到的data memory的大小。

    第二个方法就是看memory文件里面类似于下面的信息:

    name origin length used unused attr fill
    ---------------------- -------- --------- -------- -------- ---- --------
    VECTORS 00000000 00000020 00000020 00000000 X
    FLASH0 00000020 0017ffe0 00006648 00179998 R X
    FLASH1 00180000 00180000 00000000 00180000 R X
    STACKS 08000000 00001500 00000000 00001500 RW
    RAM 08001500 0003eb00 000000fc 0003ea04 RW

    这样就很明显的能算出flash 和ram的大小。然后在我们官网中找到430芯片的选型手册,找到相应的款型。

    谢谢

    ken