<nemanjan00[m]>
whitequark (@_discord_182174208896401419:catircservices.org), is selftest applet broken or did I just random run selftest and discover my glasgow is broken? 😂
<whitequark[cis]>
applet itself is broken
<whitequark[cis]>
it's never fully worked on revC
<nemanjan00[m]>
Ok, just opened code. Maybe change error message from "broken" to "not implemented" 😂
<nemanjan00[m]>
You got me scared for a bit
<whitequark[cis]>
yeah that would be a good change
FFY00_ has quit [Read error: Connection reset by peer]
FFY00 has joined #glasgow
Fridtjof has quit [*.net *.split]
WilfriedKlaebe[m has quit [*.net *.split]
DragoonAethis has quit [*.net *.split]
sorear has quit [*.net *.split]
edef has quit [*.net *.split]
svenpeter has quit [*.net *.split]
alanvgreen has quit [*.net *.split]
mobius has quit [*.net *.split]
ePirat has quit [*.net *.split]
jdek has quit [*.net *.split]
ormiret has quit [*.net *.split]
rcombs has quit [*.net *.split]
gruetzkopf has quit [*.net *.split]
Fridtjof has joined #glasgow
DragoonAethis has joined #glasgow
edef has joined #glasgow
sorear has joined #glasgow
WilfriedKlaebe[m has joined #glasgow
mobius has joined #glasgow
alanvgreen has joined #glasgow
svenpeter has joined #glasgow
ePirat has joined #glasgow
jdek has joined #glasgow
ormiret has joined #glasgow
rcombs has joined #glasgow
gruetzkopf has joined #glasgow
Fridtjof has quit [*.net *.split]
WilfriedKlaebe[m has quit [*.net *.split]
DragoonAethis has quit [*.net *.split]
sorear has quit [*.net *.split]
edef has quit [*.net *.split]
svenpeter has quit [*.net *.split]
alanvgreen has quit [*.net *.split]
mobius has quit [*.net *.split]
ePirat has quit [*.net *.split]
jdek has quit [*.net *.split]
ormiret has quit [*.net *.split]
rcombs has quit [*.net *.split]
gruetzkopf has quit [*.net *.split]
Fridtjof has joined #glasgow
WilfriedKlaebe[m has joined #glasgow
DragoonAethis has joined #glasgow
edef has joined #glasgow
mobius has joined #glasgow
alanvgreen has joined #glasgow
ePirat has joined #glasgow
jdek has joined #glasgow
rcombs has joined #glasgow
gruetzkopf has joined #glasgow
ormiret has joined #glasgow
sorear has joined #glasgow
svenpeter has joined #glasgow
tomkeddie[m] has joined #glasgow
<tomkeddie[m]>
Pretty sure it's broken I tried to fix it a few years back but my implementation too simplistic. Check the issues on GitHub.
WilfriedKlaebe[m has quit [Quit: Idle timeout reached: 172800s]
redstarcomrade has joined #glasgow
lxdr51 has quit [Remote host closed the connection]
lxdr51 has joined #glasgow
notgull has joined #glasgow
notgull has quit [Ping timeout: 240 seconds]
redoxeon[m] has joined #glasgow
<redoxeon[m]>
Hello, I'm away from my computer at the moment, but I got my Glasgow about a week and a half ago, and tried it out the day I got it. I haven't done much since other than trying out some tests. I'm a software developer for work, but I haven't done anything embedded outside of hobby stuff (so far, but maybe I can do some at work sometime in the... (full message at
<tpw_rules>
the uart applet is just picking up noise which is why you are getting the errors. you can turn on a pullup to fix it
<tpw_rules>
the spi applet is probably not seeing anything, same sort of deal
<tpw_rules>
the selftest is broken
Attie[m] has joined #glasgow
<Attie[m]>
the UART applet is reporting "frame errors" - likely because the line is low, and that is indeed a framing error... try connecting it to itself (loopback) or something else
<Attie[m]>
SPI is full duplex, so it'll be clocking that data out, and I'd guess the CIPO signal is high (hence 0xff)
<Attie[m]>
selftest is indeed broken at the moment, as stated in the output
<Attie[m]>
so, no errors! 😀
<whitequark[cis]>
we should enable uart pullups by default, i think
<tpw_rules>
i would agree
sigstoat[m] has joined #glasgow
<sigstoat[m]>
redoxeon (@_discord_275303932610215937:catircservices.org) i'm just a happy user, but: i believe the uart thing is expected, since you don't have anything attached to the other end of the uart, so the RX pin is just flapping in the breeze. and yeah, the spi controller isn't going to return anything useful when it isn't attached to anything.
<sigstoat[m]>
you could maybe connect copi and cipo in a loopback fashion. same with the uart tx/rx.
<redoxeon[m]>
That makes sense, I'll try that out! The self test seems a bit concerning, but idk how to go about further testing or maybe fixing it. Idk if you do either?
<whitequark[cis]>
all devices are tested before shipping by 1b2
<whitequark[cis]>
the selftest has never ever worked with revC
<whitequark[cis]>
not fully
<duskwuff[m]>
the `mode pins-int is broken…` message is normal and doesn't indicate a problem with your Glasgow
<redoxeon[m]>
O i c
<sigstoat[m]>
never occurred to me to run it. but... yeah, what dusk said is what i've seen.
Wanda[cis] has joined #glasgow
<Wanda[cis]>
<whitequark[cis]> "we should enable uart pullups by..." <- seconded; I had to help someone with a similar problem a few days ago
<whitequark[cis]>
Wanda[cis]: want to send a pr?
<Wanda[cis]>
make --pulls the default and noop, add --no-pulls?
<Wanda[cis]>
... actually is there even a use for either of those
<Wanda[cis]>
I could just remove the option altogether
<whitequark[cis]>
yes
<whitequark[cis]>
kill it
<Wanda[cis]>
with a warning on revAB
<whitequark[cis]>
that is automatically done
<whitequark[cis]>
by generic code reacting to pulls