- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I have finished a development on the FM0+ evaluation board and is ready to run it on my custom hardware now.
I am however not having any joy in getting it programmed through either PSoC Creator or PSoC Programmer using a MiniProg3 programmer.
I have tried self-powered and programmer powered, but the chip is not identified. In PsoC programmer, the family and device both show PSoC5 related info.
I used the same footprint for my programming port as I always use on my PSoC boards, connecting Vdd, Vss, Reset, SWD Clock and SWD Data. SWD is set as the debug port in the System Setting in PSoC Creator.
I am using the S6E1A12B0AGP20000 chip.
Any help will be greatly appreciated.
Best regards
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I tried programming the FM0-V48-S6E1A1 with MiniProg3, I can program successfully.
This is my setup:
Hardware:
1. FM0-V48-S6E1A1 https://www.cypress.com/documentation/development-kitsboards/fm0-v48-s6e1a1-arm-cortex-m0-fm0-mcu-ev...
https://www.cypress.com/documentation/development-kitsboards/fm0-v48-s6e1a1-arm-cortex-m0-fm0-mcu-ev...2 MiniProg3 https://www.cypress.com/documentation/development-kitsboards/cy8ckit-002-psoc-miniprog3-program-and-...
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)
Software:
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:
Note:
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi RoyL
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.
Best regards.
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
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.
Regards
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I tried programming the FM0-V48-S6E1A1 with MiniProg3, I can program successfully.
This is my setup:
Hardware:
1. FM0-V48-S6E1A1 https://www.cypress.com/documentation/development-kitsboards/fm0-v48-s6e1a1-arm-cortex-m0-fm0-mcu-ev...
https://www.cypress.com/documentation/development-kitsboards/fm0-v48-s6e1a1-arm-cortex-m0-fm0-mcu-ev...2 MiniProg3 https://www.cypress.com/documentation/development-kitsboards/cy8ckit-002-psoc-miniprog3-program-and-...
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)
Software:
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:
Note:
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Roy
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.
Best regards
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1. USB hub is usually not a problem, but the length of the wire as mentioned in my last reply is.
2. What message do you see when doing it from PSoC Creator?
Setup in my success experience:
1. Debug > Select Debug Target
2. Port Setting > set up parameters
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Roy
I just need to build up another board to check as the 1st board has gone somewhere else. I will check asap.
Regards
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Chris,
Please create a new discussion with referring to this thread when needed.
Thanks
Roy