GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    ✧✦Catherine✦✧ (whitequark@mastodon.social)'s status on Sunday, 18-May-2025 03:34:22 JST ✧✦Catherine✦✧ ✧✦Catherine✦✧

    #GlasgowInterfaceExplorer now has a high-performance SPI analyzer! it runs at up to 100 MHz (with some caveats)

    as an example, I wrote this tiny script that extracts data from SD card SPI transactions and lets me reconstruct an image file that an embedded device is reading

    full code at: https://github.com/GlasgowEmbedded/glasgow/pull/817

    In conversation about 12 days ago from mastodon.social permalink

    Attachments


    1. https://files.mastodon.social/media_attachments/files/114/524/600/004/881/399/original/9ed0dbdad6681e5d.png

    2. https://files.mastodon.social/media_attachments/files/114/524/603/276/246/230/original/6676fee0190ad2ed.png
    3. Domain not in remote thumbnail source whitelist: opengraph.githubassets.com
      Add SPI analyzer applet by whitequark · Pull Request #817 · GlasgowEmbedded/glasgow
    • Embed this notice
      ✧✦Catherine✦✧ (whitequark@mastodon.social)'s status on Sunday, 18-May-2025 03:39:26 JST ✧✦Catherine✦✧ ✧✦Catherine✦✧
      in reply to

      to implement the SPI analyzer, I decided to clock the FPGA logic from the SPI clock directly instead of using the FPGA system clock (48 MHz), which would otherwise allow sampling SPI signals at up to 24 MHz; many real-world uses of SPI are above that (e.g. this SD card was clocked at 27 MHz, ECP5 configures at 65 MHz)

      the FPGA logic runs at about 120 MHz, but since nextpnr doesn't support constraining input delays, you'll most likely start having issues somewhere below that frequency

      In conversation about 12 days ago permalink
    • Embed this notice
      JP (froztbyte@mastodon.social)'s status on Sunday, 18-May-2025 03:41:04 JST JP JP
      in reply to

      @whitequark dammit catherine stop tempting me to get a glasgow

      ((I will. eventually. when I have beaten sufficiently many other fires out of my life. and can finally allocate headspace to this.))

      In conversation about 12 days ago permalink
    • Embed this notice
      ✧✦Catherine✦✧ (whitequark@mastodon.social)'s status on Sunday, 18-May-2025 03:43:19 JST ✧✦Catherine✦✧ ✧✦Catherine✦✧
      in reply to
      • JP

      @froztbyte I mean the idea is that owning one results in *fewer* fires, not *more*

      In conversation about 12 days ago permalink
    • Embed this notice
      JP (froztbyte@mastodon.social)'s status on Sunday, 18-May-2025 03:45:24 JST JP JP
      in reply to

      @whitequark it may sound like trolling/nonsense, but it isn't: just have a fucking pyre of life-on-fire 2020+ splash damage I'm _still_ working through

      re the thing you shared in screenshot just now, and also over many others prior: I am consistently deeply impressed by how fucking _clean_ the glasgow abstractions are (given subject matter). I know what it takes to get there, and that y'all do... well, *well* fucking appreciated

      In conversation about 12 days ago permalink
    • Embed this notice
      ✧✦Catherine✦✧ (whitequark@mastodon.social)'s status on Sunday, 18-May-2025 03:45:24 JST ✧✦Catherine✦✧ ✧✦Catherine✦✧
      in reply to
      • JP

      @froztbyte haha, I'm *incredibly* pleased that this gets noticed, because the amount of work that goes into getting abstractions that good is immense. literally years! I'm proud of the result though

      In conversation about 12 days ago permalink
    • Embed this notice
      JP (froztbyte@mastodon.social)'s status on Sunday, 18-May-2025 03:45:55 JST JP JP
      in reply to

      @whitequark oh yeah, absolutely! for one dimension of my fires

      I have multidimensional fires

      (is the signal number I have for you still valid? if yes, I will share some of the fires)

      In conversation about 12 days ago permalink
    • Embed this notice
      ✧✦Catherine✦✧ (whitequark@mastodon.social)'s status on Sunday, 18-May-2025 03:47:03 JST ✧✦Catherine✦✧ ✧✦Catherine✦✧
      in reply to
      • JP

      @froztbyte hell, even just getting this one API call working took me like 3 or 4 experimental designs before I found one that actually managed to work at the full throughput without overflows or wasting FIFO space! (it uses COBS as a very low-overhead packet boundary encoding for SPI transactions where you inherently don't know how long they are)

      In conversation about 12 days ago permalink
    • Embed this notice
      JP (froztbyte@mastodon.social)'s status on Sunday, 18-May-2025 03:47:11 JST JP JP
      in reply to

      @whitequark nod! I don't know how many people would (notice). it requires a particular confluence of clue/attention that I think is fairly rare? but, seriously: everything I see about glasgow: chefskiss.jpg

      In conversation about 12 days ago permalink
    • Embed this notice
      ✧✦Catherine✦✧ (whitequark@mastodon.social)'s status on Sunday, 18-May-2025 03:47:26 JST ✧✦Catherine✦✧ ✧✦Catherine✦✧
      in reply to
      • JP

      @froztbyte +44-something is valid. otherwise it's catherine.8051

      In conversation about 12 days ago permalink
    • Embed this notice
      ✧✦Catherine✦✧ (whitequark@mastodon.social)'s status on Sunday, 18-May-2025 03:48:36 JST ✧✦Catherine✦✧ ✧✦Catherine✦✧
      in reply to
      • JP

      @froztbyte that makes me beam with happiness ^_^

      i actually just finished a major refactor that's intended to bring glasgow more in line with the developments in amaranth

      here is how the SPI analyzer is tested. this is all using public stable (not yet documented but soon) interfaces only:

      In conversation about 12 days ago permalink

      Attachments


      1. https://files.mastodon.social/media_attachments/files/114/524/664/962/397/438/original/758e2254d91e5aeb.png
    • Embed this notice
      JP (froztbyte@mastodon.social)'s status on Sunday, 18-May-2025 03:48:47 JST JP JP
      in reply to

      @whitequark ah yeah I still had the old! I'll hit you up on the new :)

      won't spam tonight because I'm still dealing with other yaks but soon.gif

      In conversation about 12 days ago permalink
    • Embed this notice
      ✧✦Catherine✦✧ (whitequark@mastodon.social)'s status on Sunday, 18-May-2025 03:49:36 JST ✧✦Catherine✦✧ ✧✦Catherine✦✧
      in reply to
      • JP

      @froztbyte it took a very significant effort to get to the point where it is genuinely easier to write end-to-end and/or unit tests for an applet than not write them, even for a one-off

      In conversation about 12 days ago permalink
    • Embed this notice
      ✧✦Catherine✦✧ (whitequark@mastodon.social)'s status on Sunday, 18-May-2025 12:34:28 JST ✧✦Catherine✦✧ ✧✦Catherine✦✧
      in reply to

      the caveats for "up to 100 MHz" boil down to, more or less, "you need to twist every signal wire with a ground wire, and ideally put an inline 100 ohm resistor, or else your data will be complete garbage"

      In conversation about 12 days ago permalink
    • Embed this notice
      ✧✦Catherine✦✧ (whitequark@mastodon.social)'s status on Sunday, 18-May-2025 15:56:52 JST ✧✦Catherine✦✧ ✧✦Catherine✦✧
      in reply to

      story continues here https://mastodon.social/@whitequark/114527204328155137

      In conversation about 12 days ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: files.mastodon.social
        ✧✦Catherine✦✧ (@whitequark@mastodon.social)
        from ✧✦Catherine✦✧
        Attached: 2 images a motherboard from my now-previous laptop doesn't boot; the LED blink sequence decodes to "BIOS flash failure". first of all what the heck? that never happens (but the symptoms when it died were consistent with it happening) anyway, it uses plain SPI, and #GlasgowInterfaceExplorer can now analyze SPI transactions very easily let's find out
    • Embed this notice
      Joel Michael (jpm@aus.social)'s status on Monday, 19-May-2025 07:49:43 JST Joel Michael Joel Michael
      in reply to

      @whitequark Also not across a breadboard. Now I’m wondering about using a CAT-6 cable with DuPont connectors crimped to each conductor on both ends…

      In conversation about 11 days ago permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.