- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Seeing MarkS_11-san's blog, I wanted try ModusToolbox 2.0 again,
although I installed ModusToolbox 2.0 on Oct-2019,
I have successfully created and built ZERO project.
I'm afraid that the problem is being caused by the network restriction of our office.
So if there is/are workaround(s) for my situation, I would really appreciate it.
Anyway, let me report what's going on with me.
(1) Started the ModusToolbox 2.0, and selected "New Application"
(2) Selected "CY8CKIT-062-WIFI-BT"
(3) Selected "Hello World", believing that it is one of the safest project.
(4) Summary is shown, so far so good. And selected "Finish"
(5) Progress Information displayed, the green bar stopped there
(6) After 5 minutes or so, "Problem Occurred" Dialog was shown, somehow I knew that there was a problem though...
(7) The console output read (cylogger.log attached)
(8) I supposed that ModusToolbox 2.0 and our network has problem with accessing the github,
then how about accessing the github and download the application manually?
(9) I accessed the github
(10) Navigated to Repo = PSoC 6 MCU Examples
(11) Arrived at Cypress Semiconductor Corporation Repositories
(12) Navigated to examples > mtb-example-psoc6-hello-world
(13) Arrived at mtb-example-psoc6-hello-world page
(14) Selected "Download ZIP"
(15) Selected the destination to my workspace
(16) The zip file was downloaded successfully (it took less than a minute or so)
(17) Then I tried to import the project from the ModusToolbox 2.0
(18) I chose "Import > Select > General > Archive File"
(19) When I selected the ZIP file, it said that I need to create a project first.
(20) I chose "New Application" from ModusToolbox 2.0
(21) goto (1) ... (T^T)
moto
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please check if you have followed all the steps of this KBA: Using ModusToolbox Software Behind a Firewall – KBA228784
If you get the error even after this setup, then check your git config parameters for proxy by using the following commands:
# Get system value
$ git config --system --get https.proxy
$ git config --system --get http.proxy
# Get global value
$ git config --global --get https.proxy
$ git config --global --get http.proxy
# Check configuration for your user
$ cat .gitconfig
You can use either Git Bash or the command prompt to run this.
If these values haven't been setup, you can use the following commands to setup your proxy settings:
# Set proxy settings
$ git config --global https.proxy company.com:port
$ git config --global http.proxy company.com:port
Now restart ModusToolbox and check if you are able to get it to work.
For importing existing code examples into ModusToolbox 2.0, please have a look at this KBA: Importing Code Example into ModusToolbox IDE - KBA225201
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please check if you have followed all the steps of this KBA: Using ModusToolbox Software Behind a Firewall – KBA228784
If you get the error even after this setup, then check your git config parameters for proxy by using the following commands:
# Get system value
$ git config --system --get https.proxy
$ git config --system --get http.proxy
# Get global value
$ git config --global --get https.proxy
$ git config --global --get http.proxy
# Check configuration for your user
$ cat .gitconfig
You can use either Git Bash or the command prompt to run this.
If these values haven't been setup, you can use the following commands to setup your proxy settings:
# Set proxy settings
$ git config --global https.proxy company.com:port
$ git config --global http.proxy company.com:port
Now restart ModusToolbox and check if you are able to get it to work.
For importing existing code examples into ModusToolbox 2.0, please have a look at this KBA: Importing Code Example into ModusToolbox IDE - KBA225201
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Dheeraj-san,
Thank you very much for your response!
Unfortunately I'm going to be out of my office till Monday late afternoon,
and currently I'm typing this in my private office/lab
so I can not test the firewall behavior of my office.
I will try your suggestion when I get back to my office.
Best Regards,
23-Jan-2020
Motoo Tanaka
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Dheeraj-san,
Thank you very much for your answer!
The good news is:
Following the KBA228784 I could create my first MT 2.0 Project (Hello_World)
But the bad news is:
I received following errors
=======================
Successfully created "Hello_World" application.
Error creating Eclipse launch configurations: Makefile:162: *** Unable to find any of the available CY_TOOLS_PATHS -- C:\Cypress\ModusToolbox_2_0_0\tools_2.0 . Stop.
Unable to find configurator information: Makefile:162: *** Unable to find any of the available CY_TOOLS_PATHS -- C:\Cypress\ModusToolbox_2_0_0\tools_2.0 . Stop.
=======================
So I'm afraid that there is/are some more things to be fixed...
I need to leave my office now, I'll keep trying after coming back...
Best Regards,
27-Jan-2020
Motoo Tanaka
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Finally, I found my problem after creating the project.
As I installed "ModusToolbox" to "C:\Cypress\ModusToolbox_2_0_0"
I had to edit the Makefile and modify the line
CY_TOOLS_PATHS+=
to
CY_TOOLS_PATHS+= C:/Cypress/ModusToolbox_2_0_0/tools_2.0
After this, I could build the example project.
moto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Yet another thing I noticed/learned is
I was setting CY_TOOLS_PATHS in my Windows Environment
C:\Cypress\ModusToolbox_2_0_0\tools_2.0
But it was required to set as
C:/Cypress/ModusToolbox_2_0_0/tools_2.0
With this I don't have to edit the Makefile for each project...
moto