I tried to reconfigure FlexRAM using DCD, but it didn't work

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

I tried to reconfigure FlexRAM using DCD, but it didn't work

1,480 次查看
Ashlee
Contributor I

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

0 项奖励
回复
3 回复数

1,470 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

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

 

0 项奖励
回复

1,444 次查看
Ashlee
Contributor I

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

0 项奖励
回复

1,403 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复