picocomputer / rp6502

Picocomputer 6502 firmware
BSD 3-Clause "New" or "Revised" License
85 stars 27 forks source link

MacOS UART break #5

Closed rumbledethumps closed 1 year ago

rumbledethumps commented 1 year ago

See: https://github.com/hathach/tinyusb/issues/2003

Looks like MacOS doesn't support CDC UART break. Ha will confirm next time the USB analyzer comes out.

We need an alternative out-of-band signal for Mac. Network engineers sometimes use a slow zero to reset cisco equipment. Terminal software like minicom or screen can't do that though. Guarded escape sequences like "+++" will not be allowed here. Need other ideas.

Recommended workaround: Linux in a VM.

Workaround for the obstinate: use an FTDI or SiLabs adapter on UTX and URX instead of the RP6502-VGA. These have proprietary MacOS drivers that support break.

ulften commented 1 year ago

Another obvious workaround is to use a USB keyboard for input, where Ctrl-Alt-Delete does the job. Or ground the RUN signal (I have the RUN button on the pico demo board wired to the RIA for this purpose).

rumbledethumps commented 1 year ago

https://github.com/picocomputer/rp6502/blob/21b45088631114887cb98d79252f88b3b80f2718/src/vga/usb/cdc.c#L28-L38