@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
I just tried with another cable: the microcontroller works with a very short cable or from a powered hub. Basically it reboots because of a brown-out due to a power consumption that is at the limit of what a plain usb port can deliver.
I'm glad I haven't (completely) lost my mind.
I haven't had any progress with this issue besides creating a workaround with a Proto and some Grove ports- assembling a sort of..."Port Board." It certainly isn't pretty, but here's a pic for fun:
It's 2 "Port B"s - to accommodate devices that want GP26, GP36, or BOTH. And a simple male header to Serial2. (16/17)
I've had some thoughts on other things to try (mostly in configuration or digging deeper into M5 and ESP32 libraries), but have been busy with another project that requires much smaller hardware. If you (or anyone) find something that in any way changes this functionality, please post.
All info helps.
Hello, Did you end up finding a solution ? This is my issue and I think it may be related :
Hello, I am trying to integrate a RTC module (DS3231). It works fine as long as I don't use the M5Stack library. As soon as I combine M5.begin() with Wire.begin() there seems to be a conflict. Scanning I2C reveals 2 devices :
0x57 - M5 LCD ?
0x68 - RTC Module DS3231
Any clue as to what is going wrong ? What PINS are used by the LCD ? I suppose 21 (SDA) and 18 (SCL) ?