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.
-
@whitequark @gsuberland @ldcd @ftg ...are you sure it's not just CLZ?
@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)
-
@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)
@ignaloidas @gsuberland @ldcd @ftg @wren6991 i have literally never seen clz implemented that way
-
@ignaloidas @gsuberland @ldcd @ftg @wren6991 i have literally never seen clz implemented that way
@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) -
@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)@ignaloidas @gsuberland @ldcd @ftg @whitequark (implements XOR instruction) Galois Field Addition Accelerator

-
here's the flash contents https://upload.whitequark.org/1775953651-lego_brick_00F2MZ_749DF5_W25Q16JWBY.bin
@whitequark hey @zhuowei does this match anything you found in the LEGO Smart Brick app? Or does the app have a newer firmware version?
-
@whitequark hey @zhuowei does this match anything you found in the LEGO Smart Brick app? Or does the app have a newer firmware version?
@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
-
@whitequark cpu_top is clearly a Verilog module name lmao
-
here's the flash contents https://upload.whitequark.org/1775953651-lego_brick_00F2MZ_749DF5_W25Q16JWBY.bin
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

-
@whitequark cpu_top is clearly a Verilog module name lmao
-
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

@whitequark very important pad
-
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

alright let's dump the ARC chip now
-
@whitequark very important pad
-
complete success

@whitequark What are you using to dump the chips?
-
@whitequark @gsuberland @ldcd @ftg huh I thought microchip ECs were mostly arm based
@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 @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..."@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
-
@whitequark What are you using to dump the chips?
-
@whitequark Cool! Thank you.
-
alright let's dump the ARC chip now
-
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. the injecton molding remains impeccable, at least for this specific piece (I know about their recent QC issues elsewhere)
it's hard for me to look at the positively microscopic (I am literally using a microscope to look at it) "Li-Ion" lettering and think of anything but "showing off!"
(treehouse doesn't let me attach the full size images, you can grab them here: front, side)
@whitequark but the most important question remains unanswered: Can you make it play actual star wars sounds instead of the unintelligible gibberish now?

️IP
️
️