1 Reply Latest reply on Aug 28, 2017 6:20 PM by xuwenwei_1723161

    PPCLI programming for PSoC1 with Miniprog3

    xuwenwei_1723161

      hi, I need programming PSoC1 with PPCLI.exe , and I have one one Miniprog3 on hand .

      and I would like use runfile to do programming.

      but at begin when execute "Acquire" , will have error (

      Can not Acquire Device! Please verify the device connection to the Programmer

      Acquire returned 80030001

      )

      for this , I am sure the device has been connect to the programmer.

       

       

      but if I execute the command step by step as follow:

      >OpenPort MiniProg3/1707CA000523 "C:/Program Files (x86)/Cypress/Programmer"
      <
      0 OK
      >SetAcquireMode "Power"
      <
      0 OK
      >Acquire
      <
      0 OK
      >

       

      after "Acquire" OK,  then execute "runfile" command , it is no problem.

      but if I disconnect the Miniprog3 from the PC , the error for "Acquire" occur again

       

       

      can you tell me how to solove this problem?

       

       

       

      Follow is the process for PPCLI:

       

      Microsoft Windows [版本 10.0.14393]
      (c) 2016 Microsoft Corporation。保留所有权利。

      C:\Users\Administrator>cd\

      C:\>cd C:\Program Files (x86)\Cypress\Programmer

      C:\Program Files (x86)\Cypress\Programmer>ppcli
      >runfile "c:\\12.txt"
      OpenPort MiniProg3/1707CA000523 "C:/Program Files (x86)/Cypress/Programmer"
      <
      0 OK
      HEX_ReadFile "c:\\CSR_E.hex"
      <0x00004000
      0 OK
      SetAcquireMode “Power”
      <
      0 OK
      SetProtocol 2
      <
      0 OK
      SetPowerVoltage 5.0
      <
      0 OK
      Acquire
      E
      Can not Acquire Device! Please verify the device connection to the Programmer
      Acquire returned 80030001
      80030001 OK
      Calibrate
      <
      0 OK
      EraseAll
      <0x00000000
      0 OK
      Program
      <
      0 OK
      Verify
      E
      Found 0 PROTECTED blocks; 256 block(s) had errors in the remaining 256 UN-PROTECTED blocks; Device checksum 0x0000, HEX file checksum 0x8785 byte 0x3fc0
      Verify returned 8003001a
      8003001a OK
      Protect
      <
      0 OK
      VerifyProtect
      E
      Verification of "Protect Area" has FAILED!
      VerifyProtect returned 80004005
      80004005 OK
      CheckSum 0
      <0x00000000
      0 OK
      HEX_ReadChecksum
      <0x8785
      0 OK
      ReleaseChip
      <
      0 OK
      ClosePort
      <
      0 OK
      <
      0 OK

       

      >OpenPort MiniProg3/1707CA000523 "C:/Program Files (x86)/Cypress/Programmer"
      <
      0 OK
      >SetAcquireMode "Power"
      <
      0 OK
      >Acquire
      <
      0 OK
      >