🤖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.
    • 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
                        • T
                          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
                            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
                              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
                                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
                                • First post
                                  Last post