Cypress PSoC Creator - Debian

back to main PSoC Creator page.

local links

bb - BeeBox-S

History

2019-02-25: bb - test PSoC Creator

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest4 wine 'c:\program files\cypress\psoc creator\4.2\psoc creator\bin\psoc_creator'

nope, same problem, the project menu is greyed out as before.

2019-02-25: bb - install PSoC Creator

tingo@kg-bsbox:~/Desktop$ cd ~/doc/Cypress/CY8CKIT-059/sw_win
tingo@kg-bsbox:~/doc/Cypress/CY8CKIT-059/sw_win$ WINEPREFIX=$HOME/.wine/psoctest4 wine ./PSoCCreatorSetup_4.2_es100_b641.exe

and end session

tingo@kg-bsbox:~/doc/Cypress/CY8CKIT-059/sw_win$ WINEPREFIX=$HOME/.wine/psoctest4 wineboot -e

ok

2019-02-25: bb - install dotnet20sp2

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest4 winetricks dotnet20sp2

install dotnet40

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest4 winetricks dotnet40

install vcrun2013

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest4 winetricks vcrun2013

install gdiplus_winxp

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest4 winetricks gdiplus_winxp

install wine-gecko

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest4 msiexec /i ~/dl/wine/wine_gecko-2.47-x86.msi

list installed

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest4 winetricks list-installed
Using winetricks 20170101 - sha1sum: c844fda0cca25ac9ed0ed1b55cd138cab6a4af16 with wine-4.0 (Debian 4.0-1~bpo9+2) and WINEARCH=win32
dotnet20sp2
dotnet40
gdiplus
gdiplus_winxp
vcrun2013

ok

2019-02-25: bb - since I now have wine 4.0 on my box, try to get PSoC Creator working again. Set up a new bottle

tingo@kg-bsbox:~$ WINEARCH=win32 WINEPREFIX=$HOME/.wine/psoctest4 winecfg

ok

2019-01-07: bb - try to start PSoC Creator

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest3 wine 'c:\program files\cypress\psoc creator\4.2\psoc creator\bin\psoc_creator'
[..]

ok, it starts, but the project menu is greyed out, as before. Crap :-/

2019-01-07: bb - try to install PSoC Creator

tingo@kg-bsbox:/zs/tingo/doc/Cypress/CY8CKIT-059/sw_win$ WINEPREFIX=$HOME/.wine/psoctest3 wine ./PSoCCreatorSetup_4.2_es100_b641.exe
[..]

it claims that dotnet20sp2 is not installed. try to reinstall it

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest3 winetricks dotnet20sp2
Using winetricks 20170101 - sha1sum: c844fda0cca25ac9ed0ed1b55cd138cab6a4af16 with wine-3.0.3 (Debian 3.0.3-2~bpo9+1) and WINEARCH=win32
[..]
The .NET Runtime Optimization Service is running.
Setting Windows version to winxp
Executing winetricks_early_wine regedit C:\windows\Temp\_dotnet20sp2\set-winver.reg

ok, now it says installed. good. Try PSoC Creator again

tingo@kg-bsbox:~/doc/Cypress/CY8CKIT-059/sw_win$ WINEPREFIX=$HOME/.wine/psoctest3 wine ./PSoCCreatorSetup_4.2_es100_b641.exe
[..]

ok, it installed. Next, winetricks install gdiplus_winxp

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest3 winetricks gdiplus_winxp
[..]
Using native override for following DLLs: gdiplus
Executing winetricks_early_wine regedit C:\windows\Temp\_gdiplus_winxp\override-dll.reg

ok

2019-01-07: bb - Wine -set up a new bottle for testing

tingo@kg-bsbox:~$ WINEARCH=win32 WINEPREFIX=$HOME/.wine/psoctest3 winecfg
wine: created the configuration directory '/home/tingo/.wine/psoctest3'
[..]
Could not load wine-gecko. HTML rendering will be disabled.
wine: configuration in '/home/tingo/.wine/psoctest3' has been updated.

