evkbrt1170 romapi

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

evkbrt1170 romapi

Jump to solution
6,143 Views
seobi
Contributor III

Hi, 

I am using evkbrt1170 to test romapi in flash.

To get straight to the point, it is no longer working in rom_api_flexspi_nor_get_config().

After searching the community, I found advice to change FLASH_DUMMY_CYCLES and FLASH_DUMMY_VALUE in evkbmimxrt1170_flexspi_nor_config.c to 0x06 and 0x00, respectively. However, it still doesn't work.

It worked without any issues when I previously used evkmimxrt1060_fsl_romapi.

Why isn't it working on evkbrt1170? Are there any specific conditions for using it in flash?

Additionally, I need to test it in flash, not in RAM.

Here is the code I am testing. Please review it.

Best regards,

0 Kudos
Reply
1 Solution
5,978 Views
diego_charles
NXP TechSupport
NXP TechSupport

Hi @seobi 

Make sure to mass erase the flash memory and let me know your results. I am now able to run the demo fsl_romapi demo from SDK v2.16.0 after doing this.

Here are more details from our  SDK team: 

 Please note you need to ensure flash is on default status(You can erase the flash and click reset button to ensure the default status.)
This issue is caused by ROM API use default dummy cycles to read data from external flash. If dummy cycles changed by users, ROMAPI don't know the changes.

 

Thank you for your patience, if you are still having issues  or comments do not hesitate to get back to me.

Diego

 

View solution in original post

0 Kudos
Reply
6 Replies
5,963 Views
seobi
Contributor III

I agree with your opinion.

Thank you very much.

Best regards,

6,115 Views
seobi
Contributor III

I confirmed that the ROMAPI functions properly after downloading using the MCUXpresso secure provisioning tool.

However, it is not functioning properly when using the IDE.

Is there a way to make it work with the IDE?

6,100 Views
diego_charles
NXP TechSupport
NXP TechSupport

Hi @seobi 

We did had issues on  SDK v2.15.x to get the fsl_romapi demo working, as seen on the thread you mentioned, they where related to EVK flash configuration (dummy cycles). As far I know release v2.16.0 should have changes implemented already, to make the demo operate properly. 

Which SDK release version are you using?  

Did you also get issues running the fsl_romapi demo? Let me try on my end this demo too.

Edit: today I ran with issues  the fsl_romapi demo from RT1170 EVKB SDK 2.16.0. I am currently checking this issue, I will get back to you as soon as possible with more feedback regarding the demo.  Thank you for reaching out.

Diego

0 Kudos
Reply
6,038 Views
seobi
Contributor III
Thank you for your detailed response. Could you provide information on the schedule for the related SDK?
0 Kudos
Reply
6,000 Views
diego_charles
NXP TechSupport
NXP TechSupport

Hi @seobi 

I still have not received confirmation  from SDK team regarding demo failure, as our team is currently a little bit busy with more  SDK releases. If a minor version update is required  to the SDK, I still do not have a date yet. However, as soon I get any information, I will get back to you. 

Are you still getting issues or require further help to get the demo running? If so, please do not hesitate to let me know.  Previously, I was able to get the demo working for SDK v2.15.x, but I still have not tryed previous workarrounds on latest version. 

Thank you for your patience. 

Diego.

0 Kudos
Reply
5,979 Views
diego_charles
NXP TechSupport
NXP TechSupport

Hi @seobi 

Make sure to mass erase the flash memory and let me know your results. I am now able to run the demo fsl_romapi demo from SDK v2.16.0 after doing this.

Here are more details from our  SDK team: 

 Please note you need to ensure flash is on default status(You can erase the flash and click reset button to ensure the default status.)
This issue is caused by ROM API use default dummy cycles to read data from external flash. If dummy cycles changed by users, ROMAPI don't know the changes.

 

Thank you for your patience, if you are still having issues  or comments do not hesitate to get back to me.

