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.
  • 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
                        • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

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

                          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
                          #141

                          here's how the flash was mounted in its natural environment, in absence of feline predators

                          the SPI bus seems to be shared with something else & they're definitely using ViP

                          Link Preview Image
                          artemist@social.mildlyfunctional.gayA whitequark@social.treehouse.systemsW 2 Replies Last reply
                          0
                          • wren6991@types.plW wren6991@types.pl

                            @whitequark cpu_top is clearly a Verilog module name lmao

                            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
                            #142

                            @wren6991 yep!

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

                              here's how the flash was mounted in its natural environment, in absence of feline predators

                              the SPI bus seems to be shared with something else & they're definitely using ViP

                              Link Preview Image
                              artemist@social.mildlyfunctional.gayA This user is from outside of this forum
                              artemist@social.mildlyfunctional.gayA This user is from outside of this forum
                              artemist@social.mildlyfunctional.gay
                              wrote last edited by
                              #143

                              @whitequark very important pad

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

                                here's how the flash was mounted in its natural environment, in absence of feline predators

                                the SPI bus seems to be shared with something else & they're definitely using ViP

                                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
                                #144

                                alright let's dump the ARC chip now

                                mutesplash@uncontrollablegas.comM whitequark@social.treehouse.systemsW 2 Replies Last reply
                                0
                                • artemist@social.mildlyfunctional.gayA artemist@social.mildlyfunctional.gay

                                  @whitequark very important pad

                                  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
                                  #145

                                  @artemist @whitequark 🅱️IP

                                  artemist@social.mildlyfunctional.gayA 1 Reply Last reply
                                  0
                                  • ldcd@social.treehouse.systemsL ldcd@social.treehouse.systems

                                    @artemist @whitequark 🅱️IP

                                    artemist@social.mildlyfunctional.gayA This user is from outside of this forum
                                    artemist@social.mildlyfunctional.gayA This user is from outside of this forum
                                    artemist@social.mildlyfunctional.gay
                                    wrote last edited by
                                    #146

                                    @ldcd @whitequark 🆎ℹ️🅿️

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

                                      complete success

                                      Link Preview Image
                                      drwho@masto.hackers.townD This user is from outside of this forum
                                      drwho@masto.hackers.townD This user is from outside of this forum
                                      drwho@masto.hackers.town
                                      wrote last edited by
                                      #147

                                      @whitequark What are you using to dump the chips?

                                      whitequark@social.treehouse.systemsW 1 Reply Last reply
                                      0
                                      • azonenberg@ioc.exchangeA azonenberg@ioc.exchange

                                        @whitequark @gsuberland @ldcd @ftg huh I thought microchip ECs were mostly arm based

                                        mlp@defcon.socialM This user is from outside of this forum
                                        mlp@defcon.socialM This user is from outside of this forum
                                        mlp@defcon.social
                                        wrote last edited by
                                        #148

                                        @azonenberg @whitequark @gsuberland @ldcd @ftg
                                        When Microchip first produced a PIC32 it was built around MIPS (I was at HI-TECH Software at the time - we had a compiler targeting it). Later they acquired Atmel and renamed the (ARM-based) SAM series "PIC32..."

                                        azonenberg@ioc.exchangeA 1 Reply Last reply
                                        0
                                        • mlp@defcon.socialM mlp@defcon.social

                                          @azonenberg @whitequark @gsuberland @ldcd @ftg
                                          When Microchip first produced a PIC32 it was built around MIPS (I was at HI-TECH Software at the time - we had a compiler targeting it). Later they acquired Atmel and renamed the (ARM-based) SAM series "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
                                          #149

                                          @mlp @whitequark @gsuberland @ldcd @ftg yes I'm talking about their embedded controllers for laptops etc not general purposes MCUs.

                                          Real PIC32 is mips, not the rebranded SAMs sold under the pic32 brand

                                          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