7 Replies Latest reply on Jul 28, 2017 3:49 PM by bruno.labarre

    Command Line Interface SWD Programming

    rob_phibbs_1867356

      I'm trying to automate loading of firmware on a device via SWD. In order to do so, I'm running the CLI tool from a Windows CMD prompt. Everything starts fine but when I try to "Program" the device I get this error:

         

      "Device is not in ISSP mode"

         

      I try to set the device to program via SWD (SetProtocol 8) but this does not seem to work. Is there some kind of trick I need to use to get this to work? The process works fine from the PSoC Programmer UI. When I try to script the process using the "runfile" command rather than typing into the CMD prompt I get the same error.

         

      EDIT: This is with PSoC Programmer 3.24.4