install wine-gecko

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest3 msiexec /i ~/dl/wine/wine_gecko-2.47-x86.msi
0009:err:mscoree:LoadLibraryShim error reading registry key for installroot
0009:err:mscoree:LoadLibraryShim error reading registry key for installroot
0009:err:mscoree:LoadLibraryShim error reading registry key for installroot
0009:err:mscoree:LoadLibraryShim error reading registry key for installroot

winetricks install dotnet20sp2

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest3 winetricks dotnet20sp2
[..]
Executing winetricks_early_wine regedit C:\windows\Temp\_dotnet20sp2\set-winver.reg
------------------------------------------------------
dotnet20sp2 install completed, but installed file /home/tingo/.wine/psoctest3/dosdevices/c:/windows/winsxs/manifests/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.3053_x-ww_b80fa8ca.cat not found
------------------------------------------------------

install vcrun2013

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest3 winetricks vcrun2013
Using winetricks 20170101 - sha1sum: c844fda0cca25ac9ed0ed1b55cd138cab6a4af16 with wine-3.0.3 (Debian 3.0.3-2~bpo9+1) and WINEARCH=win32
Executing w_do_call vcrun2013
Executing load_vcrun2013
Using native,builtin override for following DLLs: atl120 msvcp120 msvcr120 vcomp120
Executing winetricks_early_wine regedit C:\windows\Temp\_vcrun2013\override-dll.reg
Executing cd /home/tingo/.cache/winetricks/vcrun2013
Executing wine vcredist_x86.exe

install dotnet40

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest3 winetricks dotnet40
[..]
Using native override for following DLLs: mscoree
Executing winetricks_early_wine regedit C:\windows\Temp\_dotnet40\override-dll.reg
The operation completed successfully
The operation completed successfully

list installed

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest3 winetricks list-installed
Using winetricks 20170101 - sha1sum: c844fda0cca25ac9ed0ed1b55cd138cab6a4af16 with wine-3.0.3 (Debian 3.0.3-2~bpo9+1) and WINEARCH=win32
dotnet20
dotnet40
vcrun2013

ok

2019-01-07: bb - Wine - the following version are installed

tingo@kg-bsbox:~$ sudo apt list --installed wine*
Listing... Done
wine/stretch-backports,stretch-backports,now 3.0.3-2~bpo9+1 all [installed]
wine32/stretch-backports,now 3.0.3-2~bpo9+1 i386 [installed]
wine64/stretch-backports,now 3.0.3-2~bpo9+1 amd64 [installed]
winetricks/stable,stable,now 0.0+20170101-1 all [installed]

ok

2019-01-07: bb - Debian version

tingo@kg-bsbox:~$ cat /etc/debian_version
9.6
tingo@kg-bsbox:~$ lsb_release -a
No LSB modules are available.
Distributor ID:    Debian
Description:    Debian GNU/Linux 9.6 (stretch)
Release:    9.6
Codename:    stretch

ok.

2019-01-04: other tools - Programmer ClockProgrammer

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest2 wine "/home/tingo/.wine/psoctest2/drive_c/Program Files/Cypress/Programmer/ClockProgrammer.exe"
01c0:err:ole:CoGetContextToken apartment not initialised
01da:err:ole:marshal_object Failed to create an IRpcStubBuffer from IPSFactory for {b196b28f-bab4-101a-b69c-00aa00341d07} with error 0x80004002
01d1:err:ole:ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface failed with error 0x80004002
wine: Call from 0x7b43c55c to unimplemented function hid.dll.HidD_Hello, aborting
failed

ppcli

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest2 wine "/home/tingo/.wine/psoctest2/drive_c/Program Files/Cypress/Programmer/ppcli.exe"
wine: Call from 0x7b43c55c to unimplemented function hid.dll.HidD_Hello, aborting
wine: Unimplemented function hid.dll.HidD_Hello called at address 0x7efd0023:0x7b43c55c (thread 01e5), starting debugger...
failed

PSoCProgrammer

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest2 wine "/home/tingo/.wine/psoctest2/drive_c/Program Files/Cypress/Programmer/PSoCProgrammer.exe"
01b2:err:ole:CoGetContextToken apartment not initialised
01b3:err:ole:marshal_object Failed to create an IRpcStubBuffer from IPSFactory for {b196b28f-bab4-101a-b69c-00aa00341d07} with error 0x80004002
01af:err:ole:ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface failed with error 0x80004002
wine: Call from 0x7b43c55c to unimplemented function hid.dll.HidD_Hello, aborting
failed

