Oh yes, version 2 of KitProg complicates it further as the USB protocol
substantially differs.
I'm not aware of any documentation on it - ask Cypress.
Are you volunteer to implement KitProg2 protocol in OpenOCD?
BTW KitProg(1) driver was reverse engineered, no doc as well.
Although not working 'reset halt' does not mean you cannot use OpenOCD.
I usually use KitProg2 in CMSIS-DAP mode. Of course you should avoid
to do some setting which can potentially block SWD (GPIO on SWD pins and
CPU clock)
too early - a half second delay at very beginning of main() is a good
safety measure.
Another idea is to buy a cheap ($10) CY8CKIT-043 (PSoC4M) or CY8CKIT-059
(PSoC5LP),
break off the KitProg part and use it as an external adapter.
Tom
On 18.12.2017 13:51, Thomas Sailer wrote:
Hi Tomas,
Thanks for the link to this change. I am now trying it with a
PSoC4A-S2. With a generic debug adapter it doesn't work because it
cannot stop the CPU quickly enough and the test mode register
workaround doesn't work anymore. So I was trying to use the KitProg2
on the Pioneer kit. Unfortunately this doesn't work out of the box.
KitProg2 doesn't seem to have the bulk interface KitProg has and the
OpenOCD driver seems to want to claim.
I would like to get KitProg2 supported, have you seen any
documentation about its protocol? Or do you know of an existing driver?
Thanks,
Thomas
On 11/22/2017 08:20 AM, Tomas Vanek wrote:
On 22.11.2017 1:47, Thomas Sailer wrote:
do you know whether your PSoC4 flash driver supports the 4S devices?
If not what would be needed to make it work?
Both the latest release 0.10 and git master support only the oldest
PSoC4 without suffix.
There is a pending change http://openocd.zylin.com/3807
waiting almost a year for a positive review from a tester.
The change was not tested specifically on 4S but should work on all
PSoC4.
Please be sure to give a review if you test the change.
Tom
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel