probe-rs / rusty-probe

97 stars 14 forks source link

Should the DTR/RTS pins of the virtual serial port be adapted #12

Open HalfSweet opened 10 months ago

HalfSweet commented 10 months ago

For some MCUs that rely on using the serial port for downloads, the use of RTS/DTR for auto-reset into their own bootloader is clearly needed, and for the debugger, we just need to add two more IO ports for output. Will we consider doing this in the rusty-probe later on?

Yatekii commented 10 months ago

I am not sure what exactly you want, but if you want to flash via serial, you can use a serial adapter? :)

HalfSweet commented 10 months ago

Yes, but I think rusty-probe could be more versatile if it had full USB to UART functionality.

For some MCUs that need UART for flash, such as the ESP32 the general practice is to use the RTS and DTR signals from the serial port as trigger flags

korken89 commented 3 days ago

That's a good future upgrade path, I'll keep it in mind!