PSOCProgrammerCOM

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest2 wine "/home/tingo/.wine/psoctest2/drive_c/Program Files/Cypress/Programmer/PSoCProgrammerCOM.exe"
cannot be run directly - start from client app

RgMp3Service

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest2 wine "/home/tingo/.wine/psoctest2/drive_c/Program Files/Cypress/Programmer/RegMp3Service.exe"
01fa:err:ole:CoGetContextToken apartment not initialised

needs argument, let's try

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest2 wine "/home/tingo/.wine/psoctest2/drive_c/Program Files/Cypress/Programmer/RegMp3Service.exe" /regserver 3.11.0.703 /s

nope CyMiniProg3Service

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest2 wine "/home/tingo/.wine/psoctest2/drive_c/Program Files/Cypress/Programmer/Service/CyMiniProg3Service.exe"

this one just hangs here PRoC_UI_Programmer

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest2 wine "/home/tingo/.wine/psoctest2/drive_c/Program Files/Cypress/Programmer/PRoC_UI_Programmer/PRoC_UI_Programmer.exe"
0048:err:ole:CoGetContextToken apartment not initialised
004e:err:ole:marshal_object Failed to create an IRpcStubBuffer from IPSFactory for {b196b28f-bab4-101a-b69c-00aa00341d07} with error 0x80004002
0046:err:ole:ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface failed with error 0x80004002
wine: Call from 0x7b43c55c to unimplemented function hid.dll.HidD_Hello, aborting

fails, can not contact the COM component, even if it is running

2019-01-04: command line tools fitter

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest2 wine "/home/tingo/.wine/psoctest2/drive_c/Program Files/Cypress/PSoC Creator/4.2/PSoC Creator/bin/cydsfit.exe"
003d:err:ole:CoGetContextToken apartment not initialised
Error: fit.M0039: The fitter's command line did not include the required argument "-p <project name>". Provide the required argument on the command line and rerun the build. (App=cydsfit)
Error: fit.M0050: The fitter aborted due to errors, please address all errors and rebuild. (App=cydsfit)

cyfitter_fm

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest2 wine "/home/tingo/.wine/psoctest2/drive_c/Program Files/Cypress/PSoC Creator/4.2/PSoC Creator/bin/cyfitter_fm.exe"
0050:err:ole:CoGetContextToken apartment not initialised
Error: fit.M0039: The fitter's command line did not include the required argument "-p <project name>". Provide the required argument on the command line and rerun the build. (App=cyfitter_fm)
Error: fit.M0050: The fitter aborted due to errors, please address all errors and rebuild. (App=cyfitter_fm)

elftool

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest2 wine "/home/tingo/.wine/psoctest2/drive_c/Program Files/Cypress/PSoC Creator/4.2/PSoC Creator/bin/cyelftool.exe"
Usage:

Display help:
   cyelftool -h/--help
Display version information:
   cyelftool -V/--version
Display Flash/SRAM size information:
   cyelftool -S/--size
Update checksum and metadata:
   cyelftool -C/--checksum file.elf --flash_size <num> --flash_row_size <num>
             [--flash_offset <addr>]
Update checksum, bootloader checksum, and bootloader size:
   cyelftool -P file.elf --flash_size <num> --flash_row_size <num>
             --size_var_name <name> --checksum_var_name <name> [--ignore <num>]
Generate cybootloader.c and linker configuration file:
   cyelftool -E/--extract_bootloader file.elf --flash_size <num>
             --flash_row_size <num>
Create bootloadable output file:
   cyelftool -B/--build_bootloadable file.elf --flash_size <num>
             --flash_array_size <num> --flash_row_size <num>
             [--ee_row_size <num> --ee_array <num>]
             [--offset]
Create combined multi-application bootloader file:
   cyelftool -M/--multiapp_merge app1.elf app2.elf output.hex
             --flash_size <num> --flash_row_size <num>
             [--ee_row_size <num> --ee_array <num>]
