MCUXpresso Secure Provisioning Tool v4.0.1 not run

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MCUXpresso Secure Provisioning Tool v4.0.1 not run

跳至解决方案
2,426 次查看
Aurelien_Grange
Contributor III

Hi,

I install version V4.0.1 of MCUXpresso Secure Provisioning Tool to check if I can made some test whitouth brick the MCU.

Install  works on windows but application doesn't run.

I try to reinstall but issue is still here.

Application return 

Aurelien_Grange_0-1655282985383.png

and after nothing.

I run Windows 10 Professionnal

How Can i run this application?

Thanks

Have a good days

0 项奖励
1 解答
2,412 次查看
liborukropec
NXP Employee
NXP Employee

Hi Aurelien,

I'd like to continue in this thread, where it should belong.

 

Hi,

I try to change regionnal parameter to USA/English but it's not working.

With -v i've got the following issue :

INFO: [root] workspace C:\Users\User\secure_provisioning
WARNING: [root] Loading settings from workspace: Settings loaded successfuly
Traceback (most recent call last):
File "securep.py", line 64, in <module>

You probably had previous SEC version installed and from some reason the settings is not compatible. Please try to rename (to not lose your settings and data) the folder `C:\Users\User\secure_provisioning` to e.g. `C:\Users\User\secure_provisioning_old` and then execute the SEC tool.

Regards,

Libor

在原帖中查看解决方案

0 项奖励
5 回复数
2,433 次查看
Aurelien_Grange
Contributor III

Hi,

I try to change regionnal parameter to USA/English but it's not working.

With -v i've got the following issue :

INFO: [root] workspace C:\Users\User\secure_provisioning
WARNING: [root] Loading settings from workspace: Settings loaded successfuly
Traceback (most recent call last):
File "securep.py", line 64, in <module>
File "securep.py", line 36, in main
File "securep.py", line 59, in main_run
File "src\gui\main\main_win_ctrl.py", line 667, in run_gui
File "src\gui\main\main_win_ctrl.py", line 65, in __init__
File "src\gui\main\main_win_toolbar.py", line 47, in __init__
File "src\gui\main\main_win_keys.py", line 90, in __init__
File "src\gui\main\main_win_build.py", line 87, in __init__
File "src\gui\main\main_win_build.py", line 730, in update_key_choice_selection
File "src\logic\build\build_image_config_impl.py", line 474, in sb_build_key
File "src\logic\usr_config\keys_management_config.py", line 431, in get_key_by_id
File "src\logic\usr_config\keys_management_config.py", line 404, in _get_keys
File "src\logic\usr_config\keys_management_config.py", line 521, in new_rot_cfg
File "<string>", line 6, in __init__
File "src\logic\usr_config\keys_management_config.py", line 47, in __post_init__
File "src\logic\usr_config\keys_management_config.py", line 145, in index
ValueError: Key filename in unexpected format, does not match expected regular expression
[1572] Failed to execute script 'securep' due to unhandled exception!

0 项奖励
2,413 次查看
liborukropec
NXP Employee
NXP Employee

Hi Aurelien,

I'd like to continue in this thread, where it should belong.

 

Hi,

I try to change regionnal parameter to USA/English but it's not working.

With -v i've got the following issue :

INFO: [root] workspace C:\Users\User\secure_provisioning
WARNING: [root] Loading settings from workspace: Settings loaded successfuly
Traceback (most recent call last):
File "securep.py", line 64, in <module>

You probably had previous SEC version installed and from some reason the settings is not compatible. Please try to rename (to not lose your settings and data) the folder `C:\Users\User\secure_provisioning` to e.g. `C:\Users\User\secure_provisioning_old` and then execute the SEC tool.

Regards,

Libor

0 项奖励
2,411 次查看
Aurelien_Grange
Contributor III

Hi thaks it works

I hope next version can create automaticaly a new folder to avoid this issue.

Have a good day.

0 项奖励
2,406 次查看
marek-trmac
NXP Employee
NXP Employee

Hi Aurelien,

thanks for reporting the issue and we apologies for inconvenience. This is not known issue.

Based on your stack trace logged to different issue

INFO: [root] workspace C:\Users\User\secure_provisioning
WARNING: [root] Loading settings from workspace: Settings loaded successfuly
Traceback (most recent call last):
File "securep.py", line 64, in <module>
File "securep.py", line 36, in main
File "securep.py", line 59, in main_run
File "src\gui\main\main_win_ctrl.py", line 667, in run_gui
File "src\gui\main\main_win_ctrl.py", line 65, in __init__
File "src\gui\main\main_win_toolbar.py", line 47, in __init__
File "src\gui\main\main_win_keys.py", line 90, in __init__
File "src\gui\main\main_win_build.py", line 87, in __init__
File "src\gui\main\main_win_build.py", line 730, in update_key_choice_selection
File "src\logic\build\build_image_config_impl.py", line 474, in sb_build_key
File "src\logic\usr_config\keys_management_config.py", line 431, in get_key_by_id
File "src\logic\usr_config\keys_management_config.py", line 404, in _get_keys
File "src\logic\usr_config\keys_management_config.py", line 521, in new_rot_cfg
File "<string>", line 6, in __init__
File "src\logic\usr_config\keys_management_config.py", line 47, in __post_init__
File "src\logic\usr_config\keys_management_config.py", line 145, in index
ValueError: Key filename in unexpected format, does not match expected regular expression
[1572] Failed to execute script 'securep' due to unhandled exception!

It seems the problems is in the keys folder. You probably have there some unrecognized file. Could you send us list of files from keys\ and certs\ subfolders from your workspace (just file names)? Could you also let us know, what is target processor in your workspace? We'd like reproduce the issue and fix for next release.

We'd like to keep the tool backward compatible, so workspace from previous version could be loaded in new version too.

Thanks for your help

Regards,
Marek
0 项奖励
2,414 次查看
liborukropec
NXP Employee
NXP Employee

Hi Aurelien,

could you please launch the SEC tool in the Command prompt

C:\nxp\MCUX_Provi_v4\bin>securep.exe -v

So we can see the error message?

Also you might try to switch to English US locale, see https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Can-t-open-SPT-v3-1-after-installation-o...

Regards,

Libor

 

0 项奖励