SWD with external reset

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • SWD with external reset

      I am trying to understand if the SWD interface on my J-Link can work when the processor reset control is managed via an external reset/voltage monitor.

      The SWD reset is connected to this reset IC which when pulled via the J-Link resets the processor but also extends the reset for approx 140mS.

      I think this is interfering with the J-Link connect sequence as I get:

      JLinkExe -SelectEmuBySN 50117373 -device EFM32HG210F64 -if SWD -speed 4000
      SEGGER J-Link Commander V6.52b (Compiled Oct8 2019 12:41:03)
      DLL version V6.52b, compiled Oct8 2019 12:40:51

      Connecting to J-Link via USB...O.K.
      Firmware: J-Link V10 compiled Oct8 2019 12:07:08
      Hardware version: V10.10
      S/N: 50117373
      License(s): GDB
      VTref=3.412V

      Type "connect" to establish a target connection, '?' for help
      J-Link>connect
      Device "EFM32HG210F64" selected.

      Connecting to target via SWD

      ****** Error: ResetTarget(): PCode returned with error code 1

      ****** Error: ResetTarget(): PCode returned with error code 1

      ****** Error: ResetTarget(): PCode returned with error code 1

      ****** Error: ResetTarget(): PCode returned with error code 1
      Cannot connect to target.

      Bridging the reset monitor partially helps but is not a solution.

      Thanks for any advice/suggestions.
    • Hello,
      Thank you for your inquiry.

      This looks like a timeout problem.
      Could you tell me if it does work with an evalboard with this chip on it?

      Best regards,
      Fabian
      Please read the forum rules before posting: Forum Rules

      Keep in mind, this is not a support forum. Its main purpose is user to user interaction.
      Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
      Should you be entitled to support you can contact us via our support system: segger.com/ticket/
      Or you can contact us via e-mail.