PSoC™ 6 Forum Discussions
Today I have strange problem,
unable to work with MODUS TOOLBOX (tested on 2 computers with latest 2.4 versions)
After starting "Library Manager"
------------------
Checking if remote manifest is accessible...
No internet connection found or improper proxy settings and offline content is not available. Use "Settings > Proxy Settings..." to specify the proxy server or check the user guide to see how to get offline content.
Can't find a valid super-manifest.
Failed to get the information.
Press "Retry" to try again.
------------------
Retry does not helped me.
I tested github, try to read github MANIFESET xml https://github.com/cypresssemiconductorco/mtb-super-manifest/raw/v2.X/mtb-super-manifest.xml with no problem.
What can be problem ?
Regards
Radim
Show LessDear Receiver,
In the attached file 1, I selected a basic_boot_loader example code to import to the MTB.
In the attached file 2, after import basic_boot_loader example code to MTB, there a 2 projects generated.
#1. MCUboot-Based_Basic_Bootloader_1.blinky_cm4. " This project compiles fail and you can see there are 2 error messages in the attached 2".
#2. MCUboot-Based_Basic_Bootloader_1.bootloader_cm0p. " This project compile ok! "
Could you please help me to check why *.cm4 project complies failed ?! I didn't modify anything. I just keep this example code original.
Thank you so much.
Show LessHello,
I have some errors when I try to create a application with the Project Creator
After a fresh install of ModusToolbox, I tried to create a new application,
I selected the good BSP (CY8CPROTO-062S3-4343W), I don't get any error (after adding an environment variable)
But when I select the template (Bluetooth_LE_CAPSENSE_Buttons_and_Slider) I get error :
Summary:
BSP: CY8CPROTO-062S3-4343W
Template Application(s): Bluetooth LE CAPSENSE Buttons and Slider
Application(s) Root Path: C:/Users/starka/mtw
Press "Create" to create the selected application(s).
Collecting application data...
Info: The following entered on the command line will create the exact same project as that created with the GUI tool:
C:/NSS/Infineon/Tools/ModusToolbox/tools_2.4/project-creator/project-creator-cli.exe --board-id CY8CPROTO-062S3-4343W --board-uri https://github.com/cypresssemiconductorco/TARGET_CY8CPROTO-062S3-4343W --board-commit latest-v3.X --app-id mtb-example-anycloud-ble-capsense-buttons-slider --app-uri https://github.com/cypresssemiconductorco/mtb-example-anycloud-ble-capsense-buttons-slider --app-commit latest-v4.X --cypress-tools C:/NSS/Infineon/Tools/ModusToolbox/tools_2.4 --target-dir C:/Users/starka/mtw --user-app-name Bluetooth_LE_CAPSENSE_Buttons_and_Slider --output-for-machine --use-modus-shell
==============================================================================
= Cloning 'mtb-example-anycloud-ble-capsense-buttons-slider' =
==============================================================================
Cloning https://github.com/cypresssemiconductorco/mtb-example-anycloud-ble-capsense-buttons-slider into C:/Users/starka/mtw directory...
env git clone --progress --origin cypress https://github.com/cypresssemiconductorco/mtb-example-anycloud-ble-capsense-buttons-slider Bluetooth_LE_CAPSENSE_Buttons_and_Slider
Cloning into 'Bluetooth_LE_CAPSENSE_Buttons_and_Slider'...
remote: Enumerating objects: 95, done.
remote: Counting objects: 100% (95/95), done.
remote: Compressing objects: 100% (63/63), done.
fatal: --stdin requires a git repository
fatal: fetch-pack: invalid index-pack output
fatal: write error: No space left on device
Project "mtb-example-anycloud-ble-capsense-buttons-slider" failed to create.
"git clone" failed.
Failed to create and export "Bluetooth_LE_CAPSENSE_Buttons_and_Slider" application.
I tried to clone it manually (it's working) and to import it manually, but I get some other errors :
Summary:
BSP: CY8CPROTO-062S3-4343W
Template Application(s): Bluetooth_LE_CAPSENSE_Buttons_and_Slider_2
Application(s) Root Path: C:/Users/starka/mtw
Press "Create" to create the selected application(s).
Collecting application data...
Info: The following entered on the command line will create the exact same project as that created with the GUI tool:
C:/NSS/Infineon/Tools/ModusToolbox/tools_2.4/project-creator/project-creator-cli.exe --board-id CY8CPROTO-062S3-4343W --board-uri https://github.com/cypresssemiconductorco/TARGET_CY8CPROTO-062S3-4343W --board-commit latest-v3.X --app-path C:/Temp/Temp/Bluetooth_LE_CAPSENSE_Buttons_and_Slider_2 --cypress-tools C:/NSS/Infineon/Tools/ModusToolbox/tools_2.4 --target-dir C:/Users/starka/mtw --user-app-name Bluetooth_LE_CAPSENSE_Buttons_and_Slider_2 --output-for-machine --use-modus-shell
==============================================================================
= Copying 'C:/Temp/Temp/Bluetooth_LE_CAPSENSE_Buttons_and_Slider_2' =
==============================================================================
==============================================================================
= Cleaning launch configurations =
==============================================================================
==============================================================================
= Creating "TARGET_CY8CPROTO-062S3-4343W.mtb" file(s) =
==============================================================================
C:/Users/starka/mtw/Bluetooth_LE_CAPSENSE_Buttons_and_Slider_2/deps/TARGET_CY8CPROTO-062S3-4343W.mtb was added
C:/Users/starka/mtw/Bluetooth_LE_CAPSENSE_Buttons_and_Slider_2/deps/TARGET_CY8CPROTO-062-4343W.mtb was removed
==============================================================================
= Updating Makefile for "Bluetooth_LE_CAPSENSE_Buttons_and_Slider_2" =
==============================================================================
==============================================================================
= Applying the Latest Version Locking for "Bluetooth_LE_CAPSENSE_Buttons_and_Slider_2" =
==============================================================================
C:/Users/starka/mtw/Bluetooth_LE_CAPSENSE_Buttons_and_Slider_2/deps/TARGET_CY8CPROTO-062S3-4343W.mtb was updated
C:/Users/starka/mtw/Bluetooth_LE_CAPSENSE_Buttons_and_Slider_2/deps/bluetooth-freertos.mtb was updated
C:/Users/starka/mtw/Bluetooth_LE_CAPSENSE_Buttons_and_Slider_2/deps/freertos.mtb was updated
C:/Users/starka/mtw/Bluetooth_LE_CAPSENSE_Buttons_and_Slider_2/deps/retarget-io.mtb was updated
==============================================================================
= Getting Dependencies for "Bluetooth_LE_CAPSENSE_Buttons_and_Slider_2" =
==============================================================================
C:/NSS/Infineon/Tools/ModusToolbox/tools_2.4/modus-shell/bin/make.exe getlibs CY_TOOLS_PATHS=C:/NSS/Infineon/Tools/ModusToolbox/tools_2.4
Tools Directory: C:/NSS/Infineon/Tools/ModusToolbox/tools_2.4
==============================================================================
= Importing libraries =
==============================================================================
Git is git version 2.33.0, found at /usr/bin/git
Resolving dependencies...
Checking if remote manifest is accessible...
Getting manifests from remote server...
Found environment variable CyRemoteManifestOverride=https://raw.githubusercontent.com/Infineon/mtb-super-manifest/v2.X/mtb-super-manifest-fv2.xml
Processing super-manifest https://raw.githubusercontent.com/Infineon/mtb-super-manifest/v2.X/mtb-super-manifest-fv2.xml...
Successfully acquired the information.
INFO - Warning: Multiple versions of "freertos" requested. Keeping version "release-v10.4.302" and discarding version "latest-v10.X".
INFO - Warning: Multiple versions of "core-make" requested. Keeping version "latest-v1.X" and discarding version "release-v1.9.0".
C:/Users/starka/mtw/Bluetooth_LE_CAPSENSE_Buttons_and_Slider_2/libs/abstraction-rtos.mtb was added
C:/Users/starka/mtw/Bluetooth_LE_CAPSENSE_Buttons_and_Slider_2/libs/btstack.mtb was added
C:/Users/starka/mtw/Bluetooth_LE_CAPSENSE_Buttons_and_Slider_2/libs/capsense.mtb was added
C:/Users/starka/mtw/Bluetooth_LE_CAPSENSE_Buttons_and_Slider_2/libs/clib-support.mtb was added
C:/Users/starka/mtw/Bluetooth_LE_CAPSENSE_Buttons_and_Slider_2/libs/core-lib.mtb was added
C:/Users/starka/mtw/Bluetooth_LE_CAPSENSE_Buttons_and_Slider_2/libs/core-make.mtb was added
C:/Users/starka/mtw/Bluetooth_LE_CAPSENSE_Buttons_and_Slider_2/libs/mtb-hal-cat1.mtb was added
C:/Users/starka/mtw/Bluetooth_LE_CAPSENSE_Buttons_and_Slider_2/libs/mtb-pdl-cat1.mtb was added
C:/Users/starka/mtw/Bluetooth_LE_CAPSENSE_Buttons_and_Slider_2/libs/psoc6cm0p.mtb was added
C:/Users/starka/mtw/Bluetooth_LE_CAPSENSE_Buttons_and_Slider_2/libs/recipe-make-cat1a.mtb was added
Dependencies resolved.
Searching application directory (.mtb)...
Found 14 .mtb file(s)
Processing file "C:/Users/starka/mtw/Bluetooth_LE_CAPSENSE_Buttons_and_Slider_2/deps/TARGET_CY8CPROTO-062S3-4343W.mtb"
fatal: --stdin requires a git repository
fatal: fetch-pack: invalid index-pack output
fatal: write error: No space left on device
ERROR: Unable to checkout "TARGET_CY8CPROTO-062S3-4343W". This is not a valid git repository.
==============================================================================
ERROR: --ABORTING--
: Script : C:/NSS/Infineon/Tools/ModusToolbox/tools_2.4/make/getlibs.bash
: Bash path : /usr/bin/bash
: Bash version: 4.4.12(3)-release
: Exit code : 1
: Call stack : trap_exit error perform_git process_mtb extract_data find_mtbs main
fatal: repository '/cygdrive/c/Users/starka/.modustoolbox/cache/git/https___github.com_cypresssemiconductorco_TARGET_CY8CPROTO-062S3-4343W/TARGET_CY8CPROTO-062S3-4343W' does not exist
make: *** [C:/NSS/Infineon/Tools/ModusToolbox/tools_2.4/make/getlibs.mk:121: getlibs] Error 1
Project "Bluetooth_LE_CAPSENSE_Buttons_and_Slider_2" failed to create.
"make getlibs" failed.
Failed to create and export "Bluetooth_LE_CAPSENSE_Buttons_and_Slider_2" application.
Last years I used this template without issues.
How to removes theses errors ?
Alexandre
Show LessI'm struggling to see how I can have a WCO accurate timer using an external 32768 crystal to provide timestamps that can be used with the RTC seconds to get subsecond RTC timestamps of around 1mS. Is there an example clock configuration for a WCO synchronized 1 KHz timer that can be read in software?
Show LessHello.
My customer is Designing a board using CY8C6136FDI-F42T, and I would like to know if a Symbol (Decal) file or 3D CAD file is provided.
If it is provided, how can I receive it?
Please help.
Show LessI'm doing an DMA read/write to SPI. The TX completes fine, but the RX gives me an bus error CY_DMA_INTR_CAUSE_SRC_BUS_ERROR. But the source is the SPI RX Fifo and the source is set to not increment.
What would cause this error?
Show Less
I'm getting a CY_BLE_ERROR_INSUFFICIENT_RESOURCES error during my handling of the CY_BLE_EVT_STACK_ON event. In the snippet below, the GenerateKeys works fine but the StartAdvertisement throws the RESOURCES error. If I swap the two blocks, the StartAdvertisement works but the GenerateKeys will throw the error. Sorta sounds like maybe a shortage of ram, but I can't find anywhere to give the BLE Stack more. Anybody got any ideas about why I'm getting this error and how to make it go away?
Thanks,
Ed H.
/* Generates the security keys */
apiResult = Cy_BLE_GAP_GenerateKeys(&keyInfo);
if(apiResult != CY_BLE_SUCCESS)
{
BLE_PRINTF("Cy_BLE_GAP_GenerateKeys API Error: 0x%x \r\n", apiResult);
}
/* Enter into discoverable mode so that remote can find it. */
apiResult = Cy_BLE_GAPP_StartAdvertisement(CY_BLE_ADVERTISING_FAST, CY_BLE_PERIPHERAL_CONFIGURATION_0_INDEX);
if(apiResult != CY_BLE_SUCCESS)
{
BLE_PRINTF("Cy_BLE_GAPP_StartAdvertisement API Error: 0x%x \r\n", apiResult);
}
Hello,
I need to store an audio file in the NOR flash of the CY8CKIT-062-WiFi-BT board to process it later. In order to do this, I'm using the emFile API to create a FAT filesystem to store and access the audio file. Then, my idea was to use the USB device as USB mass storage to load the file into the NOR flash. I have seen this example for the USB mass storage class:
https://github.com/Infineon/mtb-example-psoc6-usb-msc-filesystem-freertos
My problem is that this example is not compatible with the board, and when I tried to adapt it, I've noticed there is no USB msc driver in my mtb_shared folder. The question is: is this the correct way to use the NOR flash as a file system? Is it possible to use it as the USB mass storage volume?
I don't really need all the implementation, I just need to have a .opus file inside the NOR flash to test the decoder. I would appreciate some feedback on this.
Thank you,
jp
Show Less
Dear Receiver,
I use sample code which built-in in the MTB (Hello World example code).
After compiler ok, I pressed Launches->Hello_World Debug (Kitprog3_Miniprog4).
A message in the console windows shows "Hello_World Program (Kitprog3_Miniprog4) [GDB OpenOCD Debugging] openocd.exe (Terminated)
Why it terminated automatically ?!
I try to use Cypress Programmer to do Erase, Program and Verify function. They all function well.
I feel so confused why Debug and Program function can't be executed in the MTB environment.
Program and debug mode are terminated in MTB automatically and I don't know why !!
Thank you so much!
Show Less