whitequark[cis] changed the topic of #glasgow to: digital interface explorer · meetings Saturday 2200 UTC · 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
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #glasgow
redstarcomrade has joined #glasgow
redstarcomrade has joined #glasgow
redstarcomrade has quit [Changing host]
sknebel has quit [Server closed connection]
sknebel has joined #glasgow
redstarcomrade has quit [Read error: Connection reset by peer]
skipwich has quit [Quit: DISCONNECT]
skipwich has joined #glasgow
nafod has quit [Server closed connection]
nafod has joined #glasgow
redstarcomrade has joined #glasgow
redstarcomrade has quit [Changing host]
redstarcomrade has joined #glasgow
joerg has quit [Ping timeout: 255 seconds]
joerg has joined #glasgow
FireFly has quit [Server closed connection]
FireFly has joined #glasgow
GNUmoon has quit [Remote host closed the connection]
GNUmoon has joined #glasgow
Guest70 has joined #glasgow
nyanotech has quit [Quit: No Ping reply in 180 seconds.]
nyanotech has joined #glasgow
dos has quit [Ping timeout: 245 seconds]
Eli2 has joined #glasgow
dos has joined #glasgow
ar-jan has joined #glasgow
redstarcomrade has quit [Read error: Connection reset by peer]
pg12 has quit [Remote host closed the connection]
pg12 has joined #glasgow
brolin has joined #glasgow
DX-MON has quit [Server closed connection]
DX-MON has joined #glasgow
Griwes has quit [Server closed connection]
Griwes has joined #glasgow
brolin has quit [Ping timeout: 248 seconds]
notgull has quit [Ping timeout: 245 seconds]
brolin has joined #glasgow
notgull has joined #glasgow
brolin has quit [Ping timeout: 248 seconds]
redstarcomrade has joined #glasgow
redstarcomrade has quit [Changing host]
redstarcomrade has joined #glasgow
brolin has joined #glasgow
brolin has quit [Ping timeout: 245 seconds]
brolin has joined #glasgow
brolin has quit [Ping timeout: 258 seconds]
dzfranklin_ has quit [Server closed connection]
dzfranklin_ has joined #glasgow
brolin has joined #glasgow
Guest59 has joined #glasgow
Guest59 has quit [Client Quit]
siriusfox has quit [Server closed connection]
siriusfox has joined #glasgow
esden[m] has joined #glasgow
<esden[m]> Hey, just checking in to see if we will have our meeting today. 🙂
whitequark[cis]1 has joined #glasgow
<whitequark[cis]1> yeah I think so
<esden[m]> Great! 🙂
<esden[m]> attiegrande (@_discord_654094992221929502:catircservices.org) ?
Attie[m] has joined #glasgow
<Attie[m]> I should be around!
brolin has quit [Ping timeout: 246 seconds]
brolin has joined #glasgow
brolin has quit [Ping timeout: 248 seconds]
brolin has joined #glasgow
galibert[m] has joined #glasgow
<galibert[m]> It’s the midnight meeting right?
<esden[m]> 22:00 UTC (depends on your time zone what thit is for you)
<galibert[m]> Yeah midnight (Paris)
redstarcomrade has quit [Read error: Connection reset by peer]
notgull has quit [Ping timeout: 248 seconds]
notgull has joined #glasgow
<Attie[m]> o/ hi all
<Attie[m]> how are we doing?
<esden[m]> o/ 🙂
<electronic_eel> hi
<esden[m]> I am doing well. Ready for another meeting. 🙂
<Attie[m]> good to hear! :o
<Attie[m]> esden would you like to start us off?
<esden[m]> The cases are still ready to ship, glasgows are still waiting for the new firmware. I updated the paperwork to ship to Mouser, waiting for review by CrowdSupply. Then also shipping paperwork should be ready. I have not had time to work on the LVDS test plug or test jig. (swamped with consulting work right now)
<Attie[m]> fair enough, sounds like good progress on the paperwork front though
<esden[m]> Yes, they love to "update processes" aka "generate useless busywork"... I have done the "busy work"
<Attie[m]> doh...
<Attie[m]> is that peperwork between 1b2-cs-mouser?
<Attie[m]> *paperwork
<esden[m]> yes, it is just stuff like "packing list", "box labels indicating which box out of a series it is" and stuff like that.
<Attie[m]> gotcha
<esden[m]> this shipment will be at least 7 boxes... I have to recheck how many I filled it might be as many as 9
<electronic_eel> at least they don't want you to certify that you comply with the new XYZ regulation you have never heard of before...
<esden[m]> no regulation busywork is something I already took care of
<Attie[m]> 🥳
<esden[m]> fortunately they did not change processes on that front ... yet knock on wood
<Attie[m]> we're currently melting in the UK... and have a mega daddy-long-legs population
<galibert[m]> Right now the target is the first 200 units?
<Attie[m]> yes - the 200x early bird PCBAs are ready and waiting on a firmware update
<esden[m]> 204 to be exact but yes... we need to get those in the first shipment
<galibert[m]> Makes sense
<Attie[m]> and 1000x are cases ready for shipping too
<Attie[m]> *204 - i forgot about that 🙃
<esden[m]> lol... no worries I keep forgetting myself ... SMH
<Attie[m]> ... those lucy four people who snuck in ...
<Attie[m]> Catherine are you about?
<esden[m]> ok, do we have any other things we can discuss while we are waiting for Catherine?
esden[cis] has joined #glasgow
<esden[cis]> isabelburgos or nanographs you folks had some questions you wanted to be considered. Do I remember correctly?
<Attie[m]> Wanda was working on a replacement for bitarray, but it doesn't look like there's any public progress
<Attie[m]> aside from that, I'm not sure we have much more to discuss
Wanda[cis] has joined #glasgow
<Wanda[cis]> progress will return when I'm a little less broken.
<Attie[m]> that's fair enough - i hope you're doing okay
<Wanda[cis]> hahahaha.
<Wanda[cis]> no.
<Attie[m]> oh, sorry to hear that...
isabelburgos[m] has joined #glasgow
<isabelburgos[m]> If there's any way we can help we would be happy to spend some time on documentation or something
<esden[cis]> Wanda: I am sorry to hear that. I hope you are doing better soon.
<isabelburgos[m]> I have taken a lot of notes on how to use Glasgow for myself
<Attie[m]> please don't take any pressure on that work from me
<esden[cis]> same
<Attie[m]> good point - documentation is something I'd wanted to get a really good start on
<esden[cis]> Attie: you wanted to work on docs too... you should coordinate with isabelburgos
<whitequark[cis]1> aaaa sorry i completely missed the time
<Attie[m]> no worries! hello
<whitequark[cis]1> hi
<whitequark[cis]1> so, documentation
<whitequark[cis]1> I tend to be fairly picky about documentation and in Amaranth I've so far not accepted any outside contribution that wasn't discussed in detail with me beforehand
<whitequark[cis]1> for Glasgow I'm not going to go that far for sure, but I'd like to do some outlining to make sure we're on the same page, and I do want to get a consensus on the overall tone
<Attie[m]> I wrote this up a while back, seemed to have your approval
<Attie[m]> is that still the case? i'd like to try and split it up between willing & knowledgable people
<whitequark[cis]1> broadly speaking good! I do want to expand on each of the lines, do you think we can do this next meeting?
<Attie[m]> more tone is worth discussing further, and potentially some outlines if you've got the time
<whitequark[cis]1> I'm currently in Glasgow visiting a friend
<whitequark[cis]1> (yes, the city)
<Attie[m]> yes, sure
<whitequark[cis]1> (hence the missing meeting--we were listening to music >_>)
<Attie[m]> I'll try to put some time in ahead to add details, and perhaps get some proposed content
<whitequark[cis]1> yes please
<galibert[m]> Well, it is like the weekend and stuff
<Attie[m]> ha, have a rummage around, see if you find a wild PCBA!
<whitequark[cis]1> I really don't want to be on the critical path for Glasgow docs, but I also don't want to accept something I don't feel good distributing to people...
<Attie[m]> i understand
<electronic_eel> isabelburgos[m]: your notes how to use glasgow for yourself - are these like recipes for some maybe common usecases? maybe we could expand the examples section with something like this
<Attie[m]> happy to discuss further with you outside the meeting, and if we're aligned, perhaps I can take on coordinating the docs
<whitequark[cis]1> yep sounds good to me
<Attie[m]> great
<isabelburgos[m]> electronic_eel: Yeah something like that. Mostly code snippets that I scavenged from the other working applets
<esden[cis]> isabelburgos: sbtw... you are welcome to share what you guys were/are working on using the glasgows. ;) Even photos if you have some... I think people would be excited to see it.
<esden[cis]> isabelburgos: no pressure though...
<Attie[m]> isabelburgos sounds good - have you made them public anywhere? do you have notes from CLI usage / "writing an applet" / etc...? and what platform are you on? (would be great to get a Windows/macOS user to help with setup docs)
<isabelburgos[m]> Not public yet but planning to upload them to nanographs knowledge base asap
<isabelburgos[m]> I'm on m1 mac
<Attie[m]> ok - if you're willing to share a link when it's done, that would be great
<Attie[m]> and re M1: fantastic!
<Attie[m]> can I put you down as interested to contribute to docs in the minutes?
<isabelburgos[m]> for sure!
<Attie[m]> thanks
<Attie[m]> [ohh, time does funny things to me... how was #312 written in March?!]
nanographs[m] has joined #glasgow
<nanographs[m]> Go ahead and sign me up to
<esden[cis]> I can also test the setup instructions on M2 mac.
<Attie[m]> oh amazing, thanks both
<esden[cis]> ohh and intel iMac I have that too around here.
<Attie[m]> good stuff
<Attie[m]> Catherine is there anything else you'd like to discuss today?
<Attie[m]> a logo is in the back of my mind
<esden[cis]> Catherine: do you have any new estimate when you might be able to get around to the firmware update?
<whitequark[cis]1> next weekend
<whitequark[cis]1> I'll try to fit it in before that and I do really want to take a vacation
<whitequark[cis]1> but next weekend is when I'll definitely have some time for it
<esden[cis]> Ok sounds good, thank you! :)
<Attie[m]> thanks Catherine!
<nanographs[m]> Just curious, and I am sure its somewhere that I just haven't seen, what is in the firmware update?
<electronic_eel> iirc it is mostly to fix an issue when connecting a glasgow to windows the first time https://github.com/GlasgowEmbedded/glasgow/issues/382
<Attie[m]> There is an issue with the way the FX2 firmware handles USB EP0... it's not been a problem on Linux/Mac(?), but has caused a hiccup on Windows...
<Attie[m]> it's "technically wrong", and we'd like it to be resolved before unit are shipped
<Attie[m]> thanks for the link electronic_eel, I was just about to grab it
<Attie[m]> (and I hope my one-line summary is sensical)
<Attie[m]> Is there anything else to discuss today?
<Attie[m]> otherwise I'll bring the meeting to a close and prepare the minutes
<esden[cis]> Thank you Attie for coordinating and thank you all for taking the time for the meeting. :)
<nanographs[m]> While yall are here, does anyone have an example of setting up the LVDS pins from within applet code?
<Attie[m]> No problem, thanks all... I'll get the minutes out soon
<esden[cis]> nanographs: I assume that is based on the fact that the connector was removed from the board definition? Not sure if that already happened or not, but I saw that it was discussed in the past. I think you should be able to request the pins from within the applet. I don't have example code though.
<nanographs[m]> Yeah we have our own resources defined in platform right now, haven't quite figure out requesting them from the applet
_whitenotifier-1 has joined #glasgow
<_whitenotifier-1> [glasgow] attie opened pull request #392: meetings: add minutes from 2023-09-02 - https://github.com/GlasgowEmbedded/glasgow/pull/392
<Attie[m]> the LVDS connector is defined, but I don't know off the top of my head how to get hold of it
<esden[cis]> you do platform.add_resources(connector) iirc
<esden[cis]> at leastin regards to amaranth itself
<esden[cis]> ok you added it directly as an existing resource
<nanographs[m]> Yeah that's what we figured out first
<esden[cis]> https://github.com/icebreaker-fpga/icebreaker-amaranth-examples/blob/master/icebreaker/tristate_blink/tristate_blink.py here I create a pmod attached to the board as a resource. That I then add to the platform and request again.
<esden[cis]> but I am sure we have people here that are better at amaranth than I am and can give you a better solution
<nanographs[m]> This is very helpful
<esden[cis]> for reference this is the board file for icebreaker https://github.com/amaranth-lang/amaranth-boards/blob/main/amaranth_boards/icebreaker.py
<electronic_eel> nanographs[m]: and when you connect something to the lvds, don't forget that your addon has to supply the correct io voltage into glasgow
<esden[cis]> reading my own code (it has been a while) the resource references a connector it is attached to
<esden[cis]> he does know that ... they already have working hardware :D
<esden[cis]> but good call electronic_eel
<nanographs[m]> electronic_eel: This took us about 3 days to figure out until we asked Catherine
<Attie[m]> esden for icebreaker, how to you "get" a pmot connector?
<Attie[m]> s/pmot/pmod/
<esden[cis]> you don't get it... you create a resource that defines the signals on the Pmod... and connect it to the connector... then it maps the pins accordingly and you reference the signals in the namespace of the pmod used
<Attie[m]> ahh, of course... sorry 🤦‍♀️
<Attie[m]> engage brain
<esden[cis]> no worries... I had to reread my own code a few times to remember how this works :D
<esden[cis]> Pins("1 2 3 4 7 8 9 10", dir="oe", conn=("pmod", 0) connects to the Pmod 0 aka PMOD1A
<esden[cis]> so I end up having a vector of tristate pins
brolin has quit [Ping timeout: 248 seconds]
<esden[cis]> still... I am not sure how I access "platform" from within an applet
<esden[cis]> An example how to access that connector will definitely be useful.
Raito_Bezarius has quit [Server closed connection]
Raito_Bezarius has joined #glasgow
<isabelburgos[m]> I think target.platform.add_resources([Resource]) inside of build() will accomplish this
<Attie[m]> i think so too
<isabelburgos[m]> you also have to import Resource from amaranth.build
<Attie[m]> just having a go at an example
brolin has joined #glasgow
V has quit [Server closed connection]
V has joined #glasgow
brolin has quit [Ping timeout: 248 seconds]
<Attie[m]> i'm not sure if this is the preferred way, but it works
<Attie[m]> as above, don't forget to feed VIO_AUX, but it sounds like you're on top of that already
<Attie[m]> you should see a ~5.7Hz signal
<Attie[m]> (on Pin 3 of the LVDS connector)
<Attie[m]> i've also just built the most basic do-nothing applet, which will be handy for documentation later
<Attie[m]> (ping isabelburgos)
redstarcomrade has joined #glasgow
redstarcomrade has joined #glasgow
redstarcomrade has quit [Changing host]
brolin has joined #glasgow
<Attie[m]> this shuffles things around a bit, probably a closer/nicer solution