Diego

 

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1924811%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Eevkbrt1170%20romapi%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1924811%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20using%20evkbrt1170%20to%20test%20romapi%20in%20flash.%3C%2FP%3E%3CP%3ETo%20get%20straight%20to%20the%20point%2C%20it%20is%20no%20longer%20working%20in%20rom_api_flexspi_nor_get_config().%3C%2FP%3E%3CP%3EAfter%20searching%20the%20community%2C%20I%20found%20advice%20to%20change%20FLASH_DUMMY_CYCLES%20and%20FLASH_DUMMY_VALUE%20in%20evkbmimxrt1170_flexspi_nor_config.c%20to%200x06%20and%200x00%2C%20respectively.%20However%2C%20it%20still%20doesn't%20work.%3C%2FP%3E%3CP%3EIt%20worked%20without%20any%20issues%20when%20I%20previously%20used%20evkmimxrt1060_fsl_romapi.%3C%2FP%3E%3CP%3EWhy%20isn't%20it%20working%20on%20evkbrt1170%3F%20Are%20there%20any%20specific%20conditions%20for%20using%20it%20in%20flash%3F%3C%2FP%3E%3CP%3EAdditionally%2C%20I%20need%20to%20test%20it%20in%20flash%2C%20not%20in%20RAM.%3C%2FP%3E%3CP%3EHere%20is%20the%20code%20I%20am%20testing.%20Please%20review%20it.%3C%2FP%3E%3CP%3EBest%20regards%2C%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1936864%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20evkbrt1170%20romapi%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1936864%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20agree%20with%20your%20opinion.%3C%2FP%3E%3CP%3EThank%20you%20very%20much.%3C%2FP%3E%3CP%3E%3CSPAN%3EBest%20regards%2C%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1936584%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20evkbrt1170%20romapi%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1936584%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F228348%22%20target%3D%22_blank%22%3E%40seobi%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMake%20sure%20to%20mass%20erase%20the%20flash%20memory%20and%20let%20me%20know%20your%20results.%20I%20am%20now%20able%20to%20run%20the%20demo%20fsl_romapi%20demo%20from%20SDK%20v2.16.0%20after%20doing%20this.%3C%2FP%3E%0A%3CP%3EHere%20are%20more%20details%20from%20our%26nbsp%3B%20SDK%20team%3A%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CSPAN%3E%26nbsp%3BPlease%20note%20you%20need%20to%20ensure%20flash%20is%20on%20default%20status(You%20can%20erase%20the%20flash%20and%20click%20reset%20button%20to%20ensure%20the%20default%20status.)%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EThis%20issue%20is%20caused%20by%20ROM%20API%20use%20default%20dummy%20cycles%20to%20read%20data%20from%20external%20flash.%20If%20dummy%20cycles%20changed%20by%20users%2C%20ROMAPI%20don't%20know%20the%20changes.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThank%20you%20for%20your%20patience%2C%20if%20you%20are%20still%20having%20issues%26nbsp%3B%20or%20comments%20do%20not%20hesitate%20to%20get%20back%20to%20me.%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EDiego%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1935630%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20evkbrt1170%20romapi%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1935630%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F228348%22%20target%3D%22_blank%22%3E%40seobi%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20still%20have%20not%20received%20confirmation%26nbsp%3B%20from%20SDK%20team%20regarding%20demo%20failure%2C%20as%20our%20team%20is%20currently%20a%20little%20bit%20busy%20with%20more%26nbsp%3B%20SDK%20releases.%20If%20a%20minor%20version%20update%20is%20required%20%26nbsp%3Bto%20the%20SDK%2C%20I%20still%20do%20not%20have%20a%20date%20yet.%20However%2C%20as%20soon%20I%20get%20any%20information%2C%20I%20will%20get%20back%20to%20you.%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAre%20you%20still%20getting%20issues%20or%20require%20further%20help%20to%20get%20the%20demo%20running%3F%20If%20so%2C%20please%26nbsp%3Bdo%20not%20hesitate%20to%20let%20me%20know.%26nbsp%3B%20Previously%2C%20I%20was%20able%20to%20get%20the%20demo%20working%20for%20SDK%20v2.15.x%2C%20but%20I%20still%20have%20not%20tryed%20previous%20workarrounds%20on%20latest%20version.%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThank%20you%20for%20your%20patience.%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDiego.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1931974%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20evkbrt1170%20romapi%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1931974%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EThank%20you%20for%20your%20detailed%20response.%20Could%20you%20provide%20information%20on%20the%20schedule%20for%20the%20related%20SDK%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1926970%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20evkbrt1170%20romapi%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1926970%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F228348%22%20target%3D%22_blank%22%3E%40seobi%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20did%20had%20issues%20on%26nbsp%3B%20SDK%20v2.15.x%20to%20get%20the%20fsl_romapi%20demo%20working%2C%20as%20seen%20on%20the%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fi-MX-RT-Crossover-MCUs%2FRT1170-EVKB-fsl-romapi-does-not-work%2Fm-p%2F1850954%23M29896%22%20target%3D%22_self%22%3Ethread%3C%2FA%3E%20you%20mentioned%2C%20they%20where%20related%20to%20EVK%20flash%20configuration%20(dummy%20cycles).%20As%20far%20I%20know%20release%20v2.16.0%20should%20have%20changes%20implemented%20already%2C%20to%20make%20the%20demo%20operate%20properly.%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhich%20SDK%20release%20version%20are%20you%20using%3F%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDid%20you%20also%20get%20issues%20running%20the%20fsl_romapi%20demo%3F%20Let%20me%20try%20on%20my%20end%20this%20demo%20too.%3C%2FP%3E%0A%3CP%3EEdit%3A%20today%20I%20ran%20with%20issues%26nbsp%3B%20the%20fsl_romapi%20demo%20from%20RT1170%20EVKB%20SDK%202.16.0.%20I%20am%20currently%20checking%20this%20issue%2C%20I%20will%20get%20back%20to%20you%20as%20soon%20as%20possible%20with%20more%20feedback%20regarding%20the%20demo.%26nbsp%3B%20Thank%20you%20for%20reaching%20out.%3C%2FP%3E%0A%3CP%3EDiego%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1925809%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20evkbrt1170%20romapi%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1925809%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20confirmed%20that%20the%20ROMAPI%20functions%20properly%20after%20downloading%20using%20the%20MCUXpresso%20secure%20provisioning%20tool.%3C%2FP%3E%0A%3CP%3EHowever%2C%20it%20is%20not%20functioning%20properly%20when%20using%20the%20IDE.%3C%2FP%3E%0A%3CP%3EIs%20there%20a%20way%20to%20make%20it%20work%20with%20the%20IDE%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E