Create LD include file with provides directives for selected symbols
   cyelftool -R/--shared_code_provides file.elf symlist.txt output_file --toolchain <toolchain>
   cyelftool -A/--rename_symbols symbolFile renameFile

cyhextool

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest2 wine "/home/tingo/.wine/psoctest2/drive_c/Program Files/Cypress/PSoC Creator/4.2/PSoC Creator/bin/cyhextool.exe"
cyhextool -f in1.hex[=START:LEN[:OFFSET]][,...] -id XXXXXXXX  -o out.hex
    [-ecc <ON|ecc.hex>] [-cunv XXXXXXXX] [-wonv XXXXXXXX] [-meta XXXX]
    [-ee eeprom.hex] [-prot protect.dat] [-a ADDR1=XXXXXXXX[:SIZE],...]
    [-acdEnd <l|b>] [-blcks checkSumAddr.txt] [-chipProt XX]
Output file required (-o)

cyoptimizesetup

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest2 wine "/home/tingo/.wine/psoctest2/drive_c/Program Files/Cypress/PSoC Creator/4.2/PSoC Creator/bin/cyoptimizesetup.exe"
Error: Invalid number of arguments, expected install, uninstall, or, customizer.

try customizer

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest2 wine "/home/tingo/.wine/psoctest2/drive_c/Program Files/Cypress/PSoC Creator/4.2/PSoC Creator/bin/cyoptimizesetup.exe" customizer
Found customizer build command line: -ignoreDepsWarning -w "..\psoc\content\CyComponentLibrary\CyComponentLibrary.cylib\..\CyComponentLibrary.cywrk" -prj CyComponentLibrary -noCustBuild -noRefresh -buildPreCompCust "..\psoc\content\CyComponentLibrary\CyComponentLibrary.cylib\CyComponentLibrary.cyprj"
Found customizer build command line: -ignoreDepsWarning -w "..\psoc\content\CyComponentLibraryUpdates\CyComponentLibraryUpdates.cylib\..\CyComponentLibraryUpdates.cywrk" -prj CyComponentLibraryUpdates -noCustBuild -noRefresh -buildPreCompCust "..\psoc\content\CyComponentLibraryUpdates\CyComponentLibraryUpdates.cylib\CyComponentLibraryUpdates.cyprj"
Found customizer build command line: -ignoreDepsWarning -w "..\psoc\content\CyPrimitives\CyPrimitives.cylib\..\CyPrimitives.cywrk" -prj CyPrimitives -noCustBuild -noRefresh -buildPreCompCust "..\psoc\content\CyPrimitives\CyPrimitives.cylib\CyPrimitives.cyprj"
006f:err:ole:CoGetContextToken apartment not initialised
009e:err:ole:CoGetContextToken apartment not initialised
00ad:err:ole:CoGetContextToken apartment not initialised

it did something .. maybe cyprjmgr

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest2 wine "/home/tingo/.wine/psoctest2/drive_c/Program Files/Cypress/PSoC Creator/4.2/PSoC Creator/bin/cyprjmgr.exe"
0091:err:ole:CoGetContextToken apartment not initialised
Error: mgr.M0027: No arguments passed (App=cyprjmgr)

cyprjmgr [-h] [-ver] [-wrk <workspace_name>] [-clean] [-build] [-rebuild] [-apigen]
[-archive <archive_level> <archive_as_zip>] [-t <toolchain>] [-c <config>]
[-p <TopProject>] [-n <TopDesign>] [-d <selectedDev>]
[-m <paramsFile>] [-import <Source_Project> <Source_Component>]
[-rename <component_name> <new_name>] [-delete <component_name>]
[-exclude <component_name>] [-l <NewPrjName>]
[-s] [-v <visibility>] [-prj <Target_Project>] [-cmp <Target_Component>]
[-addprj <prj_path>] [-cp <path>] [-con <Target_Project>] [-batch <file_name>]
[-updateComp <source_project> <source_component>] [-updatePrj <source_project>]
[-updateInst] [-updateDWInst] [-forceWrite] [-noCustBuild] [-noRefresh]
[-ol <compiler optimization level>] [-warn <High|Low|None>]
[-buildPreCompCust <Project>] [-updateInstIfNeeded]
[-ignoreDepsWarning] [-allowIllegalUpdates] [-export <IDE>] [-pdlPath <path>]

The following options are tool wide:
     -h       Displays this help message
     -ver     Displays the version and build number of cyprjmgr

The following options apply to the chosen workspace:
     -wrk, -w Specifies the workspace to be used
     -prj     Specifies the target project on which all the command line
              options will be targeted. In case target project is not
              specified, Top Project of the workspace becomes the target
              project
     -p       Sets the Top Project in the workspace
     -cmp, -o Specifies the target component on which all the library options
              will be targeted. In case target component is not specified,
              the Top Block of the Target Project becomes the Target Component
     -addprj  Adds an existing project <prj_path> to the workspace
     -l       Adds a new empty library project with name <NewPrjName> to the
              workspace
     -d       Sets the selected device of projects to be built
     -cp      Copies the entire workspace to the location specified by
              <path>, all command line options will act on the copy created

The following four options target the entire workspace unless the
target project is set with -prj:
     -clean   Cleans the workspace/project
     -build   Builds the workspace/project
     -rebuild Rebuilds the workspace/project
     -apigen  Generate APIs for the workspace/project
     -archive Archives the workspace/project with different archiver levels
              (complete/typical), and as zip or nozip

The following options apply to the target project:
     -t       Sets the tool chain the action should use (Keil, ARM etc.)
     -c       Sets configuration the action should use (Debug, Release)
     -ol      Sets compiler optimization level
     -warn    Sets compiler warning level
     -n       Sets the Top Design of the Top Project
     -m       Parameters file that will override the default parameter values
              of the schematic in the TopDesign of the Top Project
     -import  Imports the Source Component from the Source Project into the 
              target project of the workspace
     -rename  Renames component_name in target project of the workspace to  
              new_name
     -delete  Deletes component from the disc
     -exclude Excludes component from the target project of the workspace
     -s       Lists the external dependencies of the target project
     -v       Sets the visibility of the target component to true/false
     -con     Checks the consistency of the target project of the workspace
     -batch   Reads a file containing a series of commands, one on each line.
              Executes the commands one by one. When batch option is used, all
              other optional switches are ignored
 -updateComp  Updates a component in the Target Project from the source project
 -updatePrj   Updates the Target Project from the Source Project
 -updateInst  Updates the instances on the schematic with the latest components
 -forceWrite  Makes read-only files writable and then makes the change
 -noCustBuild Delay building of customizer DLLs until the end (e.g., during
              imports)
 -noRefresh   Disable updates from the refresh manager (Use with extreme care)
 -buildPreCompCust Build customizer for a project
 -updateDWInst Updates the design-wide instances with the latest components
-updateInstIfNeeded Update instances to minimum valid version
-ignoreDepsWarning Suppress SystemDepNotFoundOnDisk warning while building
                   primitives
-allowIllegalUpdates Allows updating instances to latest version, even if illegal
     -export  Exports the project to the target IDE. Valid targets are EWA, Eclipse and uVision
-generateDescFiles       For all specified projects that have 'Generate description files'
                         enabled, generates the description files.
