SEMC_Deinit issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SEMC_Deinit issue

894 Views
shaileshnsec
Contributor II

Hi,

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, 

shaileshnsec_1-1641902056089.png

When we put breakpoint at while(1) line number 119 and after that full run getting below error.

shaileshnsec_0-1641902032147.png

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 ?

Tags (1)
1 Reply

832 Views
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello
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.
Best regards,
Omar

0 Kudos
Reply