You can get scripts to program the chip in PERL OR PYTHON or C++ whic will be provided at this location in your system.
C:\Program Files (x86)\Cypress\Programmer\Examples\Programming\PSoC3_5\SWD
You can refer this App Note too-
Thank Anks, I have got scripts to program chips Cortex in c#, they works, but I am looking for hex-code to program a clear chip CY8C5868LTI-LP038 to use it in my own programmer
You can get Kitprog or kitprog2 hex code at this path in your system-
C:\Program Files (x86)\Cypress\Programmer
Thank Anks! I found it on other PC, there weren't hex codes on my PC I do not know why