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

    unfortunately, i could not access JTAG. i think i ran out of time i have for playing with this board, good luck @ everyone else

    shout out to:
    https://github.com/nanash1/smart_brick
    https://codeberg.org/shelfofsheelfs/SMART-Brick
    for doing good work!

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

    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

    cinebox@masto.hackers.townC ldcd@social.treehouse.systemsL maehw@chaos.socialM 3 Replies 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

      cinebox@masto.hackers.townC This user is from outside of this forum
      cinebox@masto.hackers.townC This user is from outside of this forum
      cinebox@masto.hackers.town
      wrote last edited by
      #159

      @whitequark oh how fun, but makes sense for such a pin-constrained device. Is there any other way to access it or is the chip just impossible to reprogram it if it doesnt expose JTAG?

      whitequark@social.treehouse.systemsW 1 Reply Last reply
      0
      • cinebox@masto.hackers.townC cinebox@masto.hackers.town

        @whitequark oh how fun, but makes sense for such a pin-constrained device. Is there any other way to access it or is the chip just impossible to reprogram it if it doesnt expose JTAG?

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

        @cinebox it has a bootloader which I assume is how it's programmed by LEGO; I think I know how to trigger that but I just wanted to connect JTAG because it was more challenging to solder these tiny wires and I'm bad at doing it

        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

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

          @whitequark could it have booted in cJTAG mode?

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

            @whitequark could it have booted in cJTAG mode?

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

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

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

              here's a video that shows in more detail the moldwork in the transparent plastic part

              lenary@types.plL This user is from outside of this forum
              lenary@types.plL This user is from outside of this forum
              lenary@types.pl
              wrote last edited by
              #163

              @whitequark are the pips on top buttons too?

              whitequark@social.treehouse.systemsW 1 Reply Last reply
              0
              • lenary@types.plL lenary@types.pl

                @whitequark are the pips on top buttons too?

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

                @lenary no, just normal lego brick shape

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

                  @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

                  whitequark@social.treehouse.systemsW revk@toot.me.ukR 2 Replies 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

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

                    @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 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

                      arclight@oldbytes.spaceA This user is from outside of this forum
                      arclight@oldbytes.spaceA This user is from outside of this forum
                      arclight@oldbytes.space
                      wrote last edited by
                      #167

                      @whitequark This is wonderful 🙂

                      1 Reply Last reply
                      0
                      • 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
                                          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