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]> <miek__[m]> "one problem i'm seeing is that..." <- no, there are no known issues, all i did was to change the frontend for the i2c gateware a bit
<_whitenotifier-4> [glasgow] Sazzach commented on pull request #742: access.direct.demultiplexer: add ability for applets to override default USB transfer settings. - https://github.com/GlasgowEmbedded/glasgow/pull/742#issuecomment-3066602273
<_whitenotifier-4> [glasgow] whitequark commented on pull request #742: access.direct.demultiplexer: add ability for applets to override default USB transfer settings. - https://github.com/GlasgowEmbedded/glasgow/pull/742#issuecomment-3066613706
<_whitenotifier-4> [glasgow] whitequark synchronize pull request #946: Modernize `sensor-sen5x` applet - https://github.com/GlasgowEmbedded/glasgow/pull/946
<whitequark[cis]> miek__: PR updated, let me know if you figure out something wrt I2C NAKs
anubis has quit [Ping timeout: 248 seconds]
<_whitenotifier-4> [glasgow] whitequark synchronize pull request #948: Flush IN FIFO once per microframe - https://github.com/GlasgowEmbedded/glasgow/pull/948
<_whitenotifier-4> [glasgow] whitequark commented on pull request #948: Flush IN FIFO once per microframe - https://github.com/GlasgowEmbedded/glasgow/pull/948#issuecomment-3066750262
<_whitenotifier-4> [glasgow] whitequark synchronize pull request #946: Modernize `sensor-sen5x` applet - https://github.com/GlasgowEmbedded/glasgow/pull/946
<_whitenotifier-4> [glasgow] whitequark opened pull request #949: Formally deprecate V1 applets and print a warning when running one - https://github.com/GlasgowEmbedded/glasgow/pull/949
<_whitenotifier-4> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-949-276a4a52611cb21aeae68bb2e185bb1fcd925c6d - 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/276a4a52611c...e62a5a213b66
<_whitenotifier-4> [GlasgowEmbedded/glasgow] whitequark e62a5a2 - cli: warn when running a V1 applet.
<_whitenotifier-4> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-949-276a4a52611cb21aeae68bb2e185bb1fcd925c6d - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [glasgow] whitequark closed pull request #949: Formally deprecate V1 applets and print a warning when running one - https://github.com/GlasgowEmbedded/glasgow/pull/949
<_whitenotifier-4> [GlasgowEmbedded/archive] whitequark pushed 1 commit to main [+2/-0/±0] https://github.com/GlasgowEmbedded/archive/compare/67636f621e69...6317e3df9a40
<_whitenotifier-4> [GlasgowEmbedded/archive] whitequark 6317e3d - Add G00104, G00105.
<_whitenotifier-4> [glasgow] whitequark opened pull request #950: Modernize `memory-24x` applet - https://github.com/GlasgowEmbedded/glasgow/pull/950
<_whitenotifier-4> [glasgow] whitequark opened pull request #951: CI: make test runner verbose - https://github.com/GlasgowEmbedded/glasgow/pull/951
<_whitenotifier-4> [glasgow] whitequark synchronize pull request #950: Modernize `memory-24x` applet - https://github.com/GlasgowEmbedded/glasgow/pull/950
<_whitenotifier-4> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-951-e62a5a213b666044ad7d1b51ae894dc3756518b7 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-950-17797fde03a57ccb7b1e3141adec082c13baf2e0 - 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/e62a5a213b66...17797fde03a5
<_whitenotifier-4> [glasgow] whitequark closed pull request #951: CI: make test runner verbose - https://github.com/GlasgowEmbedded/glasgow/pull/951
<_whitenotifier-4> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-951-e62a5a213b666044ad7d1b51ae894dc3756518b7 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [glasgow] whitequark synchronize pull request #950: Modernize `memory-24x` applet - https://github.com/GlasgowEmbedded/glasgow/pull/950
<_whitenotifier-4> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-950-17797fde03a57ccb7b1e3141adec082c13baf2e0 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [glasgow] whitequark synchronize pull request #948: Flush IN FIFO once per microframe - https://github.com/GlasgowEmbedded/glasgow/pull/948
<_whitenotifier-4> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-950-17797fde03a57ccb7b1e3141adec082c13baf2e0 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [GlasgowEmbedded/glasgow] github-merge-queue[bot] pushed 1 commit to main [+4/-0/±3] https://github.com/GlasgowEmbedded/glasgow/compare/17797fde03a5...f54b541bdb03
<_whitenotifier-4> [GlasgowEmbedded/glasgow] whitequark f54b541 - applet.memory.24x: migrate to V2 API, add test.
<_whitenotifier-4> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-950-17797fde03a57ccb7b1e3141adec082c13baf2e0 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [glasgow] whitequark closed pull request #950: Modernize `memory-24x` applet - https://github.com/GlasgowEmbedded/glasgow/pull/950
<_whitenotifier-4> [glasgow] whitequark synchronize pull request #948: Flush IN FIFO once per microframe - https://github.com/GlasgowEmbedded/glasgow/pull/948
<_whitenotifier-4> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-948-f54b541bdb0325c44c8e62ad2e0c9bfd1e4d1483 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [GlasgowEmbedded/glasgow] github-merge-queue[bot] pushed 3 commits to main [+0/-0/±16] https://github.com/GlasgowEmbedded/glasgow/compare/f54b541bdb03...73a91184d5fd
<_whitenotifier-4> [GlasgowEmbedded/glasgow] whitequark fe3b4bb - applet.interface.uart: docstring style. NFC
<_whitenotifier-4> [GlasgowEmbedded/glasgow] whitequark 23834da - applet.bridge.jtag_xvc: modernize. NFC
<_whitenotifier-4> [GlasgowEmbedded/glasgow] whitequark 73a9118 - gateware.fx2_crossbar: flush IN FIFO once per microframe.
<_whitenotifier-4> [glasgow] whitequark closed pull request #948: Flush IN FIFO once per microframe - https://github.com/GlasgowEmbedded/glasgow/pull/948
<_whitenotifier-4> [glasgow] whitequark closed issue #794: Get rid of explicit flush / autoflush as currently implemented - https://github.com/GlasgowEmbedded/glasgow/issues/794
<_whitenotifier-4> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-948-f54b541bdb0325c44c8e62ad2e0c9bfd1e4d1483 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [glasgow] whitequark closed issue #263: applet.interface.uart: high Baud rates drop data - https://github.com/GlasgowEmbedded/glasgow/issues/263
<miek__[m]> doh, it just needed some delay before issuing the i2c read
<whitequark[cis]> there was already code that delayed the read, was that not enough?
<miek__[m]> it needed to be done for all of the commands that read some data, not just the measurement
<miek__[m]> i pushed a proposed fix & a little patch for the migration commit: https://github.com/miek/Glasgow/commits/modernize-sensor-sen5x/
<_whitenotifier-4> [glasgow] whitequark synchronize pull request #946: Modernize `sensor-sen5x` applet - https://github.com/GlasgowEmbedded/glasgow/pull/946
<whitequark[cis]> miek__: thanks, can you check the PR one more time before i hit merge?
<miek__[m]> lgtm!
q3k[cis] has joined #glasgow
<q3k[cis]> Hm, I'm trying to use the swd-probe applet to explore some semi-documented ICs, but the applet throws a g.applet.interface.swd_probe: communication error. Tried to just use it with an RP2350 (Pi Pico 2, known working), same error.
<q3k[cis]> Here's a logic analyzer trace, although when I run the LA in parallel with glasgow then the applet gets stuck, and on Ctrl-C I get a usb1.USBErrorNoMem: LIBUSB_ERROR_NO_MEM somewhere along the stack trace, so I'm not sure this is even a correct measurement.
Foxyloxy has quit [Read error: Connection reset by peer]
<q3k[cis]> Am I missing something, or does this not exactly look like how an SWD trace is supposed to be? My only reference is https://research.kudelskisecurity.com/2019/05/16/swd-arms-alternative-to-jtag/ though, so I can't say I'm ready to say this is actually bad.
<q3k[cis]> (git checkout 276a4a52611cb21aeae68bb2e185bb1fcd925c6d)
Foxyloxy has joined #glasgow
redstarcomrade has joined #glasgow
redstarcomrade has quit [Changing host]
redstarcomrade has joined #glasgow
icanc[m] has quit [Quit: Idle timeout reached: 172800s]
puck has quit [Remote host closed the connection]
puck has joined #glasgow
redstarcomrade has quit [Read error: Connection reset by peer]
esden[m] has quit [Quit: Idle timeout reached: 172800s]
redstarcomrade has joined #glasgow
redstarcomrade has quit [Changing host]
redstarcomrade has joined #glasgow
ih8c0ff33[m] has quit [Quit: Idle timeout reached: 172800s]
<whitequark[cis]> @q3k there are no known issues with the SWD applet, but anyway, i'd like a full log and a savefile for analysis
<whitequark[cis]> also, do i understand it right that the act of connecting your saleae in parallel breaks the applet?
<q3k[cis]> Connecting and running, yes.
<q3k[cis]> I assume some USB bandwidth contention issue.
<whitequark[cis]> oh, no
<whitequark[cis]> it's a dumbass linux thing
<whitequark[cis]> it's helpfully preventing you from running out of DMA-low memory. for XHCI. because incompetence
<galibert[m]> more lemmings
<whitequark[cis]> there's a sysfs knob to remove the limit
<whitequark[cis]> well, i mean you can raise it as far as it goes, it's totally artificial
<whitequark[cis]> take a look at hardware/assembly.py, that has the exact path (i'm on mobile)
<q3k[cis]> Yeah I've been there already before for unrelated reasons and have seen the comment block. I've just forgotten about it since.
redstarcomrade has quit [Read error: Connection reset by peer]
<q3k[cis]> Anyway, how do I generate a 'savefile'?
<_whitenotifier-4> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-946-73a91184d5fd1c58d191e1cd7759497f31554165 - https://github.com/GlasgowEmbedded/glasgow
<q3k[cis]> (I'm not ready to call this a Glasgow issue still, BTW - I'm still trying to reproduce things with other probes, targets, etc.)
<q3k[cis]> (Wanna use this as an opportunity to both learn more about SWD and maybe contribute some Glasgow code. Just knowing that it should work is a good signal for me.)
<_whitenotifier-4> [GlasgowEmbedded/glasgow] github-merge-queue[bot] pushed 4 commits to main [+3/-0/±6] https://github.com/GlasgowEmbedded/glasgow/compare/73a91184d5fd...8dc447f5f4e8
<_whitenotifier-4> [GlasgowEmbedded/glasgow] whitequark b38b4fb - applet.sensor.scd30: remove unreachable code.
<_whitenotifier-4> [GlasgowEmbedded/glasgow] whitequark e353846 - applet.sensor.sen5x: migrate to V2 API and add test.
<_whitenotifier-4> [GlasgowEmbedded/glasgow] whitequark b014a4b - applet.sensor.sen5x: set @miek as code owner.
<_whitenotifier-4> [GlasgowEmbedded/glasgow] miek 8dc447f - applet.sensor.sen5x: add delay before I2C reads
<_whitenotifier-4> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-946-73a91184d5fd1c58d191e1cd7759497f31554165 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [glasgow] whitequark closed pull request #946: Modernize `sensor-sen5x` applet - https://github.com/GlasgowEmbedded/glasgow/pull/946
<whitequark[cis]> q3k[cis]: yes, this sounds great! the SWD applet is one of the very new ones and I think the code is quite clean and should be fairly reliable
<whitequark[cis]> it also has simulation tests
<whitequark[cis]> you can run your entire command set in simulation and load the VCD in saleae (probably) and check that it's not an electrical issue
<whitequark[cis]> I did this a few times while developing and it's very helpful
<whitequark[cis]> <q3k[cis]> "Anyway, how do I generate a '..." <- I mean hit ctrl+s in the LA
<q3k[cis]> Qh!
<q3k[cis]> *Ah!
<whitequark[cis]> for glasgow, there is -L option
<q3k[cis]> BTW, is there any plan to restore functionality to dump traces to VCD while glasgow applets are running? I think this could be useful for me here, at least so I can get rid of the logic analyzer from the debugging setup - as long as the trace VCDs could be trusted.
<q3k[cis]> (or is this not how that feature worked?)
<whitequark[cis]> this would be specifically very hard for the SWD applet because it uses DDR buffers
<q3k[cis]> Ah, okay
<whitequark[cis]> it's possible to capture and postprocess but it's very not trivial
<q3k[cis]> Then it's fine, I'll stick to using the LA, I'll just have to invest a bit more time into my setup to make it easier for me to switch things around when needed.
<whitequark[cis]> the feature predates the widespread use of IO buffers and Amaranth lib.io which it's not very compatible with
<whitequark[cis]> so, one more thing you want to know about SWF
<whitequark[cis]> s/SWF/SWD/
<whitequark[cis]> it has three phases: command, status, and (sometimes) data
<whitequark[cis]> most probes always blast enough cycles in a row to advance the DUT through all of them. glasgow is different, and will sometimes pause in the middle for flow control reasons. this can make traces look "weird" if you've only ever looked at like, stlink before
<whitequark[cis]> (this is a part of what makes it the fastest probe supported by probe-rs)
<q3k[cis]> Right, that's what I think confused me at first.
<q3k[cis]> I set the frequency lower (100kHz, I think), just to get a 'pretty' trace and just in case I was hitting some weird edge cases in the targets I was trying to connect to, but I still couldn't get them to talk to me. Anyway, this is on me to debug further, I'll report back with my findings when I have some.
<whitequark[cis]> i've sadly seen this sort of stuff before
<whitequark[cis]> including with non glasgow probes
<whitequark[cis]> have you tried improving EMI resistance of your setup?
<q3k[cis]> It should be pretty good - short wires, good grounding.
<q3k[cis]> I'm using the same techniques I always use which I trust and generally work well.
<whitequark[cis]> (inline 100 ohm resistors on both swdio and swclk plus twist with ground wires)
<whitequark[cis]> ah, okay
<whitequark[cis]> i've also seen SW-DPs just be... weird
<whitequark[cis]> oh also this is a DPv3
<q3k[cis]> Right, which is a whole can of worms to deal with, but that's not even what I want to debug.
<whitequark[cis]> it probably has the multidrop/dormancy features which i do not fully implement
<q3k[cis]> This is just a Pi Pico 2 that I'm using as a victim.
<whitequark[cis]> like i don't emit some of the possible sequences
<whitequark[cis]> oh okay
<q3k[cis]> The RP2040 definitely does SWD multidrop for dumb reasons, but I think the RP2350 is pretty sane?
<whitequark[cis]> i thought if you do a DPv3 port you have to do the dormancy stuff
<whitequark[cis]> not sure tho
<whitequark[cis]> i've only read thru ADIv5.2
<q3k[cis]> I wouldn't be able to tell, I haven't read a single page of any spec on this
<q3k[cis]> Anyway time to move to the real target, which is a CH582M :)
dirbaio[m] has joined #glasgow
<dirbaio[m]> rp2350 doesn't do multidrop, but it's a very early adopter of ADIv6
<whitequark[cis]> the "LEG BoreSight" part of it is painfully accuratr
<whitequark[cis]> there is a document. it is mostly very exhaustive. it is not *that* long.
<whitequark[cis]> you have to do 10-20 passes over it to just *begin* to understand the goddamn thibg
<whitequark[cis]> s/thibg/thing/
<whitequark[cis]> s/accuratr/accurate/
<dirbaio[m]> lol
<q3k[cis]> Like the JEDEC MMC specs?
<whitequark[cis]> am i wrong?
<whitequark[cis]> q3k[cis]: yes. it is more difficult to understand but shorter
<whitequark[cis]> the silver lining is that the design is actually quite good
<whitequark[cis]> it's just desrcibed in an absolutely bonkers way
<whitequark[cis]> s/desrcibed/described/
<whitequark[cis]> one of those specs which make sense only if you already know the spec
<dirbaio[m]> the design is a bit weird, it has more layers than an onion
<dirbaio[m]> (imo)
<whitequark[cis]> yes, but if you've seen the ARM7 or the ARM11 debug ports you'll understand why
<whitequark[cis]> it *is* weirdly layered, i don't dispute that. it could be better. but it is still good
<q3k[cis]> This is the sort of shit that I was in particular referring to.
<q3k[cis]> I wish anyone who names commands after numbers to go step on a duplo brick
<whitequark[cis]> it's a massive improvement on basically anything that came before and many things that came after
<dirbaio[m]> fault handling is bonkers. faults are delayed by 0 or 1 transactions depending on which layer they come from
<dirbaio[m]> which makes it impossible to implement the layers separately
<q3k[cis]> (this is SD and not MMC but it's the same difference)
<whitequark[cis]> oh yeah AP and DPs are not really layered on top of one another, it's like IP and ICMP kinda
<whitequark[cis]> q3k[cis]: i recently made a glasgow sd card protocol decoder. i did not turn it into an applet because ... this
<whitequark[cis]> (well, spi sd)
<q3k[cis]> .oO(The LOST 4 8 15 16 23 42 numbers are just SD/MMC command numbers to initiate a transfer)
<whitequark[cis]> dirbaio[m]: i think most of the SWD crimes are down to it being made by RTL engineers who love pipelining
<galibert[m]> like you only need 6 commands
<whitequark[cis]> i think its like 8 or somethih
<whitequark[cis]> s/somethih/something/
<q3k[cis]> (of course it's there https://oeis.org/A104101 )
<tpw_rules> oh i thought you were going to link the sd/mmc initialization sequence
<tpw_rules> (as numbers of an OEIS sequence)
<q3k[cis]> Ah, I figured out what was going on with my RP2350 SWD-from-Glasgow issues: it works only if I first run probe-rs info via a picoprobe first. If I then powercycle the target it doesn't work anymore. I'll gather some proper traces to support this.
<q3k[cis]> * Ah, I think I figured out what was going on with my RP2350 SWD-from-Glasgow issues: it works only if I first run probe-rs info via a picoprobe first. If I then powercycle the target it doesn't work anymore. I'll gather some proper traces to support this.
<whitequark[cis]> does it work if you do probe-rs via glasgow?
<whitequark[cis]> i have just found an rp2350 in a box so i might try it out
<q3k[cis]> whitequark[cis]: How do I do that?
<q3k[cis]> whitequark[cis]: I can also give you a Pulseview session if you want
<whitequark[cis]> q3k[cis]: glasgow run probe-rs, then follow the instructions
<q3k[cis]> Ok
<whitequark[cis]> (you need probe-rs from git)
<q3k[cis]> Ah, that's how it's called, I missed it
<whitequark[cis]> what did you expect it to be called?
<q3k[cis]> swd-probe-rs or something :)
<q3k[cis]> (unfortunate name clash with swd-probe, but I still expected it to be prefixed with swd)
<q3k[cis]> probe-rs via glasgow gives me something yet different:
<q3k[cis]> Ah no, now it works - I think this was because the picoprobe is not exactly fully disconnecting from the SWD bus when it's not active (for the issue I mentioned above though, I did verify with the picoprobe disconnected before and after the initial 'kickstart' to make sure that's not the problem, but I did still capture the trace with it connected, that's why there might be retries or other contention effects).
<whitequark[cis]> <q3k[cis]> "swd-probe-rs or something :)" <- it will have a JTAG mode too in the future (it already has a multiplexing layer)
<whitequark[cis]> i eventually decided to drop the protocol name from the bridge applets for the most part
<whitequark[cis]> (the docs on the website should help locating applets)
<q3k[cis]> <q3k[cis]> "Ah no, now it works - I think..." <- No, nevermind, this still seems quite flakey even with the picoprobe fully out of the loop by now.
<whitequark[cis]> interesting. let me see if i can repro
<q3k[cis]> Glasgow 276a4a52611cb21aeae68bb2e185bb1fcd925c6d, probe-rs a54f062f85a672f9007e35bedd3057e2dacb2dfd. RP2350 on a Pico 2 (non-W). Reproducible with the Glasgow connected directly to the SWD pins on the Pico. Pico is powered over USB.
<q3k[cis]> Oh yeah the clock/data when controlled via probe-rs over the Glasgow look very unusual :)
<whitequark[cis]> yeah, the unusualness is expected and desired, it's what lets me poll for WAIT without having to involve the host at all
<whitequark[cis]> which should dramatically improve performance over slow links
<whitequark[cis]> holdon, i only have a raspberry pi pico (unversioned)
<q3k[cis]> Yeah, that's an RP2040
<q3k[cis]> I think I can still do a nice repro pulse view session if you give me a few more minutes.
<whitequark[cis]> yeah
<q3k[cis]> I just have to fight my tools tooth and nail, including PulseView which crashes my logic analyzer after one capture.
<whitequark[cis]> ok i ordered an rp2350 board with delivery in 13h
<_whitenotifier-4> [glasgow] whitequark opened pull request #952: Glasgow support is included in probe-rs release! - https://github.com/GlasgowEmbedded/glasgow/pull/952
<whitequark[cis]> oh, this is a very slow decode
<q3k[cis]> Yeah, it was an even slower save.
<_whitenotifier-4> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-952-8dc447f5f4e8bafbc5536a058215542c8ce3fafd - https://github.com/GlasgowEmbedded/glasgow
<whitequark[cis]> okay, wtf is going on here.
<whitequark[cis]> the added problem is that pulseview's swd decoder is not the greatest either
<q3k[cis]> yeah it's making shit up
<whitequark[cis]> the big thing in the middle probe-rs with picoprobe?
<q3k[cis]> Yes
<q3k[cis]> And it ends up with a proper info dump about all the DPs and APs and everything - that's why it's so much data.
<whitequark[cis]> i really dislike how probe-rs does this massive blast of SELECT writes
<whitequark[cis]> it's slow and it makes debugging a pain in the ass
<dirbaio[m]> It's supposed to only write when needed (when bank changed). Is it not doing that?
<_whitenotifier-4> [GlasgowEmbedded/glasgow] github-merge-queue[bot] pushed 1 commit to main [+0/-0/±1] https://github.com/GlasgowEmbedded/glasgow/compare/8dc447f5f4e8...96c2a7fb8f36
<_whitenotifier-4> [GlasgowEmbedded/glasgow] whitequark 96c2a7f - applet.bridge.probe_rs: support included in probe-rs release!
<_whitenotifier-4> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-952-8dc447f5f4e8bafbc5536a058215542c8ce3fafd - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [glasgow] whitequark closed pull request #952: Glasgow support is included in probe-rs release! - https://github.com/GlasgowEmbedded/glasgow/pull/952
<whitequark[cis]> dirbaio: i think we're talking about different SELECTs
<dirbaio[m]> Ah :o
<whitequark[cis]> there's the multidrop one, DP SELECT i think
<whitequark[cis]> idk why probe-rs does this
<whitequark[cis]> i hate it
<whitequark[cis]> q3k: ok, i need real software instead of this bullshit
<dirbaio[m]> Is that rp2040?
<q3k[cis]> just one more DPIDR read bro i swear to god bro
<q3k[cis]> dirbaio: rp2350
<dirbaio[m]> And it's repeatedly doing line reset + targetsel? Is it selecting the same target every time?
<whitequark[cis]> on closer examination, it seems to be doing a very large amount of LINERESET+IDCODE
<whitequark[cis]> gets a NAK and repeats
<q3k[cis]> yep
<whitequark[cis]> i actually compared the sequences used by probe-rs and glasgow with each other when writing swd-probe
<whitequark[cis]> aside from that loop, they should be very similar
<whitequark[cis]> it looks like this is when the device starts answering: