IAP compare True but jump to brick

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

IAP compare True but jump to brick

1,126件の閲覧回数
wykaoyan
Contributor I

I'm having issues with the IAP on the chip LPC1788. In actual testing, I have hundreds of devices  and everyone has a LPC1788 MCU.   in my bootloader program, Flash is programmed , and the compare operation return success, then jump to the application code.  The vast majority of devices could be run normally, except several  which become bricks. I can ensure the  iap jump is correct.  And now I  encounter two strange issues,

1. when i adjust the  bin size of the app,  some failed cases ever could be successful.  when the size is  between in a certain range,  the failed cases become bricks inevitably.

2. Timer interrupt happens when iap operate. I know the program should disable  all the interrupt , but why the majority of devices  succeed, only several fail when I don't disable interrupt ?

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 返信

993件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi Wang Yang,

Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
1. when i adjust the  bin size of the app,  some failed cases ever could be successful.  when the size is  between in a certain range,  the failed cases become bricks inevitably.
-- I was wondering if you can provide more detailed information, for instance, what you do to adjust the bin size of the app, and you mention that the chip will become 'brick' if jump operation fails, had you ever try to dig this issue or learn the more information.
2. Timer interrupt happens when iap operate. I know the program should disable  all the interrupt , but why the majority of devices  succeed, only several fail when I don't disable interrupt ?
-- Disable the interrupt is used to get rid of any interrupt interferes in IAP operation, please keep in mind.


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信