Errors occur when starting modustoolbox

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

cross mob
HeDi_4635501
Level 3
Level 3
First solution authored 10 questions asked 25 sign-ins

I work in a virtual computer environment and can therefore use the variables CY_TOOLS_PATHS: = C: /Infineon/Tools/ModusToolbox/tools_2.3 and CY_GETLIBS_CACHE_PATH: = C: /Users/user/.modustoolbox/cache do not set in windows.

I have set the PATH variable in the Makefile and in the IDE.

Now comes this error

Log file (s) for this session are stored at: C: \ Users \ user \ AppData \ Local \ Temp \ Logs5065691172615597458 Modus Toolbox is not installed in the default location and the CY_TOOLS_PATHS variable is not set. Unable to get app info: 0 [main] make (9700) C: \ Infineon \ Tools \ ModusToolbox \ tools_2.3 \ modus-shell \ bin \ make.exe: *** fatal error - add_item ("\ ?? \ C: \ Infineon \ Tools \ ModusToolbox \ tools_2.3 \ modus-shell "," / ", ...) failed, errno 1

Stack trace: Frame Function Args

000FFFFAC30 0018006074E (0018026E89A, 0018024A1B9, 00600010000, 000FFFF8B40) 000FFFFAC30 00180049239 (000FFFF9BC0, 000FFFFAC30, 00000000000, 00000000000) 000FFFFAC30 00180049272 (000FFFF9BC0, 00000000001, 00600010000, 495C3A435C3F3F5C) 000FFFFAC30 001800D7D0C (00000000000, 00040000024, 00000000000, 00000000000) 1D7CB23A5658D70 001801265B5 (001800C0C5C, 00000000000, 00000000000, 00000000000) 000FFFFCCD0 00180049863 (00000000000, 00000000000, 00000000000, 00000000000) 00000000000 00180048353 (00000000000, 00000000000, 00000000000, 00000000000) 000FFFFFFF0 00180048404 (00000000000, 00000000000, 00000000000, 00000000000)

End of stack trace not on the local computer.

I don't know what to do

0 Likes
1 Solution
Ekta_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hi @HeDi_4635501 

When importing and building an application for the first time it generally takes 4 to 5 mins for me when I am using the office internet (without using a virtual machine)

Can you please confirm if 30 mins are required for the first build and if subsequent builds take less time?

You can try following the steps in this KBA to see if there is any improvement: https://community.infineon.com/t5/Knowledge-Base-Articles/Build-Time-in-ModusToolbox-KBA226847/ta-p/...

Best Regards
Ekta

 

View solution in original post

0 Likes
4 Replies
Ekta_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hello @HeDi_4635501 

You are getting the error: Modus Toolbox is not installed in the default location because the default path for the installation of Modustoolbox is C:\Users\user\ModusToolbox. 

It is possible to install Modustoolbox at any other desired (non-default) location also. To do this you need to set the tools path not only in the Makefile and IDE but also in environmental variables. Could you please let me know if you have made this change?

Modustoolbox installation guide provides steps for doing the same. 

Best Regards
Ekta

0 Likes

Unfortunately not, because I don't have any administration rights for the virtual machine.

I have hoped that the settings in the IDE and in the makfile are enough.

How is the start of the IDE. A shell program is processed. The schell gets environmental variables. Can you set this?

I also don't understand the error message

Unable to get app info: 0 [main] make (9700) C: \ Infineon \ Tools \ ModusToolbox \ tools_2.3 \ modus-shell \ bin \ make.exe: *** fatal error - add_item ("\ ?? \ C: \ Infineon \ Tools \ ModusToolbox \ tools_2.3 \ modus-shell "," / ", ...) failed, errno 1

.. fatal error - add_item ("?? \ C:, I think something is wrongly resolved here.

Who might know their way around here?

Best Regards

Heinz

0 Likes

Hello,

I want to explain the PSoC 62 controller to my students.

The students only have virtual machines at their disposal. You cannot adjust anything on these.

Colleagues from the data center have now set the variables for me.

CY_TOOLS_PATHS = C: /Infineon/Tools/ModusToolbox/tools_2.3

CY_GETLIBS_CACHE_PATH = C: /Infineon/Tools/.modustoolbox/cache/

CY_GETLIBS_OFFLINE_PATH = C: /Infineon/Tools/.modustoolbox/offline/

and I was able to set up a project.

Problem: it takes 30 minutes until a project is completely created, that's too long

Can I improve something there?

Can I save templates for projects locally (CY_GETLIBS_OFFLINE_PATH)?

Best Regards

Heinz

0 Likes
Ekta_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hi @HeDi_4635501 

When importing and building an application for the first time it generally takes 4 to 5 mins for me when I am using the office internet (without using a virtual machine)

Can you please confirm if 30 mins are required for the first build and if subsequent builds take less time?

You can try following the steps in this KBA to see if there is any improvement: https://community.infineon.com/t5/Knowledge-Base-Articles/Build-Time-in-ModusToolbox-KBA226847/ta-p/...

Best Regards
Ekta

 

0 Likes