whitequark[cis] changed the topic of #glasgow to: https://glasgow-embedded.org · digital interface explorer · https://www.crowdsupply.com/1bitsquared/glasgow · code https://github.com/GlasgowEmbedded/glasgow · logs https://libera.irclog.whitequark.org/glasgow · matrix #glasgow-interface-explorer:matrix.org · discord https://1bitsquared.com/pages/chat
redstarcomrade has quit [Read error: Connection reset by peer]
itsmk has quit [Ping timeout: 255 seconds]
itsmk has joined #glasgow
itsmk has quit [Ping timeout: 246 seconds]
klausvalka has quit [Remote host closed the connection]
esden[m] has quit [Quit: Idle timeout reached: 172800s]
gsuberland has joined #glasgow
itsmk has joined #glasgow
sigstoat[m] has quit [Quit: Idle timeout reached: 172800s]
redstarcomrade has joined #glasgow
Wanda[cis] has quit [Quit: Idle timeout reached: 172800s]
klausvalka has joined #glasgow
klausvalka has quit [Remote host closed the connection]
klausvalka has joined #glasgow
notgull has joined #glasgow
klausvalka has quit [Remote host closed the connection]
redstarcomrade has quit [Read error: Connection reset by peer]
notgull has quit [Ping timeout: 255 seconds]
victorhooi[m] has quit [Quit: Idle timeout reached: 172800s]
theorbtwo[m] has quit [Quit: Idle timeout reached: 172800s]
GNUmoon2 has quit [Ping timeout: 260 seconds]
GNUmoon2 has joined #glasgow
Foxyloxy has quit [Quit: Textual IRC Client: www.textualapp.com]
nyanotech has quit [Remote host closed the connection]
DragoonAethis has quit [Remote host closed the connection]
nyanotech has joined #glasgow
DragoonAethis has joined #glasgow
Foxyloxy has joined #glasgow
siriusfox has quit [Ping timeout: 240 seconds]
siriusfox has joined #glasgow
GNUmoon2 has quit [Remote host closed the connection]
GNUmoon2 has joined #glasgow
fibmod has quit [Ping timeout: 256 seconds]
redstarcomrade has joined #glasgow
fibmod has joined #glasgow
redstarcomrade has quit [Read error: Connection reset by peer]
bvernoux has joined #glasgow
fibmod has quit [Ping timeout: 264 seconds]
fibmod has joined #glasgow
<_whitenotifier-f> [libfx2] sidd-kishan opened pull request #16: Please consider this update for making the repo more appealing - https://github.com/whitequark/libfx2/pull/16
joshua_ has quit [Ping timeout: 256 seconds]
notgull has joined #glasgow
notgull has quit [Ping timeout: 255 seconds]
notgull has joined #glasgow
chuckmcm[m] has joined #glasgow
<chuckmcm[m]> I haven't gotten to the end of this discussion yet, but the mis-match here is that the FTDI USB chip, on a development board, has some additional I/O pins called "modem control" (part of the original serial port design), there are two "inputs" (DSR, CTS), and two "outputs" (DTR, RTS). DSR stands for "Dataset ready" and it was sent from the modem to the computer to say it was good to go, and CTS stood for "Clear to send" which indicated
<chuckmcm[m]> CTS), you could send control messages to the serial port to make RTS or DTR go "high" or "low". And with that, serial device programming was born.
<chuckmcm[m]> the modem had space in its input buffer to accept more characters from the computer. The outputs were RTS which stood for "Ready to send", and DTR which stood for "Data Terminal Ready". Folks have "repurposed" those pins and attached the outputs to "reset" and "mode" on chips (my first encounter with this was Arduino), and since serial drivers on computers had functions to set the state of RTS and DTR (and read the state of DSR and
<chuckmcm[m]> It is entirely possible to add four GPIOs to the Glasgow applet to represent these signals, and update the USB driver so when "`SET_RTS`" or "`SET_DTR`" is sent in the control channel of the USB device the pins reflect the appropriate state. But That doesn't let you use it as an ESP programmer unless you actually hook those pins up to something on the ESP.
bvernoux has quit [Read error: Connection reset by peer]
fibmod has quit [Ping timeout: 256 seconds]
fibmod has joined #glasgow
stary2001[m] has joined #glasgow
<stary2001[m]> "Glasgow applet [...] sent in the control channel of the usb device"
<stary2001[m]> afaik the uart applet uses a pty, not the actual usb device, and the pty doesn't expose those
omnitechnomancer has joined #glasgow
<omnitechnomancer> Yea the difficulty here is that there isn't a nice uniform across OSes manner to provide a software serial port. The FTDI device gets to have a kernel driver that knows it's a serial port
<omnitechnomancer> And connects all the relevant APIs up to userland
<stary2001[m]> yes, let's not redo that whole conversation
<stary2001[m]> s/let's/lets/
<omnitechnomancer> Indeed
Wanda[cis] has joined #glasgow
<Wanda[cis]> clearly we need to make a TUSE layer
josHua[m] has joined #glasgow
<josHua[m]> Catherine and I vaguely investigated this sort of thing at this point in history. we did not like it
joshua_ has joined #glasgow