I am using IMXRT1020 , I am trying to test the example code of evkmimxrt1024_fsl_romapi but the code is getting stuck and going to hardfault error of undefined function at below lines.
ROM_FLEXSPI_NorFlash_ClearCache(FlexSpiInstance);
status = FLEXSPI_NorFlash_GetVendorID(FlexSpiInstance, &vendor);
if (status == kStatus_Success)
My objective is to call the HAB realated ROM api's please suggest me how can I call the
entry and get version HAB ROM api's from application code.
I am just trying by assigning the (0x002002C0 + 0x04) address to function pointer and
calling the hab entry function but it is resulting to hardfault error. please help me on this. thanks in advance.
Hi @wasimarfath
Thank you very much for your patience, I do appreciate.
For the HAB API testing please take a look at my reply here https://community.nxp.com/t5/Other-NXP-Products/HAB-Testing/td-p/1877241
I used some header files for the HAB APIs from the MCUXpresso SBL. This way is easier.
If you still need my full project let me know.
Diego