We are working on SEMC module and we are testing SEMC(SDK_2_10_0_EVKB-IMXRT1050\boards\evkbimxrt1050\driver_examples\semc\sdram\iar) example code MIMXRT1050EVKB board with MIMXRT1052xxxxx_flexspi_nor.icf linker file.
Example code is working fine. But when we call SEMC_Deinit as below in example code,
When we put breakpoint at while(1) line number 119 and after that full run getting below error.
This is exactly we are facing issue with our testing when we run Unity API UnityEnd() after SEMC_Deinit(..)
Please let me know.. what could be the issue and how to resolve this ?
Hope you are well.
The DeInit function disables the module as well as the module clocks. We expect that only the module stops working after calling this function.
I replicated this issue and the example worked well after calling the DeInit function.
I suggest you add some PRINTF for test and load the example in serial downloader mode through this tool to check if this issue persists: https://github.com/JayHeng/NXP-MCUBootUtility
If you have more questions do not hesitate to ask me.