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
itsmk has quit [Server closed connection]
itsmk has joined #glasgow
nafod has joined #glasgow
redstarcomrade has quit [Read error: Connection reset by peer]
skipwich has quit [Remote host closed the connection]
skipwich has joined #glasgow
redstarcomrade has joined #glasgow
redstarcomrade has quit [Changing host]
redstarcomrade has joined #glasgow
pitust has quit [Server closed connection]
pitust has joined #glasgow
Eli2 has quit [Server closed connection]
Eli2 has joined #glasgow
redstarcomrade has quit [Read error: Connection reset by peer]
smkz has quit [Quit: smkz]
esc_ctrl[m] has joined #glasgow
<esc_ctrl[m]> Can someone please give me a full example of the syntax for using memory-25x, including the pin assignment? I have been trying to figure this out for a half hour and even with an (possibly outdated) example I found online I am still getting errors that "A2" is not a valid argument, when I try to assign A2 to COPI
<esc_ctrl[m]> $ glasgow run memory-25x -V 5 --cs A3 --copi A2 --cipo A0 --wp A4 --hold A5 --sck A1 identify
<esc_ctrl[m]> Error: argument OPERATION: invalid choice "A2"
<esc_ctrl[m]> * Can someone please give me a full example of the syntax for using memory-25x, including the pin assignment? I have been trying to figure this out for a half hour and even with an (possibly outdated) example I found online I am still getting errors that "A2" is not a valid argument, when I try to assign A2 to COPI
<esc_ctrl[m]> .
<esc_ctrl[m]> * .
<esc_ctrl[m]> Error: argument OPERATION: invalid choice "A2"
<esc_ctrl[m]> Strangely it skips A3 which i pass in first with the same syntax 😵‍💫
<Michiel[m]> I think you need to use --io for copi, cipo, wp and hold
<esc_ctrl[m]> I found this example but I believe its outdated because the syntax used here also didn't work for me
<Michiel[m]> From the applet help:
<Michiel[m]> ` --io PINS bind the applet I/O lines 'copi', 'cipo', 'wp', 'hold' to PINS (default: 'A2,A4,A3,A0', required)`
<esc_ctrl[m]> Oh ok that works! Somehow the io pins have to be grouped, unlike other glasgow apps im used to where they are all assigned individually
<esc_ctrl[m]> Thanks
<esc_ctrl[m]> Can the help texts please include a full line example of the syntax in the future?
fibmod has joined #glasgow
redstarcomrade has joined #glasgow
ari has quit [Ping timeout: 256 seconds]
arachnist has joined #glasgow
arachnist is now known as ari
cr1901 has quit [Read error: Connection reset by peer]
cr1901 has joined #glasgow
sazzach[m] has joined #glasgow
<sazzach[m]> <Michiel[m]> Hi everyone,...
<sazzach[m]> I looked at the snippet you posted, and nothing stood out to me as wrong. If you provided a link to a git repo/tarball/equivalent containing your code, I'd be down to take a closer look/help you troubleshoot.
cr1901 has quit [Read error: Connection reset by peer]
cr1901 has joined #glasgow
cr1901 has quit [Read error: Connection reset by peer]
cr1901 has joined #glasgow
cr1901 has quit [Read error: Connection reset by peer]
cr1901 has joined #glasgow
<Michiel[m]> <sazzach[m]> I looked at the snippet you posted, and nothing stood out to me as wrong. If you provided a link to a git repo/tarball/equivalent containing your code, I'd be down to take a closer look/help you troubleshoot.
<Michiel[m]> You can find the complete code at https://github.com/msvisser/glasgow/blob/sd-spi-applet/software/glasgow/applet/memory/sd_spi/__init__.py . It might be a bit messy, but running `glasgow -v run memory-sd-spi -V A=3.3 test` should trigger the issue. Even without anything connected you should see the problem. The version on GitHub is slightly more complex, because I have added in some conditions to leave a state early, which means it also
<Michiel[m]> shows slightly different behaviour. This version goes through the `Command-Wait-For-Ready` after exchanging one byte (which is correct). Then it somehow only outputs 5 bytes in `Command-Transmit`, while it should output 6 bytes. And then in `Command-Receive` it gets stuck after the first byte.
coderobe has quit [Quit: Ping timeout (120 seconds)]
coderobe has joined #glasgow
f__ has joined #glasgow
trh_ has joined #glasgow
f_ has quit [Ping timeout: 248 seconds]
rcombs has quit [Ping timeout: 248 seconds]
trh has quit [Ping timeout: 248 seconds]
cyborg_ar has quit [Ping timeout: 248 seconds]
koolazer has quit [Ping timeout: 248 seconds]
XgF has quit [Remote host closed the connection]
Xesxen has quit [Read error: Connection reset by peer]
jn has quit [Ping timeout: 248 seconds]
FireFly has quit [Ping timeout: 248 seconds]
FireFly has joined #glasgow
jn has joined #glasgow
Jonimus has quit [Ping timeout: 248 seconds]
Xesxen has joined #glasgow
Jonimus has joined #glasgow
XgF has joined #glasgow
rcombs has joined #glasgow
koolazer has joined #glasgow
cyborg_ar has joined #glasgow
f__ is now known as f_
<sazzach[m]> <Michiel[m]> You can find the complete code at https://github.com/msvisser/glasgow/blob/sd-spi-applet/software/glasgow/applet/memory/sd_spi/__init__.py . It might be a bit messy, but running `glasgow -v run memory-sd-spi -V A=3.3 test` should trigger the issue. Even without anything connected you should see...
<sazzach[m]> Thanks, I'll take a close look later today
redstarcomrade has quit [Read error: Connection reset by peer]