Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. first impressions of the Lego smart brick, before I do any actual tearing down: wow, I forgot how good they are at working with plastic.

first impressions of the Lego smart brick, before I do any actual tearing down: wow, I forgot how good they are at working with plastic.

Scheduled Pinned Locked Moved Uncategorized
187 Posts 51 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ftg@mastodon.radioF ftg@mastodon.radio

    @azonenberg @ldcd @whitequark @gsuberland
    I'll mention this to a MIPS loving friend who's currently working on a keyboard project.
    But I think it would have to then be based on something like PIC32.

    azonenberg@ioc.exchangeA This user is from outside of this forum
    azonenberg@ioc.exchangeA This user is from outside of this forum
    azonenberg@ioc.exchange
    wrote last edited by
    #121

    @ftg @ldcd @whitequark @gsuberland i used to be big on mips. I remember being very disappointed when i discovered BFC00000 was not a valid license plate in my state

    1 Reply Last reply
    0
    • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

      @ldcd @gsuberland @ftg when have you last seen an automotive part with an LPC target controller

      ldcd@social.treehouse.systemsL This user is from outside of this forum
      ldcd@social.treehouse.systemsL This user is from outside of this forum
      ldcd@social.treehouse.systems
      wrote last edited by
      #122

      @whitequark @gsuberland @ftg cursed thought: pentium based ECU

      gsuberland@chaos.socialG 1 Reply Last reply
      0
      • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

        finally done. no shorts and (as far as i can tell under mag) no opens

        whitequark@social.treehouse.systemsW This user is from outside of this forum
        whitequark@social.treehouse.systemsW This user is from outside of this forum
        whitequark@social.treehouse.systems
        wrote last edited by
        #123

        complete success

        Link Preview Image
        whitequark@social.treehouse.systemsW drwho@masto.hackers.townD 2 Replies Last reply
        0
        • ldcd@social.treehouse.systemsL ldcd@social.treehouse.systems

          @whitequark @gsuberland @ftg cursed thought: pentium based ECU

          gsuberland@chaos.socialG This user is from outside of this forum
          gsuberland@chaos.socialG This user is from outside of this forum
          gsuberland@chaos.social
          wrote last edited by
          #124

          @ldcd @whitequark @ftg "why did you crash your car?" "F00F bug, your honour"

          1 Reply Last reply
          0
          • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

            complete success

            Link Preview Image
            whitequark@social.treehouse.systemsW This user is from outside of this forum
            whitequark@social.treehouse.systemsW This user is from outside of this forum
            whitequark@social.treehouse.systems
            wrote last edited by
            #125

            contrary to everything i've seen online, this is a Winbond W25Q16JWBY part (but one person got the closest, they thought it is a W25Q16JVBY. the difference is major: one is 3.3V, the other is 1.8V)

            Link Preview Image
            whitequark@social.treehouse.systemsW 1 Reply Last reply
            0
            • gsuberland@chaos.socialG gsuberland@chaos.social

              @ldcd @whitequark @ftg almost certainly a hardware log2 instruction bolted on. I wonder if they're using it for FFT or something.

              whitequark@social.treehouse.systemsW This user is from outside of this forum
              whitequark@social.treehouse.systemsW This user is from outside of this forum
              whitequark@social.treehouse.systems
              wrote last edited by
              #126

              @gsuberland @ldcd @ftg well yes they call it a log2() accelerator but why

              wren6991@types.plW gsuberland@chaos.socialG 2 Replies Last reply
              0
              • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

                contrary to everything i've seen online, this is a Winbond W25Q16JWBY part (but one person got the closest, they thought it is a W25Q16JVBY. the difference is major: one is 3.3V, the other is 1.8V)

                Link Preview Image
                whitequark@social.treehouse.systemsW This user is from outside of this forum
                whitequark@social.treehouse.systemsW This user is from outside of this forum
                whitequark@social.treehouse.systems
                wrote last edited by
                #127

                NotImplementedError: quad enablement SFDPJEDECQuadEnableRequirements.Reg2Bit1_Read35h_Write05h not implemented yet

                ah yes. i remember why i hate SPI flashes now

                whitequark@social.treehouse.systemsW 1 Reply Last reply
                0
                • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

                  NotImplementedError: quad enablement SFDPJEDECQuadEnableRequirements.Reg2Bit1_Read35h_Write05h not implemented yet

                  ah yes. i remember why i hate SPI flashes now

                  whitequark@social.treehouse.systemsW This user is from outside of this forum
                  whitequark@social.treehouse.systemsW This user is from outside of this forum
                  whitequark@social.treehouse.systems
                  wrote last edited by
                  #128

                  tried using dual mode and the SFDP tells me to transmit half a byte

                  once i dump it this flash is definitely going into the naughty pile (of unit tests in glasgow)

                  Link Preview Image
                  whitequark@social.treehouse.systemsW 1 Reply Last reply
                  0
                  • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

                    @gsuberland @ldcd @ftg well yes they call it a log2() accelerator but why

                    wren6991@types.plW This user is from outside of this forum
                    wren6991@types.plW This user is from outside of this forum
                    wren6991@types.pl
                    wrote last edited by
                    #129

                    @whitequark @gsuberland @ldcd @ftg ...are you sure it's not just CLZ?

                    ignaloidas@not.acu.ltI 1 Reply Last reply
                    0
                    • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

                      @gsuberland @ldcd @ftg well yes they call it a log2() accelerator but why

                      gsuberland@chaos.socialG This user is from outside of this forum
                      gsuberland@chaos.socialG This user is from outside of this forum
                      gsuberland@chaos.social
                      wrote last edited by
                      #130

                      @whitequark @ldcd @ftg hmm, seems to be hardware log2p0 and log2p1 intrinsics. weird.

                      whitequark@social.treehouse.systemsW 1 Reply Last reply
                      0
                      • gsuberland@chaos.socialG gsuberland@chaos.social

                        @whitequark @ldcd @ftg hmm, seems to be hardware log2p0 and log2p1 intrinsics. weird.

                        whitequark@social.treehouse.systemsW This user is from outside of this forum
                        whitequark@social.treehouse.systemsW This user is from outside of this forum
                        whitequark@social.treehouse.systems
                        wrote last edited by
                        #131

                        @gsuberland @ldcd @ftg what is the p0/p1?

                        gsuberland@chaos.socialG 1 Reply Last reply
                        0
                        • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

                          @gsuberland @ldcd @ftg what is the p0/p1?

                          gsuberland@chaos.socialG This user is from outside of this forum
                          gsuberland@chaos.socialG This user is from outside of this forum
                          gsuberland@chaos.social
                          wrote last edited by
                          #132

                          @whitequark @ldcd @ftg log2p0 is plain integer log base 2 (I think with always round down behaviour?) and log2p1 is the same but add 1 after. the latter is used to calculate how many bits are needed to store a given number. I know the latter gets used in some AV compression algorithms, idk about the decompression algorithms though.

                          1 Reply Last reply
                          0
                          • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

                            tried using dual mode and the SFDP tells me to transmit half a byte

                            once i dump it this flash is definitely going into the naughty pile (of unit tests in glasgow)

                            Link Preview Image
                            whitequark@social.treehouse.systemsW This user is from outside of this forum
                            whitequark@social.treehouse.systemsW This user is from outside of this forum
                            whitequark@social.treehouse.systems
                            wrote last edited by
                            #133

                            here's the flash contents https://upload.whitequark.org/1775953651-lego_brick_00F2MZ_749DF5_W25Q16JWBY.bin

                            N whitequark@social.treehouse.systemsW maehw@chaos.socialM 3 Replies Last reply
                            0
                            • wren6991@types.plW wren6991@types.pl

                              @whitequark @gsuberland @ldcd @ftg ...are you sure it's not just CLZ?

                              ignaloidas@not.acu.ltI This user is from outside of this forum
                              ignaloidas@not.acu.ltI This user is from outside of this forum
                              ignaloidas@not.acu.lt
                              wrote last edited by
                              #134

                              @wren6991@types.pl @whitequark@social.treehouse.systems @gsuberland@chaos.social @ldcd@social.treehouse.systems @ftg@mastodon.radio ceil(log2(n+1)) is clz, and is somewhat often defined as such so wouldn't surprise me (I doubt it would actually have floating point log)

                              whitequark@social.treehouse.systemsW 1 Reply Last reply
                              0
                              • ignaloidas@not.acu.ltI ignaloidas@not.acu.lt

                                @wren6991@types.pl @whitequark@social.treehouse.systems @gsuberland@chaos.social @ldcd@social.treehouse.systems @ftg@mastodon.radio ceil(log2(n+1)) is clz, and is somewhat often defined as such so wouldn't surprise me (I doubt it would actually have floating point log)

                                whitequark@social.treehouse.systemsW This user is from outside of this forum
                                whitequark@social.treehouse.systemsW This user is from outside of this forum
                                whitequark@social.treehouse.systems
                                wrote last edited by
                                #135

                                @ignaloidas @gsuberland @ldcd @ftg @wren6991 i have literally never seen clz implemented that way

                                ignaloidas@not.acu.ltI 1 Reply Last reply
                                0
                                • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

                                  @ignaloidas @gsuberland @ldcd @ftg @wren6991 i have literally never seen clz implemented that way

                                  ignaloidas@not.acu.ltI This user is from outside of this forum
                                  ignaloidas@not.acu.ltI This user is from outside of this forum
                                  ignaloidas@not.acu.lt
                                  wrote last edited by
                                  #136

                                  @whitequark@social.treehouse.systems @gsuberland@chaos.social @ldcd@social.treehouse.systems @ftg@mastodon.radio @wren6991@types.pl jpeg xl uses the log2 way in it's spec (it took me a bit of thinking to reverse it)

                                  (wait, now that I'm re-thinking, that's not clz but bitsize minus clz but basically same)

                                  wren6991@types.plW 1 Reply Last reply
                                  0
                                  • ignaloidas@not.acu.ltI ignaloidas@not.acu.lt

                                    @whitequark@social.treehouse.systems @gsuberland@chaos.social @ldcd@social.treehouse.systems @ftg@mastodon.radio @wren6991@types.pl jpeg xl uses the log2 way in it's spec (it took me a bit of thinking to reverse it)

                                    (wait, now that I'm re-thinking, that's not clz but bitsize minus clz but basically same)

                                    wren6991@types.plW This user is from outside of this forum
                                    wren6991@types.plW This user is from outside of this forum
                                    wren6991@types.pl
                                    wrote last edited by
                                    #137

                                    @ignaloidas @gsuberland @ldcd @ftg @whitequark (implements XOR instruction) Galois Field Addition Accelerator 😎

                                    1 Reply Last reply
                                    0
                                    • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

                                      here's the flash contents https://upload.whitequark.org/1775953651-lego_brick_00F2MZ_749DF5_W25Q16JWBY.bin

                                      N This user is from outside of this forum
                                      N This user is from outside of this forum
                                      nicolas17@social.treehouse.systems
                                      wrote last edited by
                                      #138

                                      @whitequark hey @zhuowei does this match anything you found in the LEGO Smart Brick app? Or does the app have a newer firmware version?

                                      maehw@chaos.socialM 1 Reply Last reply
                                      0
                                      • N nicolas17@social.treehouse.systems

                                        @whitequark hey @zhuowei does this match anything you found in the LEGO Smart Brick app? Or does the app have a newer firmware version?

                                        maehw@chaos.socialM This user is from outside of this forum
                                        maehw@chaos.socialM This user is from outside of this forum
                                        maehw@chaos.social
                                        wrote last edited by
                                        #139

                                        @nicolas17 @whitequark @zhuowei for everyone else who got invested now, I think you're referring to this thread: https://notnow.dev/objects/cccfc047-da57-444a-be6f-63a5a766bcf7

                                        1 Reply Last reply
                                        0
                                        • wren6991@types.plW This user is from outside of this forum
                                          wren6991@types.plW This user is from outside of this forum
                                          wren6991@types.pl
                                          wrote last edited by
                                          #140

                                          @whitequark cpu_top is clearly a Verilog module name lmao

                                          whitequark@social.treehouse.systemsW 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups