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 @ldcd @ftg hah, weird. that's an odd choice of architecture for a keyboard controller, unless it was doing audio or touchpad stuff too I suppose.
@gsuberland @ldcd @ftg no it's just the EC. from Microchip
-
@gsuberland @ftg @ldcd this specific chip has directionfinding btw. and a "LOG2 accelerator" whatever the fuck that is
@whitequark @gsuberland @ftg from what i understand one of the big selling points of ARC is that they let you add ~whatever instructions you want and they make it relatively easy to use those instructions from C, so that might be whats going on there?
-
@gsuberland @ldcd @ftg no it's just the EC. from Microchip
@whitequark @gsuberland @ftg maybe its a rebranded automotive part
-
@whitequark @gsuberland @ftg maybe its a rebranded automotive part
@ldcd @gsuberland @ftg when have you last seen an automotive part with an LPC target controller
-
@gsuberland @ldcd @ftg no it's just the EC. from Microchip
@whitequark @gsuberland @ldcd @ftg huh I thought microchip ECs were mostly arm based
-
@whitequark @gsuberland @ftg from what i understand one of the big selling points of ARC is that they let you add ~whatever instructions you want and they make it relatively easy to use those instructions from C, so that might be whats going on there?
@ldcd @whitequark @ftg almost certainly a hardware log2 instruction bolted on. I wonder if they're using it for FFT or something.
-
@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.@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
-
@ldcd @gsuberland @ftg when have you last seen an automotive part with an LPC target controller
@whitequark @gsuberland @ftg cursed thought: pentium based ECU
-
finally done. no shorts and (as far as i can tell under mag) no opens
complete success

-
@whitequark @gsuberland @ftg cursed thought: pentium based ECU
@ldcd @whitequark @ftg "why did you crash your car?" "F00F bug, your honour"
-
complete success

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)

-
@ldcd @whitequark @ftg almost certainly a hardware log2 instruction bolted on. I wonder if they're using it for FFT or something.
@gsuberland @ldcd @ftg well yes they call it a log2() accelerator but why
-
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)

NotImplementedError: quad enablement SFDPJEDECQuadEnableRequirements.Reg2Bit1_Read35h_Write05h not implemented yetah yes. i remember why i hate SPI flashes now
-
NotImplementedError: quad enablement SFDPJEDECQuadEnableRequirements.Reg2Bit1_Read35h_Write05h not implemented yetah yes. i remember why i hate SPI flashes now
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)

-
@gsuberland @ldcd @ftg well yes they call it a log2() accelerator but why
@whitequark @gsuberland @ldcd @ftg ...are you sure it's not just CLZ?
-
@gsuberland @ldcd @ftg well yes they call it a log2() accelerator but why
@whitequark @ldcd @ftg hmm, seems to be hardware log2p0 and log2p1 intrinsics. weird.
-
@whitequark @ldcd @ftg hmm, seems to be hardware log2p0 and log2p1 intrinsics. weird.
@gsuberland @ldcd @ftg what is the p0/p1?
-
@gsuberland @ldcd @ftg what is the p0/p1?
@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.
-
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)

here's the flash contents https://upload.whitequark.org/1775953651-lego_brick_00F2MZ_749DF5_W25Q16JWBY.bin
-
@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)