ModusToolbox IDE create prjoect issue

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

cross mob
Bill_Joseph
Level 1
Level 1
10 sign-ins 5 replies posted 5 sign-ins

Dear all,

I want to create project in ModusTollBox with projector creator 1.2, but always report issue as follows:

---------------------------------------------------------------------------------------------------------------------------------------------------

Project creation command to be executed:

C:/Users/Bill/ModusToolbox/tools_2.2/project-creator/project-creator-cli.exe --board-id CY8CPROTO-062-4343W --board-uri https://github.com/cypresssemiconductorco/TARGET_CY8CPROTO-062-4343W --board-commit latest-v2.X --app-id mtb-example-anycloud-mqtt-client --app-uri https://github.com/cypresssemiconductorco/mtb-example-anycloud-mqtt-client --app-commit latest-v2.X --user-app-name AnyCloud_MQTT_Client --target-dir C:/Users/Bill/mtw/CY8CPROTO-062-4343W --output-for-machine --use-modus-shell

 

Getting manifest...

Processing super-manifest https://github.com/cypresssemiconductorco/mtb-super-manifest/raw/v2.X/mtb-super-manifest-fv2.xml...

Download of https://github.com/cypresssemiconductorco/mtb-super-manifest/raw/v2.X/mtb-super-manifest-fv2.xml failed: Connection timed out

Failed to get the information.

-----------------------------------------------------------------------------------------------------------------------------------------------------------

I exec many times with this process , but can not create project successfully.

Could you help me?

Thanks

0 Likes
1 Solution
Charles_Lai
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 250 sign-ins

Hi,

You are encountering Internet access issues related to github.com. To solve this and the related problems as much as possible, please use ModusToolbox offline content package instead.

For how to enable offline mode in ModusToolbox, see below:
https://community.cypress.com/t5/Resource-Library/ModusToolbox-offline-libraries/ta-p/252265

However the official offline package is quite out-of-date. To access the latest ModusToolbox offline content package, see below and use the latest package instead:
https://community.cypress.com/t5/Code-Examples/Self-released-ModusToolbox-Offline-Content-Package/m-...

 

Best regards

View solution in original post

0 Likes
15 Replies
Bill_Joseph
Level 1
Level 1
10 sign-ins 5 replies posted 5 sign-ins

sometimes report issue as follows:

 

Project creation command to be executed:

C:/Users/Bill/ModusToolbox/tools_2.2/project-creator/project-creator-cli.exe --board-id CY8CPROTO-062-4343W --board-uri https://github.com/cypresssemiconductorco/TARGET_CY8CPROTO-062-4343W --board-commit latest-v2.X --app-id mtb-example-anycloud-mqtt-client --app-uri https://github.com/cypresssemiconductorco/mtb-example-anycloud-mqtt-client --app-commit latest-v2.X --user-app-name AnyCloud_MQTT_Client --target-dir C:/Users/Bill/mtw/CY8CPROTO-062-4343W --output-for-machine --use-modus-shell

 

Getting manifest...

Processing super-manifest https://github.com/cypresssemiconductorco/mtb-super-manifest/raw/v2.X/mtb-super-manifest-fv2.xml...

Download of https://github.com/cypresssemiconductorco/mtb-super-manifest/raw/v2.X/mtb-super-manifest-fv2.xml failed: Connection timed out

Failed to get the information.

 

Project creation command to be executed:

C:/Users/Bill/ModusToolbox/tools_2.2/project-creator/project-creator-cli.exe --board-id CY8CPROTO-062-4343W --board-uri https://github.com/cypresssemiconductorco/TARGET_CY8CPROTO-062-4343W --board-commit latest-v2.X --app-id mtb-example-anycloud-mqtt-client --app-uri https://github.com/cypresssemiconductorco/mtb-example-anycloud-mqtt-client --app-commit latest-v2.X --user-app-name AnyCloud_MQTT_Client --target-dir C:/Users/Bill/mtw/CY8CPROTO-062-4343W --output-for-machine --use-modus-shell

 

Getting manifest...

 

==============================================================================

