LPC55S69 : limit ISP mode duration

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

LPC55S69 : limit ISP mode duration

ソリューションへジャンプ
2,014件の閲覧回数
EugeneHiihtaja
Senior Contributor I

Hi !

Does it possible to limit ISP mode duration some how ?

If Secure boot is activated and we consider that MCU is secure, we should be able to control it in any phase. But if it put to ISP mode, looks like no any time limit how long SB2.1 file update can take or any other message activity.

Or it is possible to have active WDT during firmware update some how ?

Regards,

Eugene

 

ラベル(1)
0 件の賞賛
返信
1 解決策
1,969件の閲覧回数
Sabina_Bruce
NXP Employee
NXP Employee

Hi Eugene, 

Hope you are well. I apologize for the delayed response. If you are considering the timeout feature this should only be one aspect of your whole security protocol. In addition, once your product is ready it is recommended that the ISP is disabled. This is to be considered when you are finalizing your product and that way nobody will have access to change this type of configuration or any other.

Best Regards,

Sabina

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
2,001件の閲覧回数
Sabina_Bruce
NXP Employee
NXP Employee

Hello Eugene,

Hope you are doing well.

I believe you are referring to the timeout value. You can set this timeout value using the blhost. 

nxf51209_0-1600972757939.png

When a timeout error occurs you should get the following error:

nxf51209_1-1600972804813.png

This will be part of the sequence done when communicating through ISP.

nxf51209_2-1600972855619.png

 

Hope this helps!

Best Regards,

Sabina

-----------------------------------------------------------------------------------------------------------------------

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

----------------------------------------------------------------------------------------------------------------------- 

0 件の賞賛
返信
1,990件の閲覧回数
EugeneHiihtaja
Senior Contributor I

Hi @sabinabruce !

But in this case anybody can change this timeout.

It should be part of secure configuration what can't be controlled externally if secure boot enabled.

Does it available something like this ?

Regards,

Eugene

 

0 件の賞賛
返信
1,970件の閲覧回数
Sabina_Bruce
NXP Employee
NXP Employee

Hi Eugene, 

Hope you are well. I apologize for the delayed response. If you are considering the timeout feature this should only be one aspect of your whole security protocol. In addition, once your product is ready it is recommended that the ISP is disabled. This is to be considered when you are finalizing your product and that way nobody will have access to change this type of configuration or any other.

Best Regards,

Sabina

0 件の賞賛
返信
1,941件の閲覧回数
EugeneHiihtaja
Senior Contributor I

Hi @Sabina_Bruce  !

So you recommend to use own loader and implement IAP type of firmware update.

But do we have enough information for be able to parse SB2.1 file format in our loader ?

Or some code example what we can take as basis ?

 

Regards,

Eugene

 

0 件の賞賛
返信