Note that evkbimxrt1050_aws_remote_control_enet example disables D-Cache by calling SCB_DisableDCache() in main() function. We wanna enable it to promote performance in our project, but we met net issue. How to fix it. BTW, using SDRAM in our project.
Hello Xiaofeng Wei,
There is a fix for the ENET device with cache enabled inside the Zephyr project:
https://github.com/zephyrproject-rtos/zephyr/pull/12465/files#diff-4f204428de40f14c13a499d4f08473f4
Fix explanation can be found here:
https://github.com/zephyrproject-rtos/zephyr/pull/12465#issuecomment-455715953
Regards,
Andrei
Hi Kerry,
SDK version: SDK_2.6.0_EVKB-IMXRT1050
Modified: Deleted SCB_DisableDCache() from main() function.
Net issue: If modified as above, DHCP OK, but the following mqtt communication failed.
BTW, also find the following comments from SDK examples. How to explain it. Thanks.
/* Data cache must be temporarily disabled to be able to use sdram */
SCB_DisableDCache();
CRYPTO_InitHardware();
Hi Xiaofeng wei ,
What's the detail SDK version you are using? and what the detail point you have modified.
After you modify it, what's the net issue you are meeting?
Please give us more details about your net issue, and tell me how to reproduce the problem in nxp official sdk code.
Waiting for our updated information.
Have a great day,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------