🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Please allow jtag or jtag over usb on next version

    Scheduled Pinned Locked Moved PRODUCTS
    jtag
    25 Posts 9 Posters 105.9k Views 2 Watching
    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.
    • ajb2k3A Offline
      ajb2k3 @Thrasher
      last edited by

      @thrasher The M5Stack is aimed at the beginners market and so JTAG is not required, Debug over usb or uart is all we need. JTAG is also a dying standard and getting dropped from alot of hardware. its only certain categories of hardware designers who make use of it now, basically enterprise companies.

      UIFlow, so easy an adult can learn it!
      If I don't know it, be patient!
      I've ether not learned it or am too drunk to remember it!
      Author of the WIP UIFlow Handbook!
      M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

      S 1 Reply Last reply Reply Quote -1
      • T Offline
        Thrasher
        last edited by

        This post is deleted!
        ajb2k3A 1 Reply Last reply Reply Quote 0
        • ajb2k3A Offline
          ajb2k3 @Thrasher
          last edited by ajb2k3

          @thrasher Raw micropython is available as standered as UIFlow is built on it. REPL is also available over USB.
          You can also Used VSCode and Xcode on OSX to program the M5Stack.
          @lukasmaximus89 made a good video on VScode on youtube.
          https://www.youtube.com/watch?v=Y9pOWgsNgKk

          UIFlow, so easy an adult can learn it!
          If I don't know it, be patient!
          I've ether not learned it or am too drunk to remember it!
          Author of the WIP UIFlow Handbook!
          M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

          T 1 Reply Last reply Reply Quote 0
          • T Offline
            Thrasher @ajb2k3
            last edited by

            This post is deleted!
            lukasmaximusL 1 Reply Last reply Reply Quote 0
            • lukasmaximusL Offline
              lukasmaximus @Thrasher
              last edited by

              @thrasher I struggle to see how your webserver on ap question is in anyway related to jtag. I did already give you quite a lot of pointers to how to make a webserver on the M5Stack AP, please keep that to your other discussion instead of going off topic here.

              T 1 Reply Last reply Reply Quote 1
              • T Offline
                Thrasher @lukasmaximus
                last edited by

                @lukasmaximus
                Thanks, I've deleted all my posts, so if you have enough privelegies on this forum you can purge them

                1 Reply Last reply Reply Quote 1
                • R Offline
                  repligon @ajb2k3
                  last edited by

                  @ajb2k3 Are you saying that m5stack has built-in full-fledged debug server that lets you put breakpoints and examine any variables or are you talking about debugging with printf? Because when I was looking for the infro on the first I couldn't find anything.

                  ajb2k3A 1 Reply Last reply Reply Quote 2
                  • ajb2k3A Offline
                    ajb2k3 @repligon
                    last edited by

                    @repligon said in Please allow jtag or jtag over usb on next version:

                    @ajb2k3 Are you saying that m5stack has built-in full-fledged debug server that lets you put breakpoints and examine any variables or are you talking about debugging with printf? Because when I was looking for the infro on the first I couldn't find anything.

                    REPL Explanation

                    UIFlow, so easy an adult can learn it!
                    If I don't know it, be patient!
                    I've ether not learned it or am too drunk to remember it!
                    Author of the WIP UIFlow Handbook!
                    M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                    B 1 Reply Last reply Reply Quote -1
                    • B Offline
                      bobolink @ajb2k3
                      last edited by

                      @ajb2k3 Of course we are talking about two different levels of debugging.

                      The BBC micro is also for beginners but allows both.

                      microbit jlink upgrade

                      1 Reply Last reply Reply Quote 1
                      • T Offline
                        Thrasher
                        last edited by

                        I've spotted this interesting article https://www.cnx-software.com/2020/02/12/esp32-jtag-debugging-microsd-card-socket/

                        But haven't tried it yet

                        B 1 Reply Last reply Reply Quote 0
                        • S Offline
                          sgallou @ajb2k3
                          last edited by

                          @ajb2k3 But is it possible to debug (put breakpoints, show variables, callstack...) through USB or UART ? How ? Works with VSCode/PlatformIO ?

                          ajb2k3A 1 Reply Last reply Reply Quote 0
                          • ajb2k3A Offline
                            ajb2k3 @sgallou
                            last edited by

                            @sgallou said in Please allow jtag or jtag over usb on next version:

                            @ajb2k3 But is it possible to debug (put breakpoints, show variables, callstack...) through USB or UART ? How ? Works with VSCode/PlatformIO ?

                            If your asking about REPL then yes it works with VSCode

                            UIFlow, so easy an adult can learn it!
                            If I don't know it, be patient!
                            I've ether not learned it or am too drunk to remember it!
                            Author of the WIP UIFlow Handbook!
                            M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                            1 Reply Last reply Reply Quote 0
                            • B Offline
                              bobolink @Thrasher
                              last edited by

                              @thrasher
                              As always, GPIO 14 is already in use for the display.

                              “All the pins other then GPIO14 are availiable, however for some reason it was used for LCD CS on the M5Stack rendering JTAG unuseable.”

                              1 Reply Last reply Reply Quote 2

                              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                              With your input, this post could be even better 💗

                              Register Login
                              • First post
                                Last post