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.
  • triplef@bildung.socialT triplef@bildung.social

    @whitequark but the most important question remains unanswered: Can you make it play actual star wars sounds instead of the unintelligible gibberish 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
    #168

    @triplef that would have to involve the totally undocumented ASIC

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

      @triplef that would have to involve the totally undocumented ASIC

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

      @triplef honestly the easiest way would be to join LEGO and get all the docs. I probably could do this if I wanted

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

        @sounddrill if you're in the area I can teach you how to do it as cleanly as this. nothing special about it

        sounddrill@infosec.exchangeS This user is from outside of this forum
        sounddrill@infosec.exchangeS This user is from outside of this forum
        sounddrill@infosec.exchange
        wrote last edited by
        #170

        @whitequark I'm way out in South India but hey, thanks!

        I first learned basics of PCB design years ago over a discord server so I'll be sure to ask if I need to pick something up

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

          @ldcd the datasheet explicitly says the JTAG pins are GPIO'd

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

          @whitequark yup i only mention because TMSC (GPIO11) and TCKC (GPIO10) both go straight to vias (and then maybe to the array of testpoints on the back?); Wheras TDO (GPIO9) seems to go to the flash and TDI (GPIO8) seems to go ??.

          So I was thinking there's a chance they might be explicitly configuring it as cJTAG and using it for a boundary scan test after manufacture.

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

            @whitequark yup i only mention because TMSC (GPIO11) and TCKC (GPIO10) both go straight to vias (and then maybe to the array of testpoints on the back?); Wheras TDO (GPIO9) seems to go to the flash and TDI (GPIO8) seems to go ??.

            So I was thinking there's a chance they might be explicitly configuring it as cJTAG and using it for a boundary scan test after manufacture.

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

            @whitequark if the REd schematic is to believed TCKC goes only to a testpoint

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

              @whitequark if the REd schematic is to believed TCKC goes only to a testpoint

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

              @ldcd hm it's possible but i haven't implemented cJTAG yet so can't easily test

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

                @ldcd hm it's possible but i haven't implemented cJTAG yet so can't easily test

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

                @whitequark yeah it's a PITA I was trying to bring up a CC1354 and just could not get it to respond

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

                  @whitequark yeah it's a PITA I was trying to bring up a CC1354 and just could not get it to respond

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

                  @ldcd welp

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

                    @ldcd welp

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

                    @whitequark in theory you can use openocd to wake it up and switch it to 4 wire mode but thats also not very fun;

                    in the TI parts the GPIO mux is subordinate to the JTAG TAP so if you wake up 4 wire mode it takes over the other two pins no matter what the GPIO mux is set to afaict

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

                      after reading the datasheet a bit more carefully, i know why i couldn't: the JTAG port is simply not exposed unless the firmware configures the pin mux that way. i'd have to dump the firmware in some other way

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

                      @whitequark Just in case this were really the end... would you give away your PCB in the state it is right now? And maybe some advice how to dump it? I guess you mean the configuration mode thingie?

                      whitequark@social.treehouse.systemsW 1 Reply Last reply
                      0
                      • maehw@chaos.socialM maehw@chaos.social

                        @whitequark Just in case this were really the end... would you give away your PCB in the state it is right now? And maybe some advice how to dump it? I guess you mean the configuration mode thingie?

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

                        @maehw I am open to giving it away; I might consider doing a little bit more of RE work e.g. to probe if maybe the LEGO ASIC has a JTAG port available

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

                          @maehw I am open to giving it away; I might consider doing a little bit more of RE work e.g. to probe if maybe the LEGO ASIC has a JTAG port available

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

                          @whitequark I won't stop you doing more RE'ing! Just curious if the internal flash could still be dumped and before it goes to the trash. Even though I may be lacking the skills to do so.

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

                            not my best work but it should do the trick

                            feat. comically big q-tip

                            Link Preview Image
                            ppxl@social.tchncs.deP This user is from outside of this forum
                            ppxl@social.tchncs.deP This user is from outside of this forum
                            ppxl@social.tchncs.de
                            wrote last edited by
                            #180

                            @whitequark Monkey Island Q-tip comes to mind

                            Link Preview Image
                            1 Reply Last reply
                            0
                            • maehw@chaos.socialM maehw@chaos.social

                              @whitequark I won't stop you doing more RE'ing! Just curious if the internal flash could still be dumped and before it goes to the trash. Even though I may be lacking the skills to do so.

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

                              @maehw ah I don't trash boards like that unless I 100% know there's nothing more to be gained from them

                              1 Reply Last reply
                              0
                              • sounddrill@infosec.exchangeS sounddrill@infosec.exchange

                                @whitequark I know this seems like an ordinary jump to you but if I managed to get one as clean as this, I'd feel like a goddamn hero 😭

                                I ruined a beautiful rf01(one of those xbox 360 donor rf recievers wired through usb) with my soldering

                                Then it died but I think that was because I wasn't supplying the right power the right way(iirc it wanted a stable 3.3v and I just gave it a nodemcu 3v3) which was a common problem on these boards

                                revk@toot.me.ukR This user is from outside of this forum
                                revk@toot.me.ukR This user is from outside of this forum
                                revk@toot.me.uk
                                wrote last edited by
                                #182

                                @sounddrill @whitequark you need MacGyver, a paperclip and two elastic bands, clearly… This is the closest I could find to an appropriate MacGyver picture…

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

                                  ok so this would be the JTAG pins

                                  Link Preview ImageLink Preview ImageLink Preview Image
                                  magnetic_tape@infosec.exchangeM This user is from outside of this forum
                                  magnetic_tape@infosec.exchangeM This user is from outside of this forum
                                  magnetic_tape@infosec.exchange
                                  wrote last edited by
                                  #183

                                  @whitequark
                                  How did you guess these GPIO would be JTAG?

                                  EDIT: explained further down the thread --> https://social.treehouse.systems/@whitequark/116389802932543329

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

                                    @pdo have you ever heard the life story of the Saint Equal-to-the-Apostles Princess Olga of Kyiv? I'm similar.

                                    at@mathstodon.xyzA This user is from outside of this forum
                                    at@mathstodon.xyzA This user is from outside of this forum
                                    at@mathstodon.xyz
                                    wrote last edited by
                                    #184

                                    @whitequark @pdo

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

                                      @drwho https://glasgow-embedded.org/

                                      novet@infosec.exchangeN This user is from outside of this forum
                                      novet@infosec.exchangeN This user is from outside of this forum
                                      novet@infosec.exchange
                                      wrote last edited by
                                      #185

                                      @whitequark @drwho oh boy i want one so bad, shame i don't have the time of day to use it though

                                      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

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

                                        @whitequark Just in case, others want to dig deeper: I cut out the binary starting from offset 0x105000 and can confirm, that I can parse the unencrypted, uncompressed read-only file system (ROFS) there:

                                        https://codeberg.org/maehw/SmartBrickToolkit/src/branch/main/kaitai/smart_brick_decompressed_rofs_segment.ksy + other parts in the repo

                                        I guess that the remaining parts are meta data... and probably also diagnostic data which are collected by the brick and may be transmitted to TLG via their companion app.

                                        Link Preview Image
                                        maehw@chaos.socialM 1 Reply Last reply
                                        0
                                        • maehw@chaos.socialM maehw@chaos.social

                                          @whitequark Just in case, others want to dig deeper: I cut out the binary starting from offset 0x105000 and can confirm, that I can parse the unencrypted, uncompressed read-only file system (ROFS) there:

                                          https://codeberg.org/maehw/SmartBrickToolkit/src/branch/main/kaitai/smart_brick_decompressed_rofs_segment.ksy + other parts in the repo

                                          I guess that the remaining parts are meta data... and probably also diagnostic data which are collected by the brick and may be transmitted to TLG via their companion app.

                                          Link Preview Image
                                          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
                                          #187

                                          @whitequark Help in finding checksum or hash algorithms... timestamps or whatsoever in the data structure is more then welcome. Happy to get pull aka merge requests on Codeberg.

                                          1 Reply Last reply
                                          0
                                          • R relay@relay.an.exchange shared this topic
                                          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