PSoC™ 6 Forum Discussions
Hi,
I am using CY8C6245LQI-S3D42 and I used the DFU examples to boot the system and created the application to run on AM4 core and everything is working well.
I wait for 5 sec in DFU to check if there is any updates or just move with the Application code.
I find that sometimes the device stops booting once in a blue moon. Now If I flash again just the boot loader, everything is fine , I need not have to write the Application, it moves from DFU in 5 sec to application.
I believe, there is some how the flash/DFU is getting corrupted. I want to protect this scenario. Can some one share how do I protect my DFU so that it never erases . Any example's will be appreciable, I am using USB CDC transport in DFU.
Regards,
Madhav
Show LessHI
We have buy cypress miniprog4 to flash the PD controller (CYPD6127-48LQXIT).
We are able to turn on the target power by using the cypress programmer tool.
We have connect the device with the SWD interface and when we try to connect with the programmer we are facing below error:
Info : [CyBridge] Connected - MiniProg4 CMSIS-DAP BULK-1623198900212400
Info : Selected Device: MP4 BULK-1623198900212400
Info : Open On-Chip Debugger 0.10.0+dev-1.0.0.226 (2018-11-09-17:51)
Info : Licensed under GNU GPL v2
Info : For bug reports, read
Info : http://openocd.org/doc/doxygen/bugs.html
Info : /home/vvdn/Downloads/Cypress_programmer/CyProgrammer_2.0.0.355
Info : ./openocd
Info : /home/vvdn/Downloads/Cypress_programmer/CyProgrammer_2.0.0.355/BT
Info : 1623198900212400
Info : 3:7
Info : swd
Info : adapter speed: 1500 kHz
Info : cyp_detect_target.cfg
Warn : Transport "swd" was already selected
Info : cyp_get_mpn
Info : CMSIS-DAP: SWD Supported
Info : CMSIS-DAP: JTAG Supported
Info : CMSIS-DAP: FW Version = 2.0.0
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 1 TDO = 0 nTRST = 0 nRESET = 1
Info : CMSIS-DAP: Interface ready
Info : VTarget = 3.294 V
Info : clock speed 1500 kHz
Error: DAP 'test.cpu' initialization failed (check connection, power, etc.)
Please check and help to resolve this as we are not able to connect with the programmer.
Show LessHi,
I'm using Pionner Kit CY8CKIT-062-BLE and I'm trying to change the speed of uart 6 using the device-tree configuration. No matter what value I set in dts file, the final baudrate is always 115200. Below I attach the device-tree from zephyr.dts for uart6 (baudrate: current-speed = <460800>; . Now test the settings for speed 460800, but finally I want to use speed 1500000. Am I missing any additional configuration to make this work?
As has been reported elsewhere, I am getting "The given PDL path "C:\Program Files (x86)\Cypress\PDL\3.1.7" is invalid. Unable to find required PDSC file." when I attempt to Generate Application. I am trying to run the "Hello World" application, i.e. just getting started with PSoC 6. The path should be valid since I found it via the "Browse" button.
Can someone advise me how to fix this?
Thank you.
Show Less
Info : Could not connect to device: MiniProg4/PSoC 61/62/63
Info : Open On-Chip Debugger 0.11.0+dev-4.4.0.2134 (2022-09-08-13:07)
Info : Licensed under GNU GPL v2
Info : For bug reports, read
Info : http://openocd.org/doc/doxygen/bugs.html
Info : DEPRECATED! use 'adapter speed' not 'adapter_khz'
Info : adapter speed: 1000 kHz
Info : adapter speed: 1500 kHz
Info : adapter speed: 1500 kHz
Info : >> do kp3 acquire
Info : Using CMSIS-DAPv2 interface with VID:PID=0x04b4:0xf151, serial=180F031D03201400
Info : CMSIS-DAP: SWD supported
Info : CMSIS-DAP: JTAG supported
Info : CMSIS-DAP: Atomic commands supported
Info : CMSIS-DAP: FW Version = 2.0.0
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 0 TDO = 0 nTRST = 0 nRESET = 1
Info : CMSIS-DAP: Interface ready
Info : KitProg3: FW version: 2.40.1241
Info : KitProg3: Pipelined transfers enabled
Info : KitProg3: Asynchronous USB transfers enabled
Info : VTarget = 3.319 V
Info : kitprog3: acquiring the device (mode: reset)...
Error: kitprog3: failed to acquire the device
Info : clock speed 1500 kHz
Error: Error connecting DP: cannot read IDR
Error: Error connecting DP: cannot read IDR
Error: Error connecting DP: cannot read IDR
Error: DAP 'test.cpu' initialization failed (check connection, power, transport, DAP is enabled etc.)
Info : Disconnected - MiniProg4 CMSIS-DAP BULK-180F031D03201400 FW Version 2.40.1241
I am getting above error while programming CY8C6245LQI-S3D42 using miniprog-4. There are 2 boards giving same problem. These boards were programmed earlier. Also the programmer setup is confirmed working using another board.
Can anyone help to resolve this issue?
Show LessI am attempting to follow the "Secure Boot" SDK user guide but continually run into the same problem. When attempting to setup the "CySecureTools" workspace i get the same error 'bash: cysecuretools: command not found' i get this even though i installed it and when i attempt to reinstall cysecuretools i got the message stating command already satisfied. This is all done on Windows.
Show LessHi
I am studying the Device Firmware Upgrade code
I can change the code and make it run the FW upgrade via UART by modifying the common.mk,
and I noted the differences when I used the original sample with the I2C interface, when the upgrade process is done, the PSoC6 cam restart/reboot. and running the cm4 code
but when I changed the interface to UART. it seems to upgrade successfully, but the EVK doesn't reboot
is there anything else I need to change besides the
TRANSPORT_OPT?=UART
please advise
Thanks
Show Less
I am using the QuadDec component in PSOC Creator with a PSOC6. The QuadDec will decode a motor encoder that has 8000 counts (as in, one full revolution of the motor shaft is 8000 counts).
--> How can I take the QuadDec output and "modulo" it, so that its output will roll over at 8000?
For instance, as the motor shaft is spinning, the QuadDec output will go from 0 --> 7999 --> 0 (it should never reach 8000).
Show LessHello All,
I wish to use the ModusToolbox for Machine Learning as I plan to get started with ML on Infineon hardware, and as per my understanding, it is supported only for PSoC 6. (If there are any others, please help me with the details)
However, the hardware/development kits for PSoC 6 are as mentioned in this link but I am not sure if all of these are supported for Machine Learning.
Can somebody please guide me with the possible hardware/development kits compatible with ModusToolbox for Machine Learning and if CY8CKIT-062S4 supports the same?
Regards,
Sabat
Hi
we are running a project developing with PSoC6, CY8C6244AZi-S4D62
we would like to program the unique serial number into each single PSoC during production
I tried to use ppcli.exe to program the flash, I referred to the sample code "Emulated EEPROM", it seems the Row 0x60 is writable. the address is 0c1000C000.
is it correct?
but when I try to manually program the row via ppcli.exe, it shows me programming failed.
the message is "SROM API did not pass to final phase."
another question, this memory will be changed after FW upgrade via UART?
if yes, what else solution I can choose?
Thanks
Show Less