Hi,
my micro is RT1175.
in file fsl_ocotp.c there is OCOTP_ReadFuseShadowRegisterExt()
at the beginning there is an assert to validate the `fuseWords` parameter. I tested that the assert is triggered for fuseWords >= 4
This is confirmed at line 71242 of MIMXRT1175_cm7.h
the RT1175 can read 4 words at a time on OCOTP. Therefore, the `fuseWords` parameter should be written OCOTP_READ_CTRL[READ_FUSE_CNTR]
in the source code, though, a field named READ_NUM is shown, which does not appear in any document or in any source related to RT1175.
I think this is a bug.
I tried a possible fix:
this works
best regards
Max
Solved! Go to Solution.
Hi @mastupristi ,
Thank you for your interest in the NXP MIMXRT product, I would like to provide service for you.
I think your report item is reasonable which also consider the Number of words to read.
I report this SDK requirement to our SDK team, they will help to fix it in the new version.
Thanks a lot for your contribution.
If you find any issues of our SDK bug, welcome to report!
If your question is solved, please help me to mark the correct answer, just to close this case, thanks.
Best Regards,
Kerry
Hi @mastupristi ,
Thank you for your interest in the NXP MIMXRT product, I would like to provide service for you.
I think your report item is reasonable which also consider the Number of words to read.
I report this SDK requirement to our SDK team, they will help to fix it in the new version.
Thanks a lot for your contribution.
If you find any issues of our SDK bug, welcome to report!
If your question is solved, please help me to mark the correct answer, just to close this case, thanks.
Best Regards,
Kerry
Hi @kerryzhou
do you have any news?
a new version has been released, but the buggy code is still there.
regards
Max