PAGE 1 : RAMM1 : origin = 0x000400, length = 0x000400 /* on-chip RAM block M1 */ RAML4 : origin = 0x00C000, length = 0x001000 RAML5 : origin = 0x00D000, length = 0x001000 RAML6 : origin = 0x00E000, length = 0x001000 .ebss : > RAML4, PAGE = 1 .econst : > RAML5, PAGE = 1 .esysmem : > RAMM1, PAGE = 1 IQmath : > RAML1, PAGE = 0 IQmathTables : > IQTABLES, PAGE = 0, TYPE = NOLOAD IQmathTables2 : > IQTABLES2, PAGE = 0, TYPE = NOLOAD FPUmathTables : > FPUTABLES, PAGE = 0, TYPE = NOLOAD DMARAML4 : > RAML4, PAGE = 1 DMARAML5 : > RAML5, PAGE = 1#pragma DATA_SEC
tiON(DMABuf1,"DMARAML4");#pragma DATA_SECTION(DMABuf2,"DMARAML5");volatile Uint16 DMABuf1[1024];volatile Uint16 DMABuf2[1024];Uint16 DMABuf1[1024];这个数组需要2的14次幂个bit;
而在cmd的配置文件中,RAML4的长度只有0x1000,2的12次幂个bit?能盛下吗?另外为什么还有.ebss占用RAML4?
这个是Example_2833xDMA_ram_to_ram;例程的。
谢谢