Did you pull the MD0(mode pin) high for serial programming?
Can you share the screenshot of the PSoC Programmer which shows the parameters setup and failing message?
Can't identify device usually because of wire connecting, parameter setup.
If I understood correctly, the mode pin os only for UART programming, not for SWD, or am I wrong?
Image from PSoC Programmer
I manually added the chip ID to the programmer options in PSoC Creator and it then identified the Chip, but says it is not supported as per the image below. This to me indicates that all connections are ok.
Your help will be appreciated. Alternatively, please tell me how the SWD connections should be made as well as the procedure to set the MiniProg3 up as well as the programming procedure.
I used the FM0+ Eval board, unpowered the on-board FM0+ chip and used the Eval board as a programmer for my custom board and get exactly the same message as when using the Miniprog3 with PSoC Creator. "Device recognised but PSoC Creator does not support using it at this time"
This seems to indicate that the issue lies within PSoC Creator as it has no issues building the project but will not program it.
I tried programming the FM0-V48-S6E1A1 with MiniProg3, I can program successfully.
This is my setup:
1. FM0-V48-S6E1A1 https://www.cypress.com/documentation/development-kitsboards/fm0-v48-s6e1a1-arm-cortex-m0-fm0-mcu-evaluation-board
https://www.cypress.com/documentation/development-kitsboards/fm0-v48-s6e1a1-arm-cortex-m0-fm0-mcu-evaluation-board2 MiniProg3 https://www.cypress.com/documentation/development-kitsboards/cy8ckit-002-psoc-miniprog3-program-and-debug-kit
Connection and jumper setup see below picture:
Note: The wire from the MiniProg 5pin connector to the target device should be as short as possible.(Less than 20cm)
PSoC Programmer 3.28.4 https://www.cypress.com/file/478331/download
PSoC Creator 4.2 https://www.cypress.com/products/psoc-creator-integrated-design-environment-ide#tabs-0-bottom_side-7 to create a project and build a hex file for testing.
Programmer parameter setup:
Check the "Off" for AutoDetection, manually select the right Device Family and Device at the left side.
Toggle the power to power up the S6E1A device on the board.
PSoC Creator and PSoC Programmer should be the latest version.
Hope this helps.
Thanks a lot for your help. I got it programmed.
Just two comments.
1) It does not work well through a USB hub. It detected, erased and programmed the chip, but failed verification. Directly connected to the PC, no problem.
2) Is there a way to do it directly from PSoC Creator. I could not find a way to disable auto-detection of the chip.
Thanks again for your help.
I just need to build up another board to check as the 1st board has gone somewhere else. I will check asap.
Please create a new discussion with referring to this thread when needed.