As someone doing its work under Linux only (and going to a Windows VM only when absolutely needed): I really like that. It should give me a chance to do at least the debugging directly on Linux, which would really help a lot.
Btw: Do you support all PSoC4 models (including the new PSoC4 BLE and maybe also the ProC BLE)?
Both PSoC 41xx and 42xx families are supported. PSoC 40xx is not.
PSoC4 BLE is not yet supported. I'm waiting for a BLE module, so stay tuned.
Just learing about OpenOCD. Going the other direction, does it support using MiniProg3 and/or the 042 Pioneer Kit as generic SWD adaptors?
I do not know details about protocol used between PSoC Creator / Programmer and MiniProg / Pioneer Kit. I assume it is proprietary and not published.
OpenOCD can not drive a MiniProg3 or a Pioneer Kit as a SWD adapter.
THANK YOU! This is extremely helpful to me . Where are the configs to these in the git tree? I con't find them in either master or v0.6.1 branch.
I was hoping to use a PSoC 4200 in a project, and I'm seeking a linux-friendly tool chain. I'm using Bus Pirate v3.6 with OpenOCD v0.8.0 (git) on Ubuntu Trusty, these configs will round things out for me. I'm finishing up the prototype PCB design.
Now if I can just figure out SWD flash programming...
Is PSoC4 BLE supported now?
What are you using for a SWD adapter for the supported devices?
PSoC5LP is now supported (openocd 0.10), i think there is work in progress to support the newer PSoC4 families.
To flash the CY8CKIT-049-42XX kit (PSoC 4200 device) i used a ST-Link, there's also work in progress to support KitProg as interface (i tested it with a patch on the openocd source, i used it to flash a CY8CKIT-059 kit (PSoC5LP device) ).
Hope it helps
+1 on using Kitprog or a Miniprog from Linux.
anyone tried flashing a psoc 4L via openocd + raspberry I/O's?
team-cypress: what's the easiest way to do SWD-flashing of psoc4/5s via Linux? (pref. using miniprog's)
Cypress provides a way to flash PSoC4 through SWD using GPIOs. You'll find the procedure and source code on the AN84858 Application Note.
It can be easily ported to the Raspberry Pi by modifying the GPIO mapping in SWD_PhysicalLayer.c.
However, to flash a .hex file, you first need to convert it to hexImage.c/.h using a C# application (provided in AN84858) and re-compile the HSSP application every time... It would be great to read the .hex file directly by porting the C# parser into the HSSP app.
It would be amazing if you could provide a python tool that can run on linux, mac that can do this from a .hex
The C# parser source code is provided in the Application Code. It would be great if someone could make a Python tool, or even better: load the .hex file directly from the HSSP application.