= Cloning 'mtb-example-anycloud-mqtt-client' =

==============================================================================

Cloning https://github.com/cypresssemiconductorco/mtb-example-anycloud-mqtt-client into C:/Users/Bill/mtw/CY8CPROTO-062-4343W directory...

env git clone --progress --origin cypress https://github.com/cypresssemiconductorco/mtb-example-anycloud-mqtt-client AnyCloud_MQTT_Client

Cloning into 'AnyCloud_MQTT_Client'...

remote: Enumerating objects: 73, done.

remote: Counting objects: 100% (73/73), done.

remote: Compressing objects: 100% (42/42), done.

remote: Total 73 (delta 32), reused 68 (delta 30), pack-reused 0

 

Checking out latest-v2.X...

env git checkout --progress latest-v2.X

Note: checking out 'latest-v2.X'.

 

You are in 'detached HEAD' state. You can look around, make experimental

changes and commit them, and you can discard any commits you make in this

state without impacting any branches by performing another checkout.

 

If you want to create a new branch to retain commits you create, you may

do so (now or later) by using -b with the checkout command again. Example:

 

git checkout -b <new-branch-name>

 

HEAD is now at 2d1468a Upload mtb-example-anycloud-mqtt-client 2.0.0.149

 

==============================================================================

= Creating 'TARGET_CY8CPROTO-062-4343W.mtb' file(s) =

==============================================================================

 

==============================================================================

= Updating Makefile for 'AnyCloud_MQTT_Client' =

==============================================================================

 

==============================================================================

= Getting Dependencies for 'AnyCloud_MQTT_Client' =

==============================================================================

make getlibs CY_TOOLS_PATHS=C:/Users/Bill/ModusToolbox/tools_2.2

Tools Directory: C:/Users/Bill/ModusToolbox/tools_2.2

 

==============================================================================

= Importing libraries =

==============================================================================

Git is git version 2.17.0, found at /usr/bin/git

 

Resolving dependencies...

INFO - Multiple versions of freertos requested. Keeping version release-v10.0.1 and discarding version latest-v10.X.

C:/Users/Bill/mtw/CY8CPROTO-062-4343W/AnyCloud_MQTT_Client/libs/abstraction-rtos.mtb was added or updated

C:/Users/Bill/mtw/CY8CPROTO-062-4343W/AnyCloud_MQTT_Client/libs/aws-iot-device-sdk-embedded-C.mtb was added or updated

C:/Users/Bill/mtw/CY8CPROTO-062-4343W/AnyCloud_MQTT_Client/libs/capsense.mtb was added or updated

C:/Users/Bill/mtw/CY8CPROTO-062-4343W/AnyCloud_MQTT_Client/libs/clib-support.mtb was added or updated

C:/Users/Bill/mtw/CY8CPROTO-062-4343W/AnyCloud_MQTT_Client/libs/connectivity-utilities.mtb was added or updated

C:/Users/Bill/mtw/CY8CPROTO-062-4343W/AnyCloud_MQTT_Client/libs/core-lib.mtb was added or updated

C:/Users/Bill/mtw/CY8CPROTO-062-4343W/AnyCloud_MQTT_Client/libs/core-make.mtb was added or updated

C:/Users/Bill/mtw/CY8CPROTO-062-4343W/AnyCloud_MQTT_Client/libs/lwip.mtb was added or updated

C:/Users/Bill/mtw/CY8CPROTO-062-4343W/AnyCloud_MQTT_Client/libs/mbedtls.mtb was added or updated

C:/Users/Bill/mtw/CY8CPROTO-062-4343W/AnyCloud_MQTT_Client/libs/mtb-hal-cat1.mtb was added or updated

C:/Users/Bill/mtw/CY8CPROTO-062-4343W/AnyCloud_MQTT_Client/libs/mtb-pdl-cat1.mtb was added or updated

C:/Users/Bill/mtw/CY8CPROTO-062-4343W/AnyCloud_MQTT_Client/libs/psoc6cm0p.mtb was added or updated

C:/Users/Bill/mtw/CY8CPROTO-062-4343W/AnyCloud_MQTT_Client/libs/recipe-make-cat1a.mtb was added or updated

C:/Users/Bill/mtw/CY8CPROTO-062-4343W/AnyCloud_MQTT_Client/libs/secure-sockets.mtb was added or updated

C:/Users/Bill/mtw/CY8CPROTO-062-4343W/AnyCloud_MQTT_Client/libs/wifi-host-driver.mtb was added or updated

C:/Users/Bill/mtw/CY8CPROTO-062-4343W/AnyCloud_MQTT_Client/libs/whd-bsp-integration.mtb was added or updated

C:/Users/Bill/mtw/CY8CPROTO-062-4343W/AnyCloud_MQTT_Client/libs/wifi-mw-core.mtb was added or updated

Dependencies resolved.

 

Searching application directory (.mtb)...

Found 22 .mtb file(s)

Processing file "C:/Users/Bill/mtw/CY8CPROTO-062-4343W/AnyCloud_MQTT_Client/deps/TARGET_CY8CPROTO-062-4343W.mtb"

fatal: unable to access 'https://github.com/cypresssemiconductorco/TARGET_CY8CPROTO-062-4343W/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

Processing file "C:/Users/Bill/mtw/CY8CPROTO-062-4343W/AnyCloud_MQTT_Client/deps/freertos.mtb"

fatal: unable to access 'https://github.com/cypresssemiconductorco/freertos/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

Processing file "C:/Users/Bill/mtw/CY8CPROTO-062-4343W/AnyCloud_MQTT_Client/deps/mqtt.mtb"

Processing file "C:/Users/Bill/mtw/CY8CPROTO-062-4343W/AnyCloud_MQTT_Client/deps/retarget-io.mtb"

fatal: unable to access 'https://github.com/cypresssemiconductorco/retarget-io/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

error: Could not fetch origin

 

==============================================================================

 

ERROR: --ABORTING--

: Script : C:/Users/Bill/ModusToolbox/tools_2.2/make/getlibs.bash

: Bash path : /usr/bin/bash

: Bash version: 4.4.12(3)-release

: Exit code : 1

: Call stack : trap_exit perform_git process_mtb extract_data find_mtbs main

make: *** [C:/Users/Bill/ModusToolbox/tools_2.2/make/getlibs.mk:126: getlibs] Error 1

"make getlibs" failed.

 

Failed to create "AnyCloud_MQTT_Client" application.

 

wade_4843926
Level 1
Level 1
Distributor - IH-Tech(GC)
First reply posted First like given Welcome!

is same to me , I can‘t  git clone from github  creat project.

0 Likes
DheerajK_81
Moderator
Moderator
Moderator
First comment on KBA First comment on blog 5 questions asked

Hello @Bill_Joseph ,

We have observed this issue in the China mainland with Github being blocked by China's network infrastructure. Are you also based out of China? 

Please try accessing this link in your browser and see if the page loads: https://github.com/cypresssemiconductorco/retarget-io/

Looking forward to your reply 🙂

Regards,
Dheeraj

0 Likes

Hi Dheeraj,

 https://github.com/cypresssemiconductorco/retarget-io/, this page can be loaded. 

How to resolve this issue in China? Could you help to create "AnyCloud_MQTT_Client" project based on CY8CPROTO-062-4343W --board and then I can download from somewhere?

 

Thanks

 

0 Likes
Bill_Joseph
Level 1
Level 1
10 sign-ins 5 replies posted 5 sign-ins

any progress for this issue?

Thanks

0 Likes

 

Hello @Bill_Joseph ,

There seems to some issue with accessing files on Github at your end. Can you please run the following steps and let me know if you can clone the project?

1. Download git bash from here if you don't have it already and install it.
2. Open the git bash terminal and run the following command:

 

>> git clone https://github.com/cypresssemiconductorco/mtb-example-anycloud-mqtt-client.git

 

After running this please let me know if the clone was successful.
3. Navigate to ModusToolbox Installation Directory > tools_2.2 > modus-shell > Run Cygwin.bat
4. Once the cygwin terminal opens, run the following commands:

 

