RT1021_evk 使用HAB签名后无法启动!

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

RT1021_evk 使用HAB签名后无法启动!

Jump to solution
3,819 Views
littlecousin
Contributor II

大家好!

我最近测试RT1021的加密功能,昨天使用NXP-MCUBootUtility工具,参照网上教程进行试验,不知道是进行了误操作还是哪儿出现问题,现在使用NXP-MCUBootUtility无法连接到板子(uart和USB都无法连接),如图所示:uart_error.pnguart_flashloader.png

我有几个问题:

1:HAB enable 后能否关闭?

2:如果是因为我把签名文件弄丢了,是否板子就报废了?

3:如何更新flashloder?

0 Kudos
Reply
1 Solution
3,791 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,
感谢回复。
1)使能HAB后,连接flashloader时写入的flashloader.bin是否也需要进行签名过程才能运行?
-- 是这样的。
2) 如果是这样我的签名文件还在,应该能连接上flashloader才对呢,加密的操作还有些许复杂,需要多了解!
--理论上应该可以连接成功的,我建议你可以阅读AN12079中的3.1.1 Sign the flashloader章节了解如何sign flashloader, 然后对比一下NXP-MCUBootUtility给出的代码调试记录,看看具体哪个指令没有通过。
Have a great day,
TIC

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

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply
5 Replies
1,780 Views
Evanee
Contributor I

我和您的问题一模一样,后来咋样了啊,解决没,该咋弄啊,已经懵了

0 Kudos
Reply
3,808 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,
非常感谢使用NXP产品,很高兴为你提供技术支持!
1:HAB enable 后能否关闭?
-- 不能。
2:如果是因为我把签名文件弄丢了,是否板子就报废了?
-- 可以这么说,还有请在~\NXP-MCUBootUtility\tools\cst文件下,找找签名文件
3:如何更新flashloder?
-- 需要生成签名文件才可以sign flashload.bin.
Have a great day,
TIC

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

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply
3,810 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,
非常感谢使用NXP产品,很高兴为你提供技术支持!
1:HAB enable 后能否关闭?
-- 不能。
2:如果是因为我把签名文件弄丢了,是否板子就报废了?
-- 可以这么说,还有请在~\NXP-MCUBootUtility\tools\cst文件下,找找签名文件
3:如何更新flashloder?
-- 需要生成签名文件才可以sign flashload.bin.
Have a great day,
TIC

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

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

3,798 Views
littlecousin
Contributor II

    zhou,感谢你的回复!我发现签名文件还在cst文件夹下,有一个问题:使能HAB后,连接flashloader时写入的flashloader.bin是否也需要进行签名过程才能运行?如果是这样我的签名文件还在,应该能连接上flashloader才对呢,加密的操作还有些许复杂,需要多了解!

    再次感谢你!

0 Kudos
Reply
3,792 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,
感谢回复。
1)使能HAB后,连接flashloader时写入的flashloader.bin是否也需要进行签名过程才能运行?
-- 是这样的。
2) 如果是这样我的签名文件还在,应该能连接上flashloader才对呢,加密的操作还有些许复杂,需要多了解!
--理论上应该可以连接成功的,我建议你可以阅读AN12079中的3.1.1 Sign the flashloader章节了解如何sign flashloader, 然后对比一下NXP-MCUBootUtility给出的代码调试记录,看看具体哪个指令没有通过。
Have a great day,
TIC

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

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply