🤖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

    PRODUCTS
    jtag
    9
    25
    89.9k
    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
      ajb2k3
      last edited by

      I don’t understand why you would want jtag when you can program OTA, USB and UART

      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 -3
      • R
        rleinfellner
        last edited by rleinfellner

        I find JTAG great for real time debugging with H/W breakpoints and variable watching, its also fast. I think its fine it has the other methods also, however its would be good to have JTAG availiable. Even better would be using a dual channel USB chip which could handle JTAG without the seperate programmer like the WROVER DevKit.

        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 3
        • mickM
          mick
          last edited by

          Agree, vote plus 1 for JTAG.. Sales will definitely increase. M

          1 Reply Last reply Reply Quote 2
          • 5
            5trace
            last edited by

            This is a major omission from the M5Stack's capabilities.
            No JTAG debugging, what were they thinking?

            1 Reply Last reply Reply Quote 2
            • B
              bobolink @rleinfellner
              last edited by

              @rleinfellner
              Wouldn’t you want the JTAG scan path clear for automated factory testing?

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

                The lack of debugging is literally the only reason that stops me from buying the stack.

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

                  @repligon you can debug over the usb connection or over UART

                  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!

                  R 1 Reply Last reply Reply Quote -2
                  • T
                    Thrasher
                    last edited by

                    This post is deleted!
                    ajb2k3A B 2 Replies Last reply Reply Quote 0
                    • ajb2k3A
                      ajb2k3 @Thrasher
                      last edited by

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

                      As far as I understood from different forums/github, we dont have jtag available because one of the pins is used to work with LCD. This case, it appears to be possible to hardmode m5stack, Im thinking of cutting pcb trace of this pin, add 2 point switch which will either connect it to lcd or work as jtag. With some skill you can even dremel a small hole on the side and put switch there

                      Now that sounds like a good plan for an enterprise version of the M5Stick.
                      If you have facebook post this on the Official group and PM Jimmy Lau!

                      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
                      • T
                        Thrasher
                        last edited by

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

                          @thrasher But don’t you need the LCD display operating while you use JTAG to debug your code?
                          Some kind of demultiplexer hardware added maybe?

                          1 Reply Last reply Reply Quote 0
                          • ajb2k3A
                            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
                              Thrasher
                              last edited by

                              This post is deleted!
                              ajb2k3A 1 Reply Last reply Reply Quote 0
                              • ajb2k3A
                                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
                                  Thrasher @ajb2k3
                                  last edited by

                                  This post is deleted!
                                  lukasmaximusL 1 Reply Last reply Reply Quote 0
                                  • lukasmaximusL
                                    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
                                      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
                                        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
                                          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
                                            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
                                            • First post
                                              Last post