2 Replies Latest reply on Jun 22, 2020 7:17 PM by chfe_4430606

    Can't DAP_Acquire success after PSoC4_WriteProtection

    chfe_4430606

      Dear all,

       

      I can't connect my chip by DAP_Acquire command after I set the fully protect for some flash row

      Commands like this:

      OpenPort MiniProg3/123456789ABC .

      SetAcquireMode "Reset"

      SetProtocol 8

      SetProtocolClock 16

      SetProtocolConnector 0

      SetPowerVoltage 3.3

      DAP_Acquire

      PSoC4_WriteProtection 2 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255  255  255  255  0 0 0 0

      DAP_ReleaseChip

      ClosePort

       

      After that, I try to reconnect with Chip but got some error message:

      OpenPort MiniProg3/123456789ABC .

      SetAcquireMode "Reset"

      SetProtocol 8

      SetProtocolClock 16

      SetProtocolConnector 0

      SetPowerVoltage 3.3

      DAP_Acquire

      E

      PSoC device is not acquired! Check connection of the chip to the programmer

      DAP_Acquire returned 80004005

      80004005 OK

       

      But after I replugging the MiniProg3 then DAP_Acquire will succeed.

      Is it possible to let me no need to replugging the MiniProg3 after open fully protect?

       

      Thank you!

      Best Regards,

      Chihao.