PSoC™ 6 Forum Discussions
Board: CY8CPROTO-062S2-43439
ModusToolbox : v3.1
Example BSP code: ADC basics
----------------------------------------------------
Error Snippet::
Info : kitprog3: acquiring the device (mode: reset)...
Error: kitprog3: failed to acquire the device
Info : clock speed 2000 kHz
Error: Error connecting DP: cannot read IDR
Error: Error connecting DP: cannot read IDR
Error: Error connecting DP: cannot read IDR
Error: DAP 'psoc6.cpu' initialization failed (check connection, power, transport, DAP is enabled etc.)
Info : psoc6.dap: powering down debug domain...
Error: Error connecting DP: cannot read IDR
Error: Error connecting DP: cannot read IDR
I want to test the PSoC® 6 BLE.
Are PSoC™ Creator, PSoC™ Designer and PSoC™ Programmer free or commercial?Hey guys,
I used Capsense self-cap to made a force sensor (sandwich structure), on electrode pad as the self-cap pad, another one connected to the GND. It works very good, but now I wanna make a 5x5 sensor array, so I set 5 Buttons(0~4) in CSD (self-cap), and a MUX for other 5 GND Pins.
So I used this code:
But the problem is, I can not just use "uint16 Value0 = CapSense_dsRam.snsList.button0[0u].raw[0u];" to save the data now, cause I just have 0u, 1u, 2u, 3u, 4u, but I need read out 25 data.
If I use Mutual-Cap then I can set 5TX and 5RX, then I can get 0u to 24u. But what should I do with Self-Cap?
Show Less
I have followed several different posts and tutorials about creating a custom BSP but I'm getting the following error when trying to build the BSP, both from within the ModusToolbox (3.1) as well as from the command line (the following is from the command line attempt):
make bsp TARGET_GEN=my-bsp DEVICE_GEN=CY8C6136BZI-F14
Tools Directory: /home/test/ModusToolbox/tools_3.1
Removing .mtbqueryapi file...
Searching installed tools in progress...
Searching installed tools complete
../mtb_shared/core-make/release-v3.2.2/make/core/core_utils.mk:109: *** Make bsp target is no longer supported. Use BSP assistant tool instead.. Stop.
This was executed from top-level project directory. I followed the installation guide for the ModusToolbox and believe that I completed all the steps. Could someone shed some light on why this is happening?
Show LessHi, friends,
I used ModuxToobox version 3.0.0, after I setup QSPI Configurator 4.0, I still have compiling errors as "cy_serial_flash_qspi.h: No such file or directory".
It seems that the serial-flash library has not been setup. However Usage of Quad SPI (QSPI)/Serial Memory Interface (SMIF) in PSoC™ 6 MCU (infineon.com) is under Library Manager 1.0, and I am using Library Manager 2.0, I cannot find serial-flash library under manager 2.0.
Thanks in advance.
Victor
Show LessDears,
My customer wants to develop a GUI to program firmware through miniprog4.
It has the same functionality as Cypress Programmer, but customer wants to add the features they need.
Is there any document we can refer to for this?
To make development easier, he would like to use the .dll files used by cypress programmer.
Thanks and Regards,
YS
I am using PSoC Creator to configure a counter in one-shot mode. I have a CY8CPROTO-063-BLE board. The target device is CYBLE-416045-02. How do I configure the following? On the falling edge of the button on P0[4], a counter outputs 10 cycles of a 1kHz input clock on pin P6[3]. After these 10 cycles, pin P6[3] stays low, the counter resets. The system waits for the next falling edge of the button input, starting the process over again. I would prefer a solution that configures the counter mainly through the configuration GUI.
Show LessI want to download programs using cyprogrammer, but the UI interface is gray and cannot be linked. I used a different connector. Should I use the specified connector, such as Kitprog3
Show Less
Hello,
I am testing the 'OTA_Using_MQTT' example.
I follow the readme.md step, but I got the following results repeatedly after wifi connecting successfully as shown below.
and cm0 & cm4 resets as shown in the below image. I am unable to figure out why cm0 and cm4 reset.
[INF] MCUBoot Bootloader Started
[INF] External Memory initialized w/ SFDP.
[INF] Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
[INF] Scratch: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
[INF] Boot source: primary slot
[INF] boot_swap_type_multi: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
[INF] boot_swap_type_multi: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
[INF] Swap type: none
[INF] User Application validated successfully
[INF] Starting User Application (wait)...
[INF] Start slot Address: 0x10018400
[INF] MCUBoot Bootloader finished
[INF] Deinitializing hardware...
===============================================================
TEST Application: OTA Update version: 1.0.0
===============================================================
Watchdog timer started by the bootloader is now turned off!!!
call ota_smif_initialize()
WLAN MAC Address : 74:AD:9B:2E:9C:D1
WLAN Firmware : wl0: Jul 18 2021 19:15:39 version 7.45.98.120 (56df937 CY) FWID 01-69db62cf
WLAN CLM : API: 12.2 Data: 9.10.39 Compiler: 1.29.4 ClmImport: 1.36.3 Creation: 2021-07-18 19:03:20
WHD VERSION : 2.6.1.20115 : v2.6.1 : GCC 11.3 : 2023-06-28 02:01:23 +0000
Successfully connected to Wi-Fi network 'wifissid'.
[INF] MCUBoot Bootloader Started
[INF] External Memory initialized w/ SFDP.
[INF] Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
[INF] Scratch: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
[INF] Boot source: primary slot
[INF] boot_swap_type_multi: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
[INF] boot_swap_type_multi: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
[INF] Swap type: none
[INF] User Application validated successfully
[INF] Starting User Application (wait)...
[INF] Start slot Address: 0x10018400
[INF] MCUBoot Bootloader finished
[INF] Deinitializing hardware...
===============================================================
TEST Application: OTA Update version: 1.0.0
[INF] MCUBoot Bootloader Started
[INF] External Memory initialized w/ SFDP.
[INF] Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
[INF] Scratch: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
[INF] Boot source: primary slot
[INF] boot_swap_type_multi: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
[INF] boot_swap_type_multi: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
[INF] Swap type: none
[INF] User Application validated successfully
[INF] Starting User Application (wait)...
[INF] Start slot Address: 0x10018400
[INF] MCUBoot Bootloader finished
[INF] Deinitializing hardware...
[INF] MCUBoot Bootloader Started
[INF] External Memory initialized w/ SFDP.
[INF] Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
[INF] Scratch: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
[INF] Boot source: primary slot
[INF] boot_swap_type_multi: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
[INF] boot_swap_type_multi: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
[INF] Swap type: none
[INF] User Application validated successfully
[INF] Starting User Application (wait)...
[INF] Start slot Address: 0x10018400
[INF] MCUBoot Bootloader finished
[INF] Deinitializing hardware...
===============================================================
TEST Application: OTA Update version: 1.0.0
[INF] MCUBoot Bootloader Started
[INF] External Memory initialized w/ SFDP.
[INF] Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
[INF] Scratch: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
[INF] Boot source: primary slot
[INF] boot_swap_type_multi: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
[INF] boot_swap_type_multi: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
[INF] Swap type: none
[INF] User Application validated successfully
[INF] Starting User Application (wait)...
[INF] Start slot Address: 0x10018400
[INF] MCUBoot Bootloader finished
[INF] Deinitializing hardware...
===============================================================
TEST Application: OTA Update version: 1.0.0
===============================================================
Watchdog timer started by the bootloader is now turned off!!!
call ota_smif_initialize()
WLAN MAC Address : 74:AD:9B:2E:9C:D1
WLAN Firmware : wl0: Jul 18 2021 19:15:39 version 7.45.98.120 (56df937 CY) FWID 01-69db62cf
WLAN CLM : API: 12.2 Data: 9.10.39 Compiler: 1.29.4 ClmImport: 1.36.3 Creation: 2021-07-18 19:03:20
WHD VERSION : 2.6.1.20115 : v2.6.1 : GCC 11.3 : 2023-06-28 02:01:23 +0000
Successfully connected to Wi-Fi network 'wifissid'.
Show Less
Hi.
I started to use PSoC Programmer 3.29.0 which is installed by PSoC creator. When I tried to connect to the board, it showed a message about firmware version mismatch and that I should upgrade the firm by going to Utilities->Upgrade Firmware.
I did so, and went through the update and finished (It might had failed at the end, coz I remember that when it was about to finish, all usb ports got restarted and my keyboard, mouse and usb headset stopped working for a few seconds.)
After that neither PSoC programmer nor PSoC creator are able to connect to the device.
In my PC's device manager I can see the following devices:
Twice I held SW3 and connected the usb cable and I saw that PSoC programmer can detect the KitProg3 bootloader and I followed the instruction to upgrade the firmware again. but no luck:
Disconnected at 1:14:27 PM | Bootloader device
Firmware Update Finished at 1:14:25 PM |
| Succeeded
| Verifying...
| Upgrading...
| Initializing...
Firmware Upgrade Started at 1:14:12 PM |
Firmware Upgrade Requested at 1:14:12 PM |
Connected at 1:13:55 PM | KitProg2/KitProg3 bootloader devices are detected
| Please close all ports, then navigate to the Utilities tab and click the Upgrade Firmware button to recover Bridge
Show Less