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 joined #glasgow
redstarcomrade has quit [Changing host]
redstarcomrade has joined #glasgow
Stary has quit [Quit: ZNC - http://znc.in]
Fridtjof has quit [Quit: ZNC - http://znc.in]
Stary has joined #glasgow
Fridtjof has joined #glasgow
jstein has joined #glasgow
redstarcomrade has quit [Read error: Connection reset by peer]
js[m] has quit [Quit: Idle timeout reached: 172800s]
<_whitenotifier-3> [glasgow] whitequark commented on pull request #671: U13 function description updated. U13 has same function as U20 (was same as U21). - https://github.com/GlasgowEmbedded/glasgow/pull/671#issuecomment-2298559643
Lord_Nightmare has quit [Quit: ZNC - http://znc.in]
Lord_Nightmare has joined #glasgow
GNUmoon has quit [Remote host closed the connection]
GNUmoon has joined #glasgow
altracer[m] has joined #glasgow
<altracer[m]> when the alternative is desoldering a SOP8-208, clips don't suck as much -- that's how I was able to unintrusively test `bmpflash` against WeAct Pico and some routers. SI was good enough to push 5-10 MHz SPI (15?)
<altracer[m]> (BMD had a problem with Synopsys SSI of RP2040 for a while, where it was actually faster to clip onto XIP and reflash that directly, rather than manipulate it over SWD)
<whitequark[m]> I really don't mind desoldering SOP8-208...
<whitequark[m]> the problem with clips in my experience isn't SI so much as (a) poor contact and (b) boards not designed for in-circuit programming
<whitequark[m]> while (a) is solvable by holding the clip in just the right position (and even then you have to remember it at all times), (b) is a complete shot in the dark
<whitequark[cis]> it's mainly two things
WilfriedKlaebe[m has joined #glasgow
<WilfriedKlaebe[m> is there some how-to design boards for in-circuit programming?
<whitequark[cis]> (a) you need to add a diode and some resistors so that if you connect a clip to the flash, it's not trying to power up the entire board (which the Glasgow won't be able to do for example)
<whitequark[cis]> (b) if it's meant to be programmed while powered on, which is useful in some circumstances, you need to add some way to stop whatever's on the board from talking to the flash, as that would totally corrupt the data
q3k[cis] has joined #glasgow
<q3k[cis]> i also have had terrible luck with clips, almost always end up desoldering the chip anyway (or at least soldering wires to leads if there's a diode)
<whitequark[cis]> I've used clips so many times and basically every time I do I regret it
<q3k[cis]> yep
<whitequark[cis]> "oh hey I can use a clip to save myself some soldering, which I really don't feel like doing" (25 minutes of suffering later) "fuck it, I'll just solder"
<q3k[cis]> which takes 3 minutes and actually works and you know it works and you stop having to second guess your tools
<whitequark[cis]> yes
<WilfriedKlaebe[m> doesn't sound too complicated...
<q3k[cis]> well, it's effort for whoever is doing the capture and layout
<WilfriedKlaebe[m> but I guess hardware vendors want to save the diode and the resistors...
<WilfriedKlaebe[m> would it hurt them to put footprints for them on the board and a cuttable trace bypassing them? one could then solder the parts when needed and cut the trace...
<whitequark[cis]> you also have to think about it
<whitequark[cis]> and these devices are not intended to be user serviceable
<whitequark[cis]> you assemble it, put it in a box, ship it, and forget about it forever
<WilfriedKlaebe[m> mmh.
<whitequark[cis]> which is probably not going to change without legislation
<altracer[m]> and then we also have abominations like RP2354 and most of ESP32-## where XIP program flash is not even pinned out... Even on Pico 1 the QSPI package is pretty tiny. Is there a way to talk to them via Glasgow or otherwise directly without desoldering?
<altracer[m]> Basically I am tangentially interested in 25x memory support. You can also read it in Quad-I/O mode now?
<whitequark[m]> you actually can't read it in quad I/O mode yet
<whitequark[m]> the underlying controller core knows how to do it, but the command set hasn't been extended yet
<whitequark[m]> for erase, there is no benefit, and for writes, maybe there is a small one? I'm unsure
<altracer[m]> okay, thanks for clarifying;
<whitequark[m]> it should be pretty trivial to extend reads, I may do this in a bit
<altracer[m]> before I crawl entire docs website and repo, can you tell me whether instead of $145 custom unshippable board with iCE40HX8k+FX2LP and GPIO frontends I can buy a $30 shippable Icebreaker 1.0e with iCE40UP5k+FT2232H and unbuffered GPIOs then use some of Glasgow applets as a cheaper devtool?
<altracer[m]> Generally I'd need a few digital PWM generators and a 1PPS generator, a few DAC channels at 19200 Hz or better; maybe a dual/quad UART with control lines and a SPI sniffer at 60 MHz (SDR, not DDR). Rare case 24c16 EEPROM, 25q64 NOR SPI Flash read/writer. I may solder some buffers and external DACs to custom PMODs for this. Otherwise the signal gen is running on WeAct STM32G474 and we use separate ft4232h & fx2la for capture (maybe
<altracer[m]> Kingston LA2016).
<whitequark[m]> the answer to this is "I actively do not wish to support any use that exists outside of the vertically integrated Glasgow stack"
<whitequark[m]> maybe you can use it, maybe you can't, you're completely on your own
<whitequark[m]> I don't get a single cent from sales one way or another, so from my perspective, more diverse use cases = more support burden and nothing else
<whitequark[m]> I'm especially frustrated with people complaining about how it's "unshippable", because (a) this is not and has never been my responsibility (it's OSHW, you can build your own if you're that unhappy about timelines), and (b) the cause is the worldwide semiconductor shortage that affected literally every industry
<q3k[cis]> (can confirm, built a few glasgows at jlcpcb)
<smeding> plus maybe the whole infrastructure required to acquire any niche product within days isn't exactly sustainable... and i gotta admit, the idea of not having so many projects that i can't do other things while i wait is pretty alien to me anyway
<smeding> uh, weird combination of negatives there, hopefully you get the idea
<altracer[m]> Understandable, have a nice day
<whitequark[cis]> for those on IRC/Matrix side, we still have a netsplit (mainly because matrix-appservice-discord is kind of garbage and I had to deal with other things recently)
<whitequark[cis]> I'll try to fix it as soon as I can
<altracer[m]> (I can't even build an orbtrace-mini locally, and it's been a year)
<whitequark[m]> oh, you're from Russia
<whitequark[m]> have you tried JLCPCB? q3k built a few Glasgow boards via JLCPCB, and I think they should still ship to Russia
<whitequark[m]> (is it "alt" for "altlinux" or just a coincidence?)
<whitequark[m]> in that case, JLC would buy the components, build the PCB, and assemble it, so you don't actually have to do much
<whitequark[cis]> why would they? they're a chinese company
<whitequark[cis]> ... oh, it looks like they actually do
<whitequark[cis]> pieces of shit
<whitequark[m]> so, it looks like JLCPCB does not ship to Russia, but https://www.jlc-pcb.ru/ does
<whitequark[m]> (for those who are unaware, sanctions are in effect a regressive tax that doesn't change much for the wealthy or the MIC)
<whitequark[m]> consider:
<whitequark[m]> everyone involved in the supply chain knows this, and closes eyes on it as long as they can because it's profitable. capitalism, baby
<q3k[cis]> sanctions are such a capitalism brain move. when the worst punishment you can think of is preventing someone from buying things, because you've been telling yourself that being able to buy stuff is the peak of human experience.
<whitequark[cis]> yeah
<whitequark[cis]> having heard (second-hand, but from someone reliable) how people work around sanctions i find it that the only people they actually genuinely affect is the civilian population trying to go around their miserable daily life
trh has quit [Ping timeout: 260 seconds]
<whitequark[cis]> it's a question of cost
<whitequark[cis]> if you can hire some guy to desolder them from washing machines (which by the way happens in peacetime too, and usually in China, due to lower labor costs) and you can sell them for even $0.01 more, you do it
<whitequark[cis]> buying sanctioned goods via the normal supply chain has the intermediary charge a 200-300% or something price for the effort and risk, so if you can get it for less, you do
skipwich_ is now known as skipwich
Jarrett[m] has joined #glasgow
<Jarrett[m]> boo capitalism
trh has joined #glasgow
adistuder[m] has joined #glasgow
<adistuder[m]> I hope they are separated enough from the real JLCPCB. Would be a bit disruptive if they’d end up on the sanction list.
<whitequark[m]> I think it would be very educational, actually
<whitequark[m]> but you don't need to worry: the two are unrelated entities
<whitequark[m]> the russian one is just "borrowing" JLCPCB's name
<whitequark[m]> I'm sure the chinese JLCPCB is aware that this sort of thing is going on, but there's not much they can do except for extreme, KYC level vetting of their customers, and they obviously and appropriately don't want to do that; they do the exact bare minimum they need to not end up on sanction lists themselves
urja has quit [Read error: Connection reset by peer]
urja has joined #glasgow
skipwich has quit [Quit: DISCONNECT]
skipwich has joined #glasgow
skipwich_ has joined #glasgow
skipwich has quit [Ping timeout: 252 seconds]
skipwich_ is now known as skipwich
skipwich_ has joined #glasgow
skipwich has quit [Ping timeout: 252 seconds]
skipwich_ is now known as skipwich
skipwich_ has joined #glasgow
skipwich has quit [Ping timeout: 264 seconds]
skipwich_ is now known as skipwich
trh has quit [Ping timeout: 248 seconds]
skipwich_ has joined #glasgow
skipwich has quit [Ping timeout: 248 seconds]
skipwich has joined #glasgow
skipwich_ has quit [Ping timeout: 276 seconds]
skipwich_ has joined #glasgow
skipwich has quit [Ping timeout: 258 seconds]
skipwich has joined #glasgow
skipwich_ has quit [Ping timeout: 252 seconds]
skipwich_ has joined #glasgow
skipwich has quit [Ping timeout: 255 seconds]
skipwich has joined #glasgow
skipwich_ has quit [Ping timeout: 252 seconds]
skipwich_ has joined #glasgow
skipwich has quit [Ping timeout: 252 seconds]
skipwich_ is now known as skipwich
trh has joined #glasgow
<itsmk> whitequark[m]: in a former job we were told customers sometimes sold their products without our chips, and if their customers then noticed it didn't work they'd solder in the missing controller.
<whitequark[cis]> itsmk: yeah i've heard stories like that too
skipwich_ has joined #glasgow
skipwich has quit [Ping timeout: 272 seconds]
skipwich_ is now known as skipwich
gsuberland[m] has quit [Quit: Idle timeout reached: 172800s]