ModusToolbox™ Forum Discussions
Hi infineon Team,
A few days ago, ModusToolbox can still open normally, but today the following problems occur, how to solve.
ERROR:there was an error retreiving the asset 'https://github.com/Infineon/device-db' commit 'release-v4.9.0' - fatal: unable to access 'https://mirror.ghproxy.com/https://github.com/Infineon/device-db/': Failed to connect to mirror.ghproxy.com port 443 after 2237 ms: Connection refused
ERROR:Global asset download of device-db loading completed with error.
ERROR:The asyncStepComplete failed for LoadFlag DEVICE_DB.
Show Less
When I try to create a new project with Project Creator I get an error getting device_db:
I have all the environment variable set up as suggested by the installation guide :
unfortunately not found any solution
Show LessHello,
The following error occurred when HelloWorld was created with NewApplication in ModusToolbox.
No space is used.
Could you identify the cause of the problem?
ModusToolbox Version: 3.1.0
Install Directory : C:/Users/170251/ModusToolbox
Project Location : C:/Users/170251/mtw/Hello_World_1
Best Regards,
Show LessI have a need to generate 3 or more target programs from almost the same code base. However:
- design.modus must be different
- some preprocessor DEFINES need to be different.
I'm still using MTB 2.4, but will migrate to 3.0 soon. Usually I would just create many targets in the makefile. But I read that MTB2.4 makefiles cannot support multiple targets.
What is the best practice for this? It seems like I need separate projects which is suboptimal, but OK. But is there an easy way to include adjacent directores of source files above the project directory without creating libraries?
Show Less
Problem:
The Device Configurator is showing wrong frequency for CLK_TIMER. Source of CLK_TIMER is set to IMO with 8MHz frequency. But the frequency of CLK_TIMER is showing 1MHz even though the Timer Divider is set to 1. When tested in code, the CLK_TIMER is acting as a 8MHz clock and not 1MHz clock.
IMO frequency : 8MHz
CLK_TIMER divider : 1
CLK_TIMER frequency shown : 1MHz
CLK_TIMER frequency tested: 8MHz
Please refer to the attached screenshots. For timer divider value 1 and 2, CLK_TIMER frequency is shown as 1MHz and 500KHz respectively. But they are tested to be 8MHz and 4MHz respectively.
Hardware:
CY8CKIT-062S2-43012
Software:
ModusToolbox 3.0.0
Device Configurator 4.0.0.748
The templates that can be selected for Modus's new PSoC6 project are all PSoC62/63/64 series. How can I build a new PSOC61 project
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/ModusToolbox/modus-toolbox-PSOC61%E5%B7%A5%E7%A8%8B/td-p/653041
Show LessI understand optimization must be set in the project makefile using the CFLAGS option. However, when comparing optimization off (-O0) to optimization for size (-Os), the IDE reports utilized FLASH of exactly the same size. The project is from the BSPS for the PSoC4 MAX Pioneer demo kit. It's not a massive project, but I'd certainly expect to see SOME change, which leads me to believe I'm doing something incorrectly. Incidentally, I also am not able to precisely hit some breakpoints I've set when optimization is off, which seems to confirm it isn't actually off.
I'm using the default Debug config (other than the optimization modification). Any thoughts what I'm doing wrong?
Show Lessin wiced_hal_pspi.h
in spiffydriver.h
spiPinPullConfig is UINT8, it's always 0 whenever use which enum ?
Show LessI'm trying to use the POSTBUILD section in the Makefile. It seems I have no any path variable here so I have defined my toolchain path and project path manually. How to avoid this? How to use the proper path variables?
# Custom post-build commands to run.
TOOLCHAIN_PATH:=c:/Users/xxx/ModusToolbox/tools_3.1/gcc
ELF_PATH:=c:/Work/mtw/PSoc62_Empty_App/build/APP_CY8CKIT-062S2-43012/Debug
MTB_TOOLCHAIN_GCC_ARM__OBJDUMP:=$(TOOLCHAIN_PATH)/bin/arm-none-eabi-objdump
POSTBUILD=$(MTB_TOOLCHAIN_GCC_ARM__OBJDUMP) -S $(ELF_PATH)/$(APPNAME).elf > $(ELF_PATH)/disasm.txt
Show Less
I would like to edit my project on a network drive.
When I create a new project, I get the following error message:
[1]: there was an error retreiving the asset 'https://github.com/Infineon/mtb-example-empty-app' commit 'latest-v4.X' - ERROR:J:/Dokumente/Infineon/ModusToolbox/Projekte/Empty_App: Failed to open Git repository: config value 'safe.directory' was not found
[2]: error cloning git asset 'https://github.com/Infineon/mtb-example-empty-app'-ERROR:J:/Dokumente/Infineon/ModusToolbox/Projekte/Empty_App: Failed to open Git repository: config value 'safe.directory' was not found
see attachment
Thanks Andreas
Show Less