>> cd "<path to cloned code example>"

 

DheerajK_81_0-1616764253807.png

 

>> make getlibs

 

DheerajK_81_1-1616764290415.png

Please let me know if this goes through without any errors. If the same error persists, please run the following commands and share the output here:

 

>> make get_app_info

 


Hope this helps 🙂

Regards,
Dheeraj

0 Likes

Hi Dheeraj,

error log is as follows, please help:


Bill@Bill-PC /cygdrive/c/temp/mtb-example-anycloud-mqtt-client
$ make getlibs
Tools Directory: C:/Users/Bill/ModusToolbox/tools_2.2

==============================================================================
= Importing libraries =
==============================================================================
Git is git version 2.17.0, found at /usr/bin/git

Resolving dependencies...
QNetworkReplyHttpImplPrivate::_q_startOperation was called more than once QUrl("
https://github.com/cypresssemiconductorco/mtb-super-manifest/raw/v2.X/mtb-super-
manifest-fv2.xml")
Processing super-manifest https://github.com/cypresssemiconductorco/mtb-super-ma
nifest/raw/v2.X/mtb-super-manifest-fv2.xml...
Download of https://github.com/cypresssemiconductorco/mtb-super-manifest/raw/v2.
X/mtb-super-manifest-fv2.xml failed: Connection timed out
Failed to get the information.

==============================================================================

ERROR: --ABORTING--
: Script : C:/Users/Bill/ModusToolbox/tools_2.2/make/getlibs.bash
: Bash path : /usr/bin/bash
: Bash version: 4.4.12(3)-release
: Exit code : 1
: Call stack : trap_exit find_mtbs main
make: *** [C:/Users/Bill/ModusToolbox/tools_2.2/make/getlibs.mk:126: getlibs] Er
ror 1

Bill@Bill-PC /cygdrive/c/temp/mtb-example-anycloud-mqtt-client
$ make get_app_info
Tools Directory: C:/Users/Bill/ModusToolbox/tools_2.2

"WARNING: Build support not available"

=======================================
IDE variables
=======================================
CY_PROTOCOL=2
APP_NAME=mtb-example-anycloud-mqtt-client
LIB_NAME=
TARGET=CY8CPROTO-062-4343W
TARGET_DEVICE=
CONFIGURATOR_FILES=
SUPPORTED_TOOL_TYPES=
CY_TOOLS_PATH=C:/Users/Bill/ModusToolbox/tools_2.2
CY_GETLIBS_OFFLINE=
CY_GETLIBS_PATH=C:/temp/mtb-example-anycloud-mqtt-client/libs
CY_GETLIBS_DEPS_PATH=C:/temp/mtb-example-anycloud-mqtt-client/deps
CY_GETLIBS_CACHE_PATH=C:/Users/Bill/.modustoolbox/cache
CY_GETLIBS_OFFLINE_PATH=C:/Users/Bill/.modustoolbox/offline
SHAREDLIBS_ROOT=
SHAREDLIBS=
SHAREDLIBS_FILES=
CY_DEPENDENT_PROJECTS=
CY_GETLIBS_SHARED_PATH=../
CY_GETLIBS_SHARED_NAME=mtb_shared
SEARCH=
FLOW_VERSION=2

Bill@Bill-PC /cygdrive/c/temp/mtb-example-anycloud-mqtt-client
$

 

Thanks

 

 

0 Likes

Hi Dheeraj,

Suppose this issue is not related to github blocking in China, becasue I can create 920735 projects based on 920735Q60EVB board successufully.  If github is blocked in China, the 920735 projects can not be created successufully, right?

Thanks

0 Likes

more info:

When exec "make getlibs" and show error log:

Searching application directory (.mtb)...
Found 22 .mtb file(s)
Processing file "C:/temp/mtb-example-anycloud-mqtt-client/deps/freertos.mtb"

Processing file "C:/temp/mtb-example-anycloud-mqtt-client/deps/mqtt.mtb"
fatal: unable to access 'https://github.com/cypresssemiconductorco/mqtt/': OpenS
SL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

but then I access "https://github.com/cypresssemiconductorco/mqtt/" in browser, this page can be shown well.  Why?

Thanks

 

0 Likes

Hello @Bill_Joseph ,

Yes this problem is because of China's network infrastructure blocking access to GitHub. Please try opening the Github link several times in the browser, you will notice it fail intermittently.

Since this is the primary mode through which our application creation process works, you might need to use the offline content libraries until this issue is fixed. 

You can find more information on using offline libraries here: https://community.cypress.com/t5/Resource-Library/ModusToolbox-offline-libraries/ta-p/252265

Also, see Page#56 for more information on this in the linked User Guide: https://www.cypress.com/file/520251/download

Let me know if you face any issue, happy to help 🙂

Regards,
Dheeraj

0 Likes
YunHuaD_81
Employee
Employee
25 sign-ins 10 sign-ins 5 replies posted

Hi All,

I have the same problem as below:

fatal: unable to access 'https://github.com/cypresssemiconductorco/TARGET_CYW920819EVB-02/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

 

 

==============================================================================

= Creating 'TARGET_CYW920819EVB-02.mtb' file(s) =

==============================================================================

 

==============================================================================

= Updating Makefile for 'Mesh_Demo_On-Off_Switch' =

==============================================================================

 

==============================================================================

= Getting Dependencies for 'Mesh_Demo_On-Off_Switch' =

==============================================================================

make getlibs CY_TOOLS_PATHS=C:/Users/dongdick/ModusToolbox/tools_2.2

 

==============================================================================

= Importing libraries =

==============================================================================

Git is git version 2.17.0, found at /usr/bin/git

 

Resolving dependencies...

C:/Users/dongdick/mtw/testcreatenewapp/Mesh_Demo_On-Off_Switch/libs/20819A1.mtb was added or updated

C:/Users/dongdick/mtw/testcreatenewapp/Mesh_Demo_On-Off_Switch/libs/btsdk-common.mtb was added or updated

C:/Users/dongdick/mtw/testcreatenewapp/Mesh_Demo_On-Off_Switch/libs/btsdk-include.mtb was added or updated

C:/Users/dongdick/mtw/testcreatenewapp/Mesh_Demo_On-Off_Switch/libs/btsdk-tools.mtb was added or updated

C:/Users/dongdick/mtw/testcreatenewapp/Mesh_Demo_On-Off_Switch/libs/btsdk-utils.mtb was added or updated

C:/Users/dongdick/mtw/testcreatenewapp/Mesh_Demo_On-Off_Switch/libs/core-make.mtb was added or updated

Dependencies resolved.

 

Searching application directory (.mtb)...

Found 11 .mtb file(s)

Processing file "C:/Users/dongdick/mtw/testcreatenewapp/Mesh_Demo_On-Off_Switch/deps/TARGET_CYW920819EVB-02.mtb"

fatal: unable to access 'https://github.com/cypresssemiconductorco/TARGET_CYW920819EVB-02/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

fatal: unable to access 'https://github.com/cypresssemiconductorco/TARGET_CYW920819EVB-02/': Connection timed out after 300017 milliseconds

 

==============================================================================

 

ERROR: --ABORTING--

: Script : C:/Users/dongdick/ModusToolbox/tools_2.2/make-1.3.0/getlibs.bash

: Bash path : /usr/bin/bash

: Bash version: 4.4.12(3)-release

: Exit code : 128

: Call stack : trap_exit perform_git process_mtb extract_data find_mtbs main

make: *** [C:/Users/dongdick/ModusToolbox/tools_2.2/make-1.3.0/getlibs.mk:126: getlibs] Error 1

"make getlibs" failed.

 

Failed to create "Mesh_Demo_On-Off_Switch" application.

0 Likes
wade_4843926
Level 1
Level 1
Distributor - IH-Tech(GC)
First reply posted First like given Welcome!

Dear Support,

      I have same  Problem   when  I creat Project  as below ,  My network  under VPN  status,

I

Summary:

 

BSP: CY8CKIT-062S2-43012

Template Application(s): AnyCloud BLE CTS Client

Application(s) Root Path: D:/IFX_Project/BT/MQTT

 

Press "Create" to create the selected application(s).

 

Project creation command to be executed:

C:/Users/dhwang/ModusToolbox/tools_2.2/project-creator/project-creator-cli.exe --board-id CY8CKIT-062S2-43012 --board-uri https://github.com/cypresssemiconductorco/TARGET_CY8CKIT-062S2-43012 --board-commit latest-v1.X --app-id mtb-example-anycloud-ble-cts-client --app-uri https://github.com/cypresssemiconductorco/mtb-example-anycloud-ble-cts-client --app-commit latest-v1.X --user-app-name AnyCloud_BLE_CTS_Client --target-dir D:/IFX_Project/BT/AnyCloud_BLE_CTS_client_dhwang0330 --output-for-machine --use-modus-shell

 

Getting manifest...

 

==============================================================================

= Cloning 'mtb-example-anycloud-ble-cts-client' =

==============================================================================

Cloning https://github.com/cypresssemiconductorco/mtb-example-anycloud-ble-cts-client into D:/IFX_Project/BT/AnyCloud_BLE_CTS_client_dhwang0330 directory...

env git clone --progress --origin cypress https://github.com/cypresssemiconductorco/mtb-example-anycloud-ble-cts-client AnyCloud_BLE_CTS_Client

Cloning into 'AnyCloud_BLE_CTS_Client'...

fatal: unable to access 'https://github.com/cypresssemiconductorco/mtb-example-anycloud-ble-cts-client/': Empty reply from server

"git clone" failed.

 

Failed to create "AnyCloud_BLE_CTS_Client" application.

 

if  i closed VPN  is  also problem  creat project as below,

 

Summary:

 

BSP: CY8CKIT-062S2-43012

Template Application(s): AnyCloud BLE CTS Server

Application(s) Root Path: D:/IFX_Project/BT/

 

Press "Create" to create the selected application(s).

 

Project creation command to be executed:

C:/Users/dhwang/ModusToolbox/tools_2.2/project-creator/project-creator-cli.exe --board-id CY8CKIT-062S2-43012 --board-uri https://github.com/cypresssemiconductorco/TARGET_CY8CKIT-062S2-43012 --board-commit latest-v1.X --app-id mtb-example-anycloud-ble-cts-server --app-uri https://github.com/cypresssemiconductorco/mtb-example-anycloud-ble-cts-server --app-commit latest-v1.X --user-app-name AnyCloud_BLE_CTS_Server --target-dir D:/IFX_Project/BT/AnyCLudBLE_CTS_Serverdhwang0330 --output-for-machine --use-modus-shell

 

Getting manifest...

Application ID "mtb-example-anycloud-ble-cts-server" is unknown.

Frorm  now On, the current problems are strange.

 

Looking forward to your support, thank you!

 

 

 

0 Likes

Hello @wade_4843926 ,

Since you are using a VPN, please configure the proxy settings. To do so, in the Project Creator window go to Settings > Proxy Settings and add in your proxy settings.

DheerajK_81_0-1617086904295.png

Let me know if it works with this change 🙂

Regards,
Dheeraj

 

0 Likes
YunHuaD_81
Employee
Employee
25 sign-ins 10 sign-ins 5 replies posted

How to set "Proxy Settings" for Infineon GC net? 

0 Likes
Charles_Lai
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 250 sign-ins

Hi,

You are encountering Internet access issues related to github.com. To solve this and the related problems as much as possible, please use ModusToolbox offline content package instead.

For how to enable offline mode in ModusToolbox, see below:
https://community.cypress.com/t5/Resource-Library/ModusToolbox-offline-libraries/ta-p/252265

However the official offline package is quite out-of-date. To access the latest ModusToolbox offline content package, see below and use the latest package instead:
https://community.cypress.com/t5/Code-Examples/Self-released-ModusToolbox-Offline-Content-Package/m-...

 

Best regards

0 Likes