-verifyDescFileEnabled   Verifies that all specified projects have 'Generate description files' enabled.
-verifyDescFileContents  Verifies that all specified projects (that have 'Generate description
                         files' enabled) have generated files that are in-sync with the current
                         version of their source files.
     -pdlPath Sets the path to the PDL file for the project

that one looks useful psoc debugger

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest2 wine "/home/tingo/.wine/psoctest2/drive_c/Program Files/Cypress/PSoC Creator/4.2/PSoC Creator/bin/cypsocdebugger.exe"
008c:err:ole:marshal_object Failed to create an IRpcStubBuffer from IPSFactory for {b196b28f-bab4-101a-b69c-00aa00341d07} with error 0x80004002
00b6:err:ole:ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface failed with error 0x80004002
wine: Call from 0x7b43c55c to unimplemented function hid.dll.HidD_Hello, aborting
Usage: -t TRANSPORT [-pin CYD2STUB_PIPE -pout STUB2CYD_PIPE] [-e ENDIAN] [-p PORTSETTING1 [PORTSETTING2 ...]] [-jtag JTAGDEVICE [JTAGDEVICE ...]]

cysjtools

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest2 wine "/home/tingo/.wine/psoctest2/drive_c/Program Files/Cypress/PSoC Creator/4.2/PSoC Creator/bin/cysjtools.exe"
Usage: cysjtools -p <project.cyprj> [options]
    -h                        Print help and exit
    -p <project>              Project file (required)
    -first <phase>            First phase to execute
    -last <phase>             Last phase to execute
    -skip <phase1,phase2,...> List of phases to skip

cysymboladdressfinder

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest2 wine "/home/tingo/.wine/psoctest2/drive_c/Program Files/Cypress/PSoC Creator/4.2/PSoC Creator/bin/cysymboladdressfinder.exe"
No elf file target was provided. Use the -f switch to provide the required file path.
cysymboladdressfinder -f <elffile> -s <symbol> [-p <outputfile>] [-l]

    -f <elffile>      Specify the name of elf file whose symbols we will search.
    -s <symbol>       Specify the name of the symbol whose address we are finding.
    -p <outputfile>   Specify the name of the file to print the results to.
    -l <base addr>    Indicates that the provided base addr should be stripped out.

cyvalidateide

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest2 wine "/home/tingo/.wine/psoctest2/drive_c/Program Files/Cypress/PSoC Creator/4.2/PSoC Creator/bin/cyvalidateide.exe"
USAGE: cyidevalidate.exe
    -ide [IDE Project to validate]
    -dev [Target device name]
    -flsAddr [Flash start address]
    -flsAddr [Flash size]
    -flsAddr [SRAM start address]
    -flsAddr [SRAM size]

mkdepend

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest2 wine "/home/tingo/.wine/psoctest2/drive_c/Program Files/Cypress/PSoC Creator/4.2/PSoC Creator/bin/mkdepend.exe"
tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest2 wine "/home/tingo/.wine/psoctest2/drive_c/Program Files/Cypress/PSoC Creator/4.2/PSoC Creator/bin/mkdepend.exe" --help
tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest2 wine "/home/tingo/.wine/psoctest2/drive_c/Program Files/Cypress/PSoC Creator/4.2/PSoC Creator/bin/mkdepend.exe" -?
C:\Program Files\Cypress\PSoC Creator\4.2\PSoC Creator\bin\mkdepend.exe: error:  unknown opt = -?

sjplacer

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest2 wine "/home/tingo/.wine/psoctest2/drive_c/Program Files/Cypress/PSoC Creator/4.2/PSoC Creator/bin/sjplacer.exe"
E2001: Missing mandatory command-line parameter: "netlist-vh2".
E2001: Missing mandatory command-line parameter: "arch-file".
E2001: Missing mandatory command-line parameter: "rrg-file".
E2001: Missing mandatory command-line parameter: "irq-file".
E2001: Missing mandatory command-line parameter: "dsi-conn-file".
E2001: Missing mandatory command-line parameter: "pins-file".

Compulsory Options:
  --netlist-vh2 arg     Vh2 netlist file
  --arch-file arg       Architecture file name
  --arch arg            Architecture name
  --rrg-file arg        RRG file name
  --dsi-conn-file arg   DSI file name
  --irq-file arg        Interrupt file name
  --drq-file arg        DMA file name
  --pins-file arg       IO data file name
  --ip-file arg         IP block parameter file

Optional Options:
  -h [ --help ]               Print this help and exit
  -v [ --version ]            Display the version of tool and exit.
  --pack-only                 Stop after CLB packing
  -g [ --global-place-only ]  Stop after global placement. don't do refinement
  -p [ --pack-area ]          Pack for dense area. Default is for timing.
  -d [ --dist-ios ]           Distribute ios across banks equaly.
  -r [ --relax-pins ]         Relax fixed pin forces in QP.
  -c [ --crit-paths ]         Dump timing summary of critical paths.
  -t [ --delay-table ]        Use delay table instead of using delay formula.
  --congestion                Use congestion coefficient.
  --no-congestion             Do not use congestion coefficient (default).
  -V [ --verbose ]            Display verbose messages.
  --legacy-udb-reset          Use old UDB reset scheme.

Options for Optional file input:
  --package arg         Package to be used
  --defparam-file arg   Defparam file name to extract product terms of macro
                        cell
  --lib-file arg        library file name
  --sdc-file arg        Sdc file name
  --io-pcf arg          Placement coordinate file for io pads
  --io2core-file arg    IO to Core delay file
  --core2core-file arg  Core to Core delay file
  --pcf arg             Placement coordinate file from other placement run For
                        comparison purpose
  --proj-name arg       Project name. Or filename which will used to genenerate
                        output file names
  --outdir arg          Output directory name
  --param-file arg      Tuning parameters file name
  --redo-io arg         If set, timing driven IO placement after QP is run
                        followed by an extra pass of QP
  --seed arg            Seed value for random number generator used in
                        simulated annealing
  --effort_level arg    effort level. Legal values: std, mid, high. Default is
                        std.

sjrouter

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest2 wine "/home/tingo/.wine/psoctest2/drive_c/Program Files/Cypress/PSoC Creator/4.2/PSoC Creator/bin/sjrouter.exe"

Compulsory Options:
  --xml-path arg        architecture xml file path
  --vh2-path arg        design vh2 file path
  --pcf-path arg        pcf file path
  --des-name arg        design name

Optional File Options:
  --lib-path arg        liberty file path
  --sdc-path arg        sdc file path
  --dsf-path arg        disable switches file path
  -o [ --outdir ] arg   output directory name

Router Algorithm Options:
  -B [ --gen_best_tr ]                  write first iteration timing report
  -S [ --delay_scale ] arg (=1)         scale factor for routing delays
  -I [ --max_iteration ] arg (=200)     maximum routing iterations
  -H [ --history_factor ] arg (=0.23)   history factor for congested resources
  -U [ --use_factor_init ] arg (=0.8)   initial value for use factor
  -M [ --use_factor_mult ] arg (=1.1)   multiplication factor for use factor
                                        scaling
  -C [ --min_congestion_factor ] arg (=1e-5)
                                        minimum weight for congestion

Miscellaneous Options:
  -h [ --help ]         print this help and exit
  -v [ --version ]      display the version of tool and exit.
  -V [ --verbose ]      print all messages on screen

finally cyuvdriverinstaller

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest2 wine "/home/tingo/.wine/psoctest2/drive_c/Program Files/Cypress/PSoC Creator/4.2/PSoC Creator/bin/cyuvdriverinstaller.exe"
00fd:err:ole:CoGetContextToken apartment not initialised

ok, installs (or registers) MiniProg3/KitProg drivers with mikro (my)Vision (from Keil?)

2019-01-04: PSoC Creator - I can not open a project or create a new project - all project related menus are greyed-out (inactive). Crap.

2019-01-04: wine - winetricks install gdiplus_winxp

tingo@kg-bsbox:/zs/tingo/doc/Cypress/CY8CKIT-059/sw_win$ WINEPREFIX=$HOME/.wine/psoctest2 winetricks gdiplus_winxp
Using winetricks 20170101 - sha1sum: c844fda0cca25ac9ed0ed1b55cd138cab6a4af16 with wine-3.0.3 (Debian 3.0.3-2~bpo9+1) and WINEARCH=win32
Executing w_do_call gdiplus_winxp
Executing load_gdiplus_winxp
------------------------------------------------------
Please download NDP1.0sp2-KB830348-X86-Enu.exe from http://download.cnet.com/NET-Framework-1-0-GDIPLUS-DLL-Security-Update/3000-10250_4-10732223.html, place it in /home/tingo/.cache/winetricks/gdiplus_winxp, then re-run this script.
------------------------------------------------------
tingo@kg-bsbox:/zs/tingo/doc/Cypress/CY8CKIT-059/sw_win$ WINEPREFIX=$HOME/.wine/psoctest2 winetricks gdiplus_winxp
Using winetricks 20170101 - sha1sum: c844fda0cca25ac9ed0ed1b55cd138cab6a4af16 with wine-3.0.3 (Debian 3.0.3-2~bpo9+1) and WINEARCH=win32
Executing w_do_call gdiplus_winxp
Executing load_gdiplus_winxp
Executing cd /home/tingo/.cache/winetricks/gdiplus_winxp
Executing cabextract -q -d /home/tingo/.wine/psoctest2/dosdevices/c:/windows/temp/_gdiplus_winxp -F FL_gdiplus_dll_____X86.3643236F_FC70_11D3_A536_0090278A1BB8 /home/tingo/.cache/winetricks/gdiplus_winxp/NDP1.0sp2-KB830348-X86-Enu.exe
Executing cp /home/tingo/.wine/psoctest2/dosdevices/c:/windows/temp/_gdiplus_winxp/FL_gdiplus_dll_____X86.3643236F_FC70_11D3_A536_0090278A1BB8 /home/tingo/.wine/psoctest2/dosdevices/c:/windows/system32/gdiplus.dll
Using native override for following DLLs: gdiplus
Executing winetricks_early_wine regedit C:\windows\Temp\_gdiplus_winxp\override-dll.reg

does that help with performance? Yes it does.

2019-01-04: PSoC Creator - does it work? Yes, I can open a *.cysh file with it, but then it is slow as molasses.

2019-01-04: wine - test install PSoC Creator 4.2. First create a win32 WINEPREFIX

tingo@kg-bsbox:/zs/tingo/doc/Cypress/CY8CKIT-059/sw_win$ WINEARCH=win32 WINEPREFIX=$HOME/.wine/psoctest2 winecfg

install prerequisites

tingo@kg-bsbox:/zs/tingo/doc/Cypress/CY8CKIT-059/sw_win$ WINEPREFIX=$HOME/.wine/psoctest2 winetricks dotnet40 vcrun2013
tingo@kg-bsbox:/zs/tingo/doc/Cypress/CY8CKIT-059/sw_win$ WINEPREFIX=$HOME/.wine/psoctest2 winetricks dotnet20sp2

for some reason, I had to try 2 times to get dotnet20sp2 to install install PSoC Creator

tingo@kg-bsbox:/zs/tingo/doc/Cypress/CY8CKIT-059/sw_win$ WINEPREFIX=$HOME/.wine/psoctest2 wine ./PSoCCreatorSetup_4.2_es100_b641.exe

now, will it work?

tingo@kg-bsbox:/zs/tingo/doc/Cypress/CY8CKIT-059/sw_win$ WINEPREFIX=$HOME/.wine/psoctest2 wine "/home/tingo/.wine/psoctest2/drive_c/Program Files/Cypress/PSoC Creator/4.2/PSoC Creator/bin/psoc_creator.exe"

it complains about missing wine-gecko, but it runs (well, starts up at least). Nice! install corefonts as well

tingo@kg-bsbox:/zs/tingo/doc/Cypress/CY8CKIT-059/sw_win$ WINEPREFIX=$HOME/.wine/psoctest2 winetricks corefonts

that doesn't help, psoc_creator still complains about missing fonts

Unhandled Exception: System.ArgumentException: The property 'PlainText' could not be created from it's default value. Error message: Font 'Microsoft Sans Serif' cannot be found.

I tried setting up a font substitution with regedit

tingo@kg-bsbox:/zs/tingo/doc/Cypress/CY8CKIT-059/sw_win$ WINEPREFIX=$HOME/.wine/psoctest2 wine regedit

in HKLM/Microsoft/Windows NT/CurrentVersion/Fontsubstitutes but it didn't help. Tried deleting

HKLM\Software\Microsoft\Windows\Current Version\Fonts\MS Sans Serif
HKLM\Software\Microsoft\Windows\Current Version\Fonts\MS Serif
HKLM\Software\Microsoft\Windows NT\Current Version\Fonts\MS Sans Serif
HKLM\Software\Microsoft\Windows NT\Current Version\Fonts\MS Serif

that too didn't help. Killed the wineserver

tingo@kg-bsbox:~$ WINEPREFIX=$HOME/.wine/psoctest2 wineserver --kill

no, doesn't help.