Please allow jtag or jtag over usb on next version
-
@rleinfellner
Wouldn’t you want the JTAG scan path clear for automated factory testing? -
The lack of debugging is literally the only reason that stops me from buying the stack.
-
@repligon you can debug over the usb connection or over UART
-
This post is deleted! -
@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! -
This post is deleted! -
@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? -
@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.
-
This post is deleted! -
@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 -
This post is deleted! -
@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.
-
@lukasmaximus
Thanks, I've deleted all my posts, so if you have enough privelegies on this forum you can purge them -
@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.
-
@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.
-
@ajb2k3 Of course we are talking about two different levels of debugging.
The BBC micro is also for beginners but allows both.
-
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
-
@ajb2k3 But is it possible to debug (put breakpoints, show variables, callstack...) through USB or UART ? How ? Works with VSCode/PlatformIO ?
-
@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
-
@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.”