PSoC™ 6 Forum Discussions
text.format{('custom.tabs.no.results')}
Hello: I have build a downloadable application to be downloaded by a bootloader application over BLE.
Using the CySmart running on PC with dongle I am able to see my bootloader and select it. Next click firmware update and select my .cyacd2 file to be downloaded. All steps show OK in the dialog box until Transfer firmware image, then I get this error. see attached. Can anyone tell me how to fix this issue. Note: both the bootloader and downloadable app were built on the same PSoC creator with the same settings for both projects.
Thanks Brian
Show LessI used PSOC Creator and the examples provided PSOC6 DFU app0 and app1, then change the device to CYBLE416045-2. I get the following error when using the Bootloader Host program trying to upload app1
The bootloader reported error 'The flash row is not valid for the selected array
Show LessTrying to network BLE devices configured in both central/peripheral roles. A connection problem occurs (infrequently) whereby a peripheral will connect to a central device and then immediately disconnect (before CY_BLE_EVT_GAPC_SCAN_PROGRESS_RESULT is called). Disconnect reason 62 is given. Timing the connect / disconnect events shows there is ~140ms between them, and since the min/max connection intervals are set to 20/30ms on all devices, this suggests the peripheral/slave is not responding to the central/master connection attempts immediately after first connection. The devices are very close together and there does not seem to be an rssi problem. I've removed most additional code that I thought could be interfering with the timing of BLE event processing. Any suggestion on what the problem might be and/or how to debug it?
Show LessWe are using CY_BLE_EVT_GAP_DEVICE_DISCONNECTED to know if the peripheral got disconnected. On CY_BLE_EVT_GAP_DEVICE_DISCONNECTED we perform connection cleanup, but we noticed on one time the peripheral disconnected but it seems like we missed or didn't get CY_BLE_EVT_GAP_DEVICE_DISCONNECTED.
Is it expected not to get CY_BLE_EVT_GAP_DEVICE_DISCONNECTED event when device disconnect? Is there way to manually check if BLE stack properly disconnected?
Show LessI am confused by the classification of CYBLE-416045 and EZ-Serial Support. Older posts (2019) claim there is no intention for CYBLE-416045 to support EZ-Serial and I do not see this among listed devices in documentation claiming such support, yet the CYBLE-416045-EVAL I purchased is listed as an EZ-BLE and documentation which comes with the kit references EZ-Serial. Can you please clarify the standing of this module. If there is no intention to make this module support EZ-Serial, what is the closest module to it that does (eg, Bluetooth 5 support, number GPIOs, etc.)
Show LessHi,
I'm using ADC component of CYBLE-416045-02 MCU. I have 4 analog pins which needs to be attached on 4 separate ADC channels but its showing me analog internal routing error. For the time being I'm using an internal mux like shown in the picture, but i want to use 4 different channels of the ADC and not through internal mux.Please help.
Show Less
Hi
I am trying to use IPC to share 2 variables between M4 and M0. I am able to share a single variable, now I need to share 2, one of them is an array (buffer for UART).
I can't find app-notes for this task. Do you have any advice ?
thanks
Show LessHi All,
Merry Christmas and happy holidays. My professional development project has hit a block.
Purchased a CY8CKIT-064S0S2-4343W kit and am working with ModusToolbox v2.2.0.
I have hit an issue when trying to provision the device. I get the following error when I try to do the provisioning as spelt out in the the Provisioning Guide documentation.
Everything seems to be ok but it fails with this error message
"
2020-12-29 14:24:59,073 : C : ERROR : Early Production Units detected, please get earlier version of tools by running 'pip install --upgrade --force-reinstall cysecuretools==2.1.0'. Check the log for details
Error: Failed processing! "
This error is also returned if I try and run the entrance-exam command.
Based on the responses, I am sure that the hardware is communicating with my pc. I can't actually run the earlier version of cysecuretools as when I try that, I get a stack of python errors about being unable to build the wheel for cryptography which use PEP 517 and cannot be installed directly.
So I would like to get things working with all the current versions of ModusToolbox etc. Please help, it seems to be a pretty pathetic way to be failing as I am just trying to get the demo code to work at this stage 😞
Here is the response to entrance-exam.
"
I:\Foundry\Project\S1000072_AWS\FreeRTOS\vendors\cypress\MTB\psoc6\psoc64tfm\security>cysecuretools -t cy8ckit-064s0s2-4343w entrance-exam
2020-12-29 14:24:58,260 : C : INFO : Target: cy8ckit-064s0s2-4343w
2020-12-29 14:24:58,292 : P : INFO : Target type is cy8c64xa_cm4_full_flash
2020-12-29 14:24:58,306 : P : INFO : DP IDR = 0x6ba02477 (v2 rev6)
2020-12-29 14:24:58,308 : P : INFO : AHB-AP#0 IDR = 0x84770001 (AHB-AP var0 rev8)
2020-12-29 14:24:58,312 : P : INFO : AHB-AP#2 IDR = 0x24770011 (AHB-AP var1 rev2)
2020-12-29 14:24:58,318 : P : INFO : AHB-AP#0 Class 0x1 ROM table #0 @ 0xf1000000 (designer=034 part=102)
2020-12-29 14:24:58,322 : P : INFO : AHB-AP#2 Class 0x1 ROM table #0 @ 0xe00ff000 (designer=034 part=102)
2020-12-29 14:24:58,329 : P : INFO : [0]<e0080000:CTI class="9" designer=43b part=906 devtype=14 archid=0000 devid=40800:0:0>
2020-12-29 14:24:58,331 : P : INFO : [3]<e008e000:TPIU-M3 class="9" designer=43b part=923 devtype=11 archid=0000 devid=ca1:0:0>
2020-12-29 14:24:58,341 : P : INFO : [4]<e007f000:ROM class="1" designer=034 part=102>
2020-12-29 14:24:58,342 : P : INFO : AHB-AP#2 Class 0x1 ROM table #1 @ 0xe007f000 (designer=034 part=102)
2020-12-29 14:24:58,356 : P : INFO : [0]<e000e000:SCS-M4 class="14" designer=43b part=00c>
2020-12-29 14:24:58,358 : P : INFO : [1]<e0001000:DWT class="14" designer=43b part=002>
2020-12-29 14:24:58,369 : P : INFO : [2]<e0002000:FPB class="14" designer=43b part=003>
2020-12-29 14:24:58,371 : P : INFO : [3]<e0000000:ITM class="14" designer=43b part=001>
2020-12-29 14:24:58,380 : P : INFO : [4]<e0042000:CTI class="9" designer=43b part=906 devtype=14 archid=0000 devid=40800:0:0>
2020-12-29 14:24:58,382 : P : INFO : [5]<e0041000:ETM-M4 class="9" designer=43b part=925 devtype=13 archid=0000 devid=0:0:0>
2020-12-29 14:24:58,393 : P : INFO : CPU core #1 is Cortex-M4 r0p1
2020-12-29 14:24:58,396 : P : INFO : FPU present: FPv4-SP
2020-12-29 14:24:58,409 : P : INFO : 4 hardware watchpoints
2020-12-29 14:24:58,410 : P : INFO : 6 hardware breakpoints, 4 literal comparators
2020-12-29 14:24:58,423 : C : INFO : Use system AP
2020-12-29 14:24:58,428 : P : INFO : Clearing TEST_MODE bit...
2020-12-29 14:24:58,434 : C : INFO : Probe ID: 19111301a419041100a4190400000000000000002e127069
2020-12-29 14:24:58,435 : C : INFO : Secure Flash Boot version: 4.0.1.1089
2020-12-29 14:24:58,862 : C : INFO : Device CyBootloader version: unknown
2020-12-29 14:24:58,863 : C : INFO : Package CyBootloader version: 2.0.0.3345
2020-12-29 14:24:59,067 : C : INFO : Chip protection state: Secure
2020-12-29 14:24:59,073 : C : ERROR : Early Production Units detected, please get earlier version of tools by running 'pip install --upgrade --force-reinstall cysecuretools==2.1.0'. Check the log for details
Error: Failed processing!
"
The response when attempting to provision is similar.
"
I:\Foundry\Project\S1000072_AWS\FreeRTOS\vendors\cypress\MTB\psoc6\psoc64tfm\security>cysecuretools --policy ./policy/policy_multi_CM0_CM4_tfm.json --target CY8CKIT-064S0S2-4343W provision-device
2020-12-29 14:22:50,975 : C : INFO : ######################################################################
2020-12-29 14:22:50,975 : C : INFO : Provisioning packet is created
2020-12-29 14:22:50,976 : C : INFO : ######################################################################
..... "
The rest of the provisioning response is the same as for the entrance-exam.
Thanks in advance for any help. Cheers!
Peter
Show LessHow to check what is the preset CPU frequency of CM4 core in the PSoC6 BLE 062 pioneer board with a Hello World example using ModusToolbox 2.2? I want to increase the CPU frequency at maximum (144 MHz). What are the steps?
Show LessMost of the PSOC 62 family is supported in PSOC Creator.
The "245" version of PSOC 62 is not supported.
The "244", "246", "247" parts are supported.
Please support the 245 part.
I DO NOT want Modus Toolbox at the current time. IT DOES NOT ALLOW UDB CONFIGURATION at the same level of granularity as PSOC Creator. If it allowed schematic entry like PSOC Creator, it would be a viable product.
Show Less