hrvach / deskhop

Fast Desktop Switching Device
GNU General Public License v3.0
6.37k stars 185 forks source link

[pcb] 💡expose uart1 tx pin on swd port #139

Open jalmeroth opened 3 months ago

jalmeroth commented 3 months ago

Hey there,

my current development setup looks something like this: IMG_4437

Since I have the picoprobes attached, I would like to have the stdio output on uart1 instead of using the deskhop CDC device. Therefore I would like to have an uart1 tx pin (e.g. GPIO 4) next to the SWD connectors, so I can get rid of the floating, grey cable in the picture.

Would that be possible?

Thank you very much!

hrvach commented 3 months ago

By all means, I need to look into pcb 1.2 soon anyway, have some outstanding bugs. Also, pico2 is out and that needs to be tested 😃 cool picoprobes, btw have you ever experienced picoprobe port just going bad after a few weeks?

jalmeroth commented 3 months ago

By all means, I need to look into pcb 1.2 soon anyway, have some outstanding bugs. Also, pico2 is out and that needs to be tested 😃

Awesome, I was just about to order some new pico2`s!

btw have you ever experienced picoprobe port just going bad after a few weeks?

No not really, but I must confess that I basically use them as tty and occasionally to update the firmware via openocd. Can you narrow what "going bad" means?

hrvach commented 3 months ago

By all means, I need to look into pcb 1.2 soon anyway, have some outstanding bugs. Also, pico2 is out and that needs to be tested 😃

Awesome, I was just about to order some new pico2`s!

btw have you ever experienced picoprobe port just going bad after a few weeks?

No not really, but I must confess that I basically use them as tty and occasionally to update the firmware via openocd. Can you narrow what "going bad" means?

Yeah, I've had openocd firmware upgrade stop working for some reason on 2-3 boards, but when I recompiled to use other GPIOs, it started working again for a while, only to repeat. Perhaps some TVS diodes might be a good thing to install there :)