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.catirclogs.org/glasgow · matrix #glasgow-interface-explorer:matrix.org · discord https://1bitsquared.com/pages/chat
binwoes has joined #glasgow
<whitequark> i'm unreasonably excited about finally having a fault reporting system which:
<whitequark> 1) discriminates various types of faults and lets you clear them individually (per-port and per-type)
<whitequark> 2) reports faults using unsolicited packets instead of requiring polling
<whitequark> rn the window comparator functionality is almost entirely unused
<whitequark> and the current comparator functionality wasn't even exposed in firmware
tpw_rules has quit [Ping timeout: 264 seconds]
tpw_rules has joined #glasgow
<_whitenotifier-e> [glasgow] whitequark synchronize pull request #1181: [WIP] Reimplement firmware and management protocol; add revD support - https://github.com/GlasgowEmbedded/glasgow/pull/1181
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #glasgow
arj has joined #glasgow
GNUmoon2 has quit [Remote host closed the connection]
GNUmoon2 has joined #glasgow
<_whitenotifier-e> [GlasgowEmbedded/glasgow] whitequark pushed 2 commits to pre-commit-ci-update-config [+0/-0/±2] https://github.com/GlasgowEmbedded/glasgow/compare/20316d8b02d4...299d45bd1705
<_whitenotifier-e> [GlasgowEmbedded/glasgow] whitequark 299d45b - Merge branch 'main' into pre-commit-ci-update-config
<_whitenotifier-e> [glasgow] whitequark synchronize pull request #1183: [pre-commit.ci] pre-commit autoupdate - https://github.com/GlasgowEmbedded/glasgow/pull/1183
<_whitenotifier-e> [GlasgowEmbedded/glasgow] github-merge-queue[bot] pushed 1 commit to gh-readonly-queue/main/pr-1183-a3f065521af4dbe1e7a8d861f0caf32dc8fd407a [+0/-0/±1] https://github.com/GlasgowEmbedded/glasgow/commit/4b548279f513
<_whitenotifier-e> [GlasgowEmbedded/glasgow] pre-commit-ci[bot] 4b54827 - [pre-commit.ci] pre-commit autoupdate
<_whitenotifier-e> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-1183-a3f065521af4dbe1e7a8d861f0caf32dc8fd407a - https://github.com/GlasgowEmbedded/glasgow
whitequark has quit [Ping timeout: 245 seconds]
whitequark has joined #glasgow
<_whitenotifier-e> [GlasgowEmbedded/glasgow] github-merge-queue[bot] pushed 1 commit to main [+0/-0/±1] https://github.com/GlasgowEmbedded/glasgow/compare/a3f065521af4...4b548279f513
<_whitenotifier-e> [GlasgowEmbedded/glasgow] pre-commit-ci[bot] 4b54827 - [pre-commit.ci] pre-commit autoupdate
<_whitenotifier-e> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-1183-a3f065521af4dbe1e7a8d861f0caf32dc8fd407a - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-e> [GlasgowEmbedded/glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-1183-a3f065521af4dbe1e7a8d861f0caf32dc8fd407a
<_whitenotifier-e> [glasgow] whitequark closed pull request #1183: [pre-commit.ci] pre-commit autoupdate - https://github.com/GlasgowEmbedded/glasgow/pull/1183
<_whitenotifier-e> [glasgow] whitequark deleted branch pre-commit-ci-update-config - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-e> [GlasgowEmbedded/glasgow] whitequark deleted branch pre-commit-ci-update-config
<_whitenotifier-e> [GlasgowEmbedded/glasgow] github-actions[bot] pushed 1 commit to pages [+207/-0/±0] https://github.com/GlasgowEmbedded/glasgow/compare/cae951f1fd36...be5522052429
<_whitenotifier-e> [GlasgowEmbedded/glasgow] github-merge-queue[bot] be55220 - Deploying to pages from @ GlasgowEmbedded/glasgow@4b548279f51352ee1b3c356514c499159932353f 🚀
<_whitenotifier-e> [glasgow] whitequark commented on pull request #1163: applet.measure.curve_trace: Adds basic curve tracing applet to 'measure' taxon. - https://github.com/GlasgowEmbedded/glasgow/pull/1163#issuecomment-4814596925
<_whitenotifier-e> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-1163-4b548279f51352ee1b3c356514c499159932353f - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-e> [GlasgowEmbedded/glasgow] github-merge-queue[bot] pushed 2 commits to gh-readonly-queue/main/pr-1163-4b548279f51352ee1b3c356514c499159932353f [+3/-1/±1] https://github.com/GlasgowEmbedded/glasgow/compare/66833cd2519c^...a627726e8999
<_whitenotifier-e> [GlasgowEmbedded/glasgow] i-infra 66833cd - applet.measure.curve_trace: implement two quadrant (1.8v-5v) and four quadrant (-1.7v to +1.5v) curve tracing for quantifying the behavior of LEDs, other diodes, and resistors
<_whitenotifier-e> [GlasgowEmbedded/glasgow] i-infra a627726 - applet.measure.curve_trace: Delete null assert_builds
<_whitenotifier-e> [GlasgowEmbedded/glasgow] github-merge-queue[bot] pushed 2 commits to main [+3/-1/±1] https://github.com/GlasgowEmbedded/glasgow/compare/4b548279f513...a627726e8999
<_whitenotifier-e> [GlasgowEmbedded/glasgow] i-infra 66833cd - applet.measure.curve_trace: implement two quadrant (1.8v-5v) and four quadrant (-1.7v to +1.5v) curve tracing for quantifying the behavior of LEDs, other diodes, and resistors
<_whitenotifier-e> [GlasgowEmbedded/glasgow] i-infra a627726 - applet.measure.curve_trace: Delete null assert_builds
<_whitenotifier-e> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-1163-4b548279f51352ee1b3c356514c499159932353f - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-e> [GlasgowEmbedded/glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-1163-4b548279f51352ee1b3c356514c499159932353f
<_whitenotifier-e> [glasgow] whitequark closed pull request #1163: applet.measure.curve_trace: Adds basic curve tracing applet to 'measure' taxon. - https://github.com/GlasgowEmbedded/glasgow/pull/1163
<_whitenotifier-e> [GlasgowEmbedded/glasgow] github-actions[bot] pushed 1 commit to pages [+209/-0/±0] https://github.com/GlasgowEmbedded/glasgow/compare/be5522052429...6b7c602b2a00
<_whitenotifier-e> [GlasgowEmbedded/glasgow] github-merge-queue[bot] 6b7c602 - Deploying to pages from @ GlasgowEmbedded/glasgow@a627726e8999d07bbf07f03757f3a1e4ec0c2354 🚀
ldcd has quit [Ping timeout: 276 seconds]
<alephbias[m]> I have an old corpo mini-PC that I’ll use for some Glasgow work, so that’s my remoting solution
<alephbias[m]> Could you add something like a cortex-m connector with a small footprint to expose the GPIOs of the STM32 as a third bank, but with reduced functionality? Even if it’s not reprogrammable, it could be used for simple things like EN or pulling a pin low for entering ESP32
ldcd has joined #glasgow
ldcd has quit [Ping timeout: 245 seconds]
ldcd0[m] has joined #glasgow
<ldcd0[m]> whitequark: the main impediment for me with glasgow remoting is just dealing with python
<ldcd0[m]> So a little statically linked binary that just forwards the protocol layer would definitely be handy
<tpw_rules> curious what would be the use of connecting glasgow to such a pc
<tpw_rules> if you have to have another one to drive it anyway
<ldcd0[m]> So that I can operate it without being physically present in unpleasant environments
<ldcd0[m]> Like I have some uh
<ldcd0[m]> Extremely one off test equipment that I would like to be able to remotely debug
<ldcd0[m]> But the vendor debugger makes it crash
<ldcd0[m]> Or a more recent case of just wanting a reprogrammable trigger crossbar sequencer
<tpw_rules> but running the forwarder on that test equipment seems like a bad time for all involved
<tpw_rules> (or the glasgow software)
<ldcd0[m]> Well like
<ldcd0[m]> If I had a statically linked binary I could just drop into petalinux I could scp that to the MPSoC running the equipment
<ldcd0[m]> Like in a lot of cases I can reach equipment over VPN/ssh tunnel/etc but that equipment is not nominally supposed to reach the internet
josHua[m]1 has joined #glasgow
<josHua[m]1> consider usbip for when the other end is Linux
<ldcd0[m]> I wish I could but that requires a kernel module which uh
<ldcd0[m]> Is sometimes not an easy option
<ldcd0[m]> Oh neat
<ldcd0[m]> Ok I will give that a try
<ldcd0[m]> Basically in my (admittedly very abnormal) use case, my Glasgow is often stuffed halfway inside something very weird in an environment that is deeply unpleasant to work in
<ldcd0[m]> Like in that case it's a machine floor space with loud gas handling equipment and slated floors that are not nice to sit on
<ldcd0[m]> Was my setup
ldcd has joined #glasgow
Darius has quit [Quit: Bye]
Darius has joined #glasgow
ldcd has quit [Ping timeout: 256 seconds]
tpw_rules has quit [Ping timeout: 264 seconds]
tpw_rules has joined #glasgow
binwoes has quit [Ping timeout: 276 seconds]
binwoes has joined #glasgow
binwoes has quit [Ping timeout: 276 seconds]
<abrasive> I am +1 for glasgow remoting. not for such exciting reasons but due to Health™ I sometimes can't work at lab bench or whatever (and other times I'd just prefer to be sitting somewhere nicer)
<abrasive> I do have an SBC there for this sort of thing and I greatly appreciate it when things can bridge relatively cleanly to the network rather than my having to juggle files back and forth as part of my debug loop
<whitequark> alephbias[m]: i do not want to be on the hook to provide the stm32 in future revisions
<whitequark> ldcd0[m]: yeah, the idea for remoting is to have a small rust binary that uses nusb and bridges that to a tcp socket
<whitequark> josHua[m]1: oh, pyusbip is making usbip ... more bearable
<whitequark> it's still a bad idea, but it's not as much of a bad idea. thanks!
<whitequark> abrasive: yep, i also have Health™
<Darius> I've used VirtualHere for remote USB to program microcontrollers using a raspberry pi in the lab
<whitequark> a nice thing about having a native TCP connection multiplexer is that (a) it works over high latency links too, (b) unlike usbip it's not crash prone, and (c) at some point we're probably going to staple an ethernet phy to the device & that will use the same protocol
GNUmoon2 has quit [Remote host closed the connection]
<whitequark> $ glasgow voltage
<whitequark> Port Vsupply Vlimit Isupply Ialert Vsense Vsense(alert)
<whitequark> A 0.000 4.913 0.000 0.000 0.000 0.000-0.000
<whitequark> B 0.000 3.264 0.000 0.000 0.000 0.000-0.000
<whitequark> new features!
GNUmoon2 has joined #glasgow
<whitequark> $ glasgow voltage A
<whitequark> Port Vsupply Vlimit Isupply Ialert Vsense Vsense(alert)
<whitequark> A 3.322 4.913 (SHORT) 0.000 0.000 0.000-0.000
<_whitenotifier-e> [glasgow] whitequark synchronize pull request #1181: [WIP] Reimplement firmware and management protocol; add revD support - https://github.com/GlasgowEmbedded/glasgow/pull/1181
<_whitenotifier-e> [glasgow] whitequark synchronize pull request #1181: [WIP] Reimplement firmware and management protocol; add revD support - https://github.com/GlasgowEmbedded/glasgow/pull/1181
<alephbias[m]> That makes sense to not overly be bound to the STm32! The impetus for it did ring a bell that I finally tracked down. I’m sure you’re already aware of the IC, but on the off chance you’re not: this board from Adafruit has an AW9523 gpio expander over I2C and may me helpful https://www.adafruit.com/product/4886
whitequark[cis] has joined #glasgow
<whitequark[cis]> we have two PCA6416As GPIO expanders already
<whitequark[cis]> the STM32 does SMBus to SPI bridging too
<whitequark[cis]> in fact that is why we picked an MCU
<josHua[m]1> pyusbip is really slow, and does have the same problems as all usbip (a badly behaved remote network agent can lock up the client’s usb stack forever). but if you’re in a bind, it works.
<josHua[m]1> for this user, I think the actual answer is to superglue a Raspberry Pi Zero to their glasgow.
ldcd has joined #glasgow
ldcd has quit [Ping timeout: 252 seconds]
<alephbias[m]> my main dangerous environment is my own inability to stay organized and disciplined
<whitequark> aren't we all
<whitequark> glasgow flash --advertise-webusb=no is also happening
<_whitenotifier-e> [glasgow] whitequark synchronize pull request #1181: [WIP] Reimplement firmware and management protocol; add revD support - https://github.com/GlasgowEmbedded/glasgow/pull/1181
ldcd has joined #glasgow
RaYmAn has quit [Ping timeout: 265 seconds]
RaYmAn has joined #glasgow
ldcd has quit [Ping timeout: 246 seconds]
ldcd has joined #glasgow
cr1901_ has joined #glasgow
cr1901 has quit [Ping timeout: 245 seconds]
uartist has quit [Quit: Ping timeout (120 seconds)]
uartist has joined #glasgow
midnight has quit [Ping timeout: 245 seconds]
midnight has joined #glasgow
uartist has quit [Quit: Ping timeout (120 seconds)]
uartist has joined #glasgow
ldcd has quit [Ping timeout: 264 seconds]
tec42 has quit [Ping timeout: 250 seconds]
cr1901__ has joined #glasgow
cr1901_ has quit [Ping timeout: 246 seconds]
tec42 has joined #glasgow
ldcd has joined #glasgow
binwoes has joined #glasgow