Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

加密芯片自检无法通过 #22

Closed
bwc2019 opened this issue Aug 9, 2019 · 0 comments
Closed

加密芯片自检无法通过 #22

bwc2019 opened this issue Aug 9, 2019 · 0 comments

Comments

@bwc2019
Copy link

bwc2019 commented Aug 9, 2019

问题描述

调用mi_scheduler_start(SYS_MSC_SELF_TEST)进行加密IC自检出现以下异常,请帮忙分析一下原因:
0> [W] secure auth: START 0x000000A2
0>
0> [I] secure auth: MSC self test:........0
0> [I] MSC: Start MSC cmd 0x28 @ schd_ticks 5
0> [I] MSC: Waiting... @ schd_ticks 5
0> [I] MSC: Ready now. @ schd_ticks 5
0> [E] MSC: MSC data len error. 255,6
0> [I] MSC: Finish MSC cmd 0x28 @ schd_ticks 5
0>
0> [I] secure auth: MSC self test:0,0,0........2
0> [I] MSC: Start MSC cmd 0x22 @ schd_ticks 5
0> [I] MSC: Waiting... @ schd_ticks 5
0> [I] MSC: Ready now. @ schd_ticks 5
0> [E] MSC: MSC data len error. 255,0
0> [I] MSC: Finish MSC cmd 0x22 @ schd_ticks 5
0>
0> [I] secure auth: MSC self test:........3
0> [I] secure auth: MSC self test: FAIL
0> [I] : USER CUSTOM CALLBACK RECV EVT ID 16
0> [W] secure auth: monitor power off

报错的时候数据长度不一致:
data_len = 255
p_cb->data_len = 6

如何复现

调用mi_scheduler_start(SYS_MSC_SELF_TEST)

期望结果

自检成功

环境描述

蓝牙芯片:nrf51802
加密芯片:mja1

其他补充

在mi_config.h文件中已做了如下配置:
#ifndef HAVE_MSC
#define HAVE_MSC 2
#endif

@bwc2019 bwc2019 closed this as completed Aug 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant