Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
Koumak_v2
Level 2
Level 2
First like given 10 sign-ins 5 replies posted

Hi all,

I would like to try the firmware upgrade example for my dev kit. But it is not working.

FW upgrading.png

 

Can you please advise me what I have wrong?

I am attaching an error log.

PS: I am using latest ModusToolbox v 3.2.

 

Best Regards

Koumak

0 Likes
1 Solution
LeoMathews
Moderator
Moderator
Moderator
First question asked 500 replies posted 100 solutions authored

Hi @Koumak_v2 

Please note that this CE needs to v5.0.0 of the CySecureTools.

If you are using the MTB 3.1, you can update the CySecureTools version in the Python distribution available in the MTB installation directory. If you are using MTB 3.2, then update the CySecureTools version in the Python distribution that is added in the environment PATH variable.

Thanks and Regards,
Leo

View solution in original post

0 Likes
11 Replies
Rohan_M
Moderator
Moderator
Moderator
50 solutions authored 25 likes received 250 sign-ins

Hi @Koumak_v2 ,

I'm able to successfully create the project in MTB 3.2. I'm not sure why you're getting the errors. Can you tell what steps you're following?

Please try again from MTB 3.2 IDE and let us know if you're still facing the issue.

 

Thanks & Regards,

Rohan

0 Likes
lock attach
Attachments are accessible only for community members.
Koumak_v2
Level 2
Level 2
First like given 10 sign-ins 5 replies posted

Hi @Rohan_M , 

Yesterday I installed the new version of ModusToolbox 3.2 and I'm trying it out.
I followed these steps (I tried it again this morning - in a new workspace):

1) create new application in new empty workspace

2) select my dev kit and click on next button

3) select OTW Firmware Upgrade project and click on Create button

4) displaying the final log... after about one minute of loading the project

 

All steps are attached. I also attach a log file - as you can see in the attached image step4b_topOfTheErrorLog.png

In the readme, I found a requirement for software preparation where it says that Python should be installed - see image PythonRequirement.png - could this be related?
Do you know why it is not working for me?

 

PS: When I try the Hello_World example in the same way, everything works without problems.

 

Thanks & Regards,

Koumak

0 Likes
LeoMathews
Moderator
Moderator
Moderator
First question asked 500 replies posted 100 solutions authored

Hi @Koumak_v2 

Project generation for the OTW_Firmware_Upgrade requires Python 3 to be installed and present in the PATH variable.

LeoMathews_0-1709897459548.png

But  ModusToolbox 3.2 does not come with python package. This application require python libraries such as those including MCUBoot and CySecureTools. Please install python package separately or if you have previous versions of ModusToolbox(which contains python package) add them in environment variable paths as shown below:

LeoMathews_3-1709897926224.png

After updating the path, please restart ModusToolbox and create the project again.

Thanks and Regards,
Leo

 

 

 

0 Likes
Koumak_v2
Level 2
Level 2
First like given 10 sign-ins 5 replies posted

Hi @LeoMathews , 

I have also previous version of Modus Toolbox, where I have python.

I have successfully added python to the system path.

Koumak_v2_0-1709900493549.png

 

Unfortunately I still have the same problem. It still behaves the same as mentioned above.


Please do you know what it could be?

 

Thanks and Regards,
Koumak

0 Likes
LeoMathews
Moderator
Moderator
Moderator
First question asked 500 replies posted 100 solutions authored

Hi @Koumak_v2 

Can you please check whether your cysecuretools version is 4.1.0?

Thanks and Regards,
Leo

0 Likes

Hi @LeoMathews ,

How can I check it please?

 

Best Regards

Koumak

0 Likes
LeoMathews
Moderator
Moderator
Moderator
First question asked 500 replies posted 100 solutions authored

Hi @Koumak_v2 

Please navigate to the folder containing the cysecuretools.exe. Open command prompt from the directory and execute the command 'cysecuretools version' as shown below:

LeoMathews_0-1710225304392.png

Thanks and Regards,
Leo

0 Likes

Hi @LeoMathews ,

I currently have two versions of MTB installed.


Version 3.1 - it contained python and according to your instructions it shows me this:

Koumak_v2_0-1710235291979.png

 

I have also the new version 3.2 - there is no python at all

In windows I have set the paths to python that was in MTB 3.1.

Could this be a problem?

 

Thanks and Regards,

Koumak

0 Likes
Daniyal_S
Moderator
Moderator
Moderator
First like given 5 solutions authored 10 replies posted

Hey @Koumak_v2 ,

We are able to recreate the issue from our end. We will create an internal ticket regarding the same. We will get back to you once we receive a response from our internal team.

 

Thanks and Regards,

Daniyal

LeoMathews
Moderator
Moderator
Moderator
First question asked 500 replies posted 100 solutions authored

Hi @Koumak_v2 

Please note that this CE needs to v5.0.0 of the CySecureTools.

If you are using the MTB 3.1, you can update the CySecureTools version in the Python distribution available in the MTB installation directory. If you are using MTB 3.2, then update the CySecureTools version in the Python distribution that is added in the environment PATH variable.

Thanks and Regards,
Leo

0 Likes
LeoMathews
Moderator
Moderator
Moderator
First question asked 500 replies posted 100 solutions authored

Hi @Koumak_v2 

Thread was locked due to inactivity for long time, you can continue the discussion on the topic by opening a new thread with reference to the locked one. The continuous discussion in an inactive thread may mostly be unattended by community users.

Thanks and Regards,
Leo

0 Likes