IMXRT1020 ROM HAB API testing

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IMXRT1020 ROM HAB API testing

379件の閲覧回数
wasimarfath
Contributor I

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.

 

0 件の賞賛
返信
1 返信

287件の閲覧回数
diego_charles
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信