Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Setting breakpoints in code

    Scheduled Pinned Locked Moved
    Firmware developers
    2
    2
    349
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Martinundefined
      Martin
      last edited by

      Hi all,

      From what I understand the latest revision of boards do not come with the JTAG pins on the board (indeed some of these pins are now assigned to other things. This might sound like a stupid question however, how does one set up breakpoints for code execution without the use of the JTAG?

      Thanks,

      Martin.

      P.S. And yes I do love my J-Link:)

      1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators
        last edited by

        We've never used the JTAG pins on the Duet, so when we needed to revise the layout of that area to reduce EMI, we were happy to remove the connector. If we wanted to do hardware debugging now, we would use Serial Wire Debug instead of JTAG, as we do on Duet 3. For Duet 2 we'd need to build a firmware variant that doesn't reprogram the bus matrix to use the SWD pins as GPIO pins.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Unless otherwise noted, all forum content is licensed under CC-BY-SA