Miniprog 4 & CLI /ppcli.exe OpenPort Fehler

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
KlMu_4151301
Level 1
Level 1

Hallo Zusammen,

wir möchten den Minprog 4 über das CLI Interface ansteuern.

Das Öffnen des Ports mit dem OpenPort-Befehl scheitert aber.

Hier die Meldung von der ppcli.exe...

Can not open port "MiniProg4". It is not connected.

OpenPort MiniProg4 (CMSIS-DAP/BULK/0F0317C800287400) . returned 80004005

80004005 OK
GetPorts liefert folgrendes ...
C:\Program Files (x86)\Cypress\Programmer\ppcli.exe "--GetPorts" --quit

MiniProg4 (CMSIS-DAP/BULK/0F0317C800287400)

MiniProg4 (Bridge/0F0317C800287400)

0 OK

<OK

Hat jemand eine Ahnung was hier falsch laufen könnte ?

Über die Programmer-Software können wir programmieren und wir nutzen die allerneuste Software (PSoCProgrammerSetup_3.28.6_b4409.exe)

Danke !

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.

Hi KlMu_4151301,

Can you please let me know if there is any particular reason why you would want to run the API by providing commands to the ppcli?

This method is throwing an error as it finds a space in between the MiniProg4 port name and the conflict between the " " signs.

Can you try passing a script file to ppcli instead? I have attached a script file with the 3 commands. Please modify the script file accordingly.

You can pass the file to ppcli using the command -

ppcli "--runfile script.cli"

pastedImage_0.png

Hope this helps,

Thanks and Regards,

Rakshith M B

Thanks and Regards,
Rakshith M B

View solution in original post

5 Replies