I want to configure FlexRAM to 256k itcm and 256k dtcm
I used the following DCD array
const uint8_t dcd_data[] = {
/* HEADER */
/* Tag */
0xD2,
/* Image Length */
0x00, 0x1C,
/* Version */
0x41,
/* COMMANDS */
/* #1, command: write_value, address: IOMUXC_GPR_GPR17, value: 0xAAFFFFAA, size: 4 */
0xCC, 0x00, 0x0C, 0x04, 0x40, 0x0A, 0xC0, 0x44, 0xAA, 0xFF, 0xFF, 0xAA,
/* #2, command: write_set_bits, address: IOMUXC_GPR_GPR16, value: 0x4, size: 4 */
0xCC, 0x00, 0x0C, 0x1C, 0x40, 0x0A, 0xC0, 0x40, 0x00, 0x00, 0x00, 0x04
};
but it didn't work
thank you for the help
Hi @Ashlee ,
Thank you for your interest in the NXP MIMXRT product, I would like to provide service for you.
Do you try to reconfigure the flexRAM in the reset handler, whether that works OK or not?
After that works, then you can try to add it in the DCD.
Which IDE you are using, do you debug it or just download the code to the flash check the boot situation?
I attach one document, which also use DCD modification, but it is in chinese, you can associate with the translation tool to check it, that works OK.
Wish it helps you!
Best Regards,
Kerry
Hi @kerryzhou
I reconfigure flexram in reset handler or jlink script are both work fine.
It's just that the configuration in DCD is invalid.
I am not using any IDE. I using jlink download flash
Thank you for your document, I will look into it in detail
Hi @Ashlee ,
Your are welcome!
After you check my document, and still have issues, you can use your company email to create the question, then we can put more time to check the deep details.
Best Regards,
Kerry