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
<whitequark[cis]> but the sigrok decode is bullshit
<dirbaio[m]> "Probe-rs info" does funny stuff to probe all possible chips including with multidrop. Not sure how intended that is tho.
<dirbaio[m]> If it's doing it when actual debugging/flashing then it's definitely a bug.
<whitequark[cis]> q3k: can you give me a RUST_LOG=trace log of probe-rs
<q3k[cis]> On it
<whitequark[cis]> i think i know what this is but i want to verify first
<_whitenotifier-4> [glasgow] whitequark created branch revert-952-probe-rs-released - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [glasgow] whitequark opened pull request #953: Revert "Glasgow support is included in probe-rs release!" - https://github.com/GlasgowEmbedded/glasgow/pull/953
<q3k[cis]> Catherine: https://object.ceph-eu.hswaw.net/q3k-personal/5a712a735da6acd3548701e22e8df2131dfd283e9ec71538d3783589edc4d4bf.txt Snipped a bunch of junk from the front where it traversed my USB device tree printing everything verbosely. Let me know if you need that for some reason.
<q3k[cis]> (Also sorry about the ANSI colour codes, apparently env_logger or whatever this is doesn't check that it's outputting to a file and not a real TTY)
<_whitenotifier-4> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-953-96c2a7fb8f3622af8c7d4dff8102ed278535587f - https://github.com/GlasgowEmbedded/glasgow
<whitequark[cis]> oh i actually prefer the ANSI codes
<whitequark[cis]> helps me read it
<_whitenotifier-4> [GlasgowEmbedded/glasgow] github-merge-queue[bot] pushed 1 commit to main [+0/-0/±1] https://github.com/GlasgowEmbedded/glasgow/compare/96c2a7fb8f36...b49d9c5f77d4
<_whitenotifier-4> [GlasgowEmbedded/glasgow] whitequark b49d9c5 - Revert "applet.bridge.probe_rs: support included in probe-rs release!"
<_whitenotifier-4> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-953-96c2a7fb8f3622af8c7d4dff8102ed278535587f - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [glasgow] whitequark closed pull request #953: Revert "Glasgow support is included in probe-rs release!" - https://github.com/GlasgowEmbedded/glasgow/pull/953
<_whitenotifier-4> [glasgow] whitequark deleted branch revert-952-probe-rs-released - https://github.com/GlasgowEmbedded/glasgow
<whitequark[cis]> DEBUG probe_rs::architecture::arm::sequences: Performing SWD line reset
<whitequark[cis]> DEBUG probe_rs::architecture::arm::sequences: SelectV1 Dormant State (from JTAG)
<whitequark[cis]> TRACE probe_rs::architecture::arm::sequences: Sending Selection Alert sequence
<whitequark[cis]> yeah it's the dormancy shit
<whitequark[cis]> let me give you a REPL sequence that should do the trick
<whitequark[cis]> q3k: https://paste.debian.net/1385779/
<q3k[cis]> Catherine: yep, that works
<q3k[cis]> Thank you!
<whitequark[cis]> oh nice, first try
redstarcomrade has joined #glasgow
redstarcomrade has quit [Changing host]
redstarcomrade has joined #glasgow
<whitequark[cis]> this is with an RP2040
<whitequark[cis]> does... it require multidrop?
<q3k[cis]> Yes, I think so, because both cores are on two different DPs IIRC
<whitequark[cis]> (screaming internally)
<q3k[cis]> IIRC it's because the DP is integrated into the M0+ IP and thus they couldn't actually route it over an internal AP bus, hence the multidrop.
<whitequark[cis]> yeah okay makes sense
<q3k[cis]> Still exteremely unfortunate
<_whitenotifier-4> [glasgow] whitequark opened pull request #954: applet.interface.swd_probe: add DPv2 JTAG-to-SWD switching sequence - https://github.com/GlasgowEmbedded/glasgow/pull/954
<q3k[cis]> There's also a third, secret DP for rescue mode
<q3k[cis]> (RP2040 datasheet 2.12.6. Rescue Debug Port Reset)
<q3k[cis]> whitequark[cis]: Testing.
<whitequark[cis]> hm while i'm at it i might also add API docs
<q3k[cis]> > `ModuleNotFoundError: No module named 'amaranth.vendor.lattice_ice40'`
<q3k[cis]> ugh what now
<q3k[cis]> (I'll figure it out)
<whitequark[cis]> probably you got a wrong amaranth version somehow
<whitequark[cis]> actually no, glasgow main doesn't have lattice_ice40
<whitequark[cis]> s/have/use/, s/lattice_ice40/lattice\_ice40/
<q3k[cis]> Oh yeah sorry I just grabbed an absolutely random checkout
<q3k[cis]> Yeah, PEBKAC, I guess I'm a bit tired and didn't notice that the git checkout failed.
<q3k[cis]> Confirming working on 6cd17928b114630b8db3e5968ebc3f86c1eb74af
lxdr533 has quit [Remote host closed the connection]
lxdr533 has joined #glasgow
<_whitenotifier-4> [glasgow] whitequark synchronize pull request #954: applet.interface.swd_probe: add DPv2 JTAG-to-SWD switching sequence - https://github.com/GlasgowEmbedded/glasgow/pull/954
<whitequark[cis]> thanks!
<_whitenotifier-4> [glasgow] q3k commented on pull request #954: applet.interface.swd_probe: add DPv2 JTAG-to-SWD switching sequence - https://github.com/GlasgowEmbedded/glasgow/pull/954#issuecomment-3067488691
<_whitenotifier-4> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-954-b49d9c5f77d4eed17b83517f999416b7df3aff66 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-954-b49d9c5f77d4eed17b83517f999416b7df3aff66 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [glasgow] whitequark synchronize pull request #954: applet.interface.swd_probe: add DPv2 JTAG-to-SWD switching sequence - https://github.com/GlasgowEmbedded/glasgow/pull/954
<_whitenotifier-4> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-954-b49d9c5f77d4eed17b83517f999416b7df3aff66 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [GlasgowEmbedded/glasgow] github-merge-queue[bot] pushed 2 commits to main [+0/-0/±5] https://github.com/GlasgowEmbedded/glasgow/compare/b49d9c5f77d4...28216bddec17
<_whitenotifier-4> [GlasgowEmbedded/glasgow] whitequark 797986e - applet.interface.swd_probe: add DPv2 JTAG-to-SWD switching sequence.
<_whitenotifier-4> [GlasgowEmbedded/glasgow] whitequark 28216bd - applet.interface.swd_probe: add API docs to manual.
<_whitenotifier-4> [glasgow] whitequark closed pull request #954: applet.interface.swd_probe: add DPv2 JTAG-to-SWD switching sequence - https://github.com/GlasgowEmbedded/glasgow/pull/954
<_whitenotifier-4> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-954-b49d9c5f77d4eed17b83517f999416b7df3aff66 - https://github.com/GlasgowEmbedded/glasgow
<q3k[cis]> Looking good
<_whitenotifier-4> [glasgow] whitequark opened pull request #955: manual: intro: add link to `memory-24x` - https://github.com/GlasgowEmbedded/glasgow/pull/955
<_whitenotifier-4> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-955-28216bddec177ecd3fbf6d184cb91d0ba3ba9ad6 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [GlasgowEmbedded/glasgow] github-merge-queue[bot] pushed 1 commit to main [+0/-0/±1] https://github.com/GlasgowEmbedded/glasgow/compare/28216bddec17...a321f69ac0ba
<_whitenotifier-4> [glasgow] whitequark closed pull request #955: manual: intro: add link to `memory-24x` - https://github.com/GlasgowEmbedded/glasgow/pull/955
<_whitenotifier-4> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-955-28216bddec177ecd3fbf6d184cb91d0ba3ba9ad6 - https://github.com/GlasgowEmbedded/glasgow
redstarcomrade has quit [Read error: Connection reset by peer]
redstarcomrade has joined #glasgow
redstarcomrade has quit [Changing host]
redstarcomrade has joined #glasgow
redstarcomrade has quit [Read error: Connection reset by peer]
<whitequark[cis]> q3k: i have obtained an rp2350
Foxyloxy has quit [Read error: Connection reset by peer]
whitequark[cis] has quit [Quit: Reconnecting]
whitequark[cis] has joined #glasgow
whitequark[cis] has quit [Client Quit]
whitequark[cis] has joined #glasgow
q3k[cis] has quit [Quit: Bridge terminating on SIGTERM]
_catircservices has quit [Quit: Bridge terminating on SIGTERM]
miek__[m] has quit [Quit: Bridge terminating on SIGTERM]
zyp[m] has quit [Quit: Bridge terminating on SIGTERM]
galibert[m] has quit [Quit: Bridge terminating on SIGTERM]
Attie[m] has quit [Quit: Bridge terminating on SIGTERM]
dirbaio[m] has quit [Quit: Bridge terminating on SIGTERM]
whitequark[cis] has quit [Quit: Bridge terminating on SIGTERM]
_catircservices has joined #glasgow
_catircservices has quit [Quit: Bridge terminating on SIGTERM]
_catircservices has joined #glasgow
Foxyloxy has joined #glasgow
redstarcomrade has joined #glasgow
redstarcomrade has joined #glasgow
redstarcomrade has quit [Changing host]
redstarcomrade has quit [Read error: Connection reset by peer]
redstarcomrade has joined #glasgow
redstarcomrade has quit [Changing host]
redstarcomrade has joined #glasgow
dne has quit [Remote host closed the connection]
dne has joined #glasgow
redstarcomrade has quit [Read error: Connection reset by peer]