- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am currently trying to automate the Programming of a CYPD6125 via SWD.
Using the GUI it works perfectly fine.
In the command line it shows "Device is not in ISSP mode" when I try to Start.
I've seen someone had the same problem in this forum, but there was no solution in the thread.
I use following commands for the setup:
GetPorts
OpenPort "MiniProg3/1839CA00030B" "C:/Program Files (x86)/Cypress/Programmer/"
HEX_ReadFile "K:\\PROJEKTE\\USB-C\\Intel_EHL_CCG6_Fw_v2_0_CYPD6125.hex"
SetProtocol 8 //SWD
SetProtocolConnector 0 //5-Pin-Connector
SetAcquireMode “Reset”
SetProtocolClock 152 //1,6MHz
SetPowerVoltage 3.3
PowerOn
DAP_AcquireChip
Erase //Here the Error Shows
The CLI-User-Guide doesn't really give any further information about the behavior.
Solved! Go to Solution.
- Labels:
-
PSoC general
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Since CCG6 is a PSoC 4 based part, please try PSoC4_EraseAll command instead of Erase. You can also refer to this thread for a script to program PSoC 4 devices and check if it works for you. Please add your own .hex file path in it and the PowerOn command since you're powering the device through MiniProg3.
Best Regards,
Sananya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Since CCG6 is a PSoC 4 based part, please try PSoC4_EraseAll command instead of Erase. You can also refer to this thread for a script to program PSoC 4 devices and check if it works for you. Please add your own .hex file path in it and the PowerOn command since you're powering the device through MiniProg3.
Best Regards,
Sananya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you very much. This worked out well.