Chip:RT1176
IDE:MCUXPresso IDE
FlexSPI2 is connected to NOR Flash,and FlexSPI1 is connected to HyperRAM on my board.
Do you have DCD configuration example for hyperRAM please?
--------
Chapter 10.8.2.3 in reference manual mentions XMCD could configure HyperRAM .
So I add the `xmcd` component,and change the xmcd_data array as below:
const uint32_t xmcd_data[] = {
0xC0000008,
0xC0000700
};
But it doesn't work.
I find that the section `__attribute__((section(".boot_hdr.xmcd_data"), used))` declared in xmcd.c is not defined in evkbmimxrt1170_freertos_hello_cm7_Debug.ld.
The reference manual saids "The XMCD header resides at the fixed offset 0x40 from the IVT header",so I change evkbmimxrt1170_freertos_hello_cm7_Debug.ld manually as below:
.boot_hdr : ALIGN(4)
{
FILL(0xff)
. = 0x40 ;
KEEP(*(.boot_hdr.xmcd_data))
. = 0x400 ;
__boot_hdr_start__ = ABSOLUTE(.) ;
KEEP(*(.boot_hdr.conf))
. = 0x1000 ;
__boot_hdr_ivt_loadaddr__ = ABSOLUTE(.) ;
KEEP(*(.boot_hdr.ivt))
. = 0x1020 ;
__boot_hdr_boot_data_loadaddr__ = ABSOLUTE(.) ;
KEEP(*(.boot_hdr.boot_data))
. = 0x1030 ;
__boot_hdr_dcd_loadaddr__ = ABSOLUTE(.) ;
KEEP(*(.boot_hdr.dcd_data))
__boot_hdr_end__ = ABSOLUTE(.) ;
. = 0x2000 ;
} >BOARD_FLASH
But the hyperRAM also doesn't work.
How can I initialize the hyperRAM?
Thanks