Debug while on external power souce
Posted: Tue Feb 13, 2024 9:58 am
Hi guys,
i have started migrating some of my projects from arduino to ESP and everything is great so far, there is just one thing i didnt manage to solve yet.
My project is using the devboard and I am trying to debug using the built in usb port, but it has an external power source (LM2596 on the 5V port).
According to the documentation, i understand I canĀ“t connect my USB cable while using this power source, but the issue is that the power source is welded to the PCB, so i cant just disconnect it.
The first solution i found is to wire TX/RX/GND and use it to debug, but it is not a great solution really, because if i try to update the code during debugging i need to break everything again, change cables, turn off the board, and is not as smooth as i wish it was.
Can someone please help me out to find a way to use the usb port for debugging?
thanks!
i have started migrating some of my projects from arduino to ESP and everything is great so far, there is just one thing i didnt manage to solve yet.
My project is using the devboard and I am trying to debug using the built in usb port, but it has an external power source (LM2596 on the 5V port).
According to the documentation, i understand I canĀ“t connect my USB cable while using this power source, but the issue is that the power source is welded to the PCB, so i cant just disconnect it.
The first solution i found is to wire TX/RX/GND and use it to debug, but it is not a great solution really, because if i try to update the code during debugging i need to break everything again, change cables, turn off the board, and is not as smooth as i wish it was.
Can someone please help me out to find a way to use the usb port for debugging?
thanks!