Damus
Andrew Zonenberg profile picture
Andrew Zonenberg
@Andrew Zonenberg

Security and open source at the hardware/software interface. Embedded sec @ IOActive. Lead dev of ngscopeclient/libscopehal. GHz probe designer. Open source networking hardware. "So others may live"

Toots searchable on tootfinder.

Relays (1)
  • wss://relay.ditto.pub – read & write

Recent Notes

Andrew Zonenberg profile picture
@nprofile1q... So I'm going through some STM32MP2 notes about aliasing and I found something else that reminded me of our conversation a few weeks ago.

The RETRAM (and other SRAMs but let's just talk about this one for a moment) is mapped at 0x0e08_0000 (boot/I-side/secure) and 0x3008_0000 (D-side/secure).

Due to quirks of the caching, you *have* to alias these if you enable the I$ - in other words you have a single image but you only ever access code via 0e08 and data via 3008. They both refer to the same physical SRAM cells.

Good luck handling this nicely in a compiler. Hell, doing this in a *linker script* was a nightmare (having .data, .bss, and .text not overlap physical memory despite being in different MEMORY sections in the linker script)
Andrew Zonenberg profile picture
0402 thermal imbalance / process test boards shipped! I don't think they will be here in time for the weekend but hopefully fairly soon I can start doing real process engineering on the kibbyshop SMT line.
Andrew Zonenberg profile picture
Starting to play with some power analysis stuff at work outside of client projects to build out a better workflow using ngscopeclient, thunderscope, and some custom analog signal conditioning hardware (which I'd love to open source if they let me, we'll see). And just to develop a better understanding of how DPA/SPA etc work.

The signals you're looking for are bonkers-weak. This is a pretty contrived example - an isolated measurement of an MCU on a board with no decoupling capacitance at all (no I'm not using a 320 ohm shunt, there's external analog gain in the measurement setup and I just used the current shunt filter to scale for it)

Each iteration of the loop is about 400 nA p-p and runs at 4 MHz. And we care about each of the instructions within the loop (the MCU is clocked at 80 MHz). And we want to see not only the loop itself, but data-dependent power consumption variations within it.

The raw data isn't this clean, I had to do a couple seconds of averaging to clean it up to this point.

Andrew Zonenberg profile picture
Grrrr.

Are there any PCIe gen 4 switch ASICs that are a) purchasable in single units from a distributor like digikey and b) I can get a datasheet for without an NDA?

All I'm finding is ultra locked up Microchip/Switchtek and Broadcom parts.
Andrew Zonenberg profile picture
Random swords-into-plowshares thought: plants like bioavailable nitrogen. Most explosives are jam packed with nitrogen.

Is there any overlap in the two? ANFO is literally fertilizer but I imagine the diesel bit isn't good for plants. But the combination is close enough to working that it got me think, are there any common explosives that a) plants can metabolize fixed nitrogen from and b) are not otherwise toxic to said plant?
Andrew Zonenberg profile picture
Always fun how much you can see in the sky with image intensification even with fairly bad light pollution.

Just 15ish miles from downtown Seattle I was able to see massively more stars than were naked eye visible, a double digit number of satellites (sometimes three or four in one FOV at once), and - most interestingly - a couple of meteors. One was clearly naked eye visible, the other two I only saw in the PVS14 but that may have just been the angle, my right eye didn't have a good line of sight in that direction.

They lasted several seconds and had visible glowing debris trails probably 5 degrees wide behind them. Two of them were coming from east to west in the northern sky maybe 40 degrees of elevation, while one was pretty high up in the eastern sky coming from north to south. So the radiant would probably be roughly northeast at 40-60 degree elevation as a rough guess? No idea if they were part of an "official" shower but they all had similar brightness.
Andrew Zonenberg profile picture
Kindergarten is the perfect age to introduce distillation to your kids, right?

She has a pretty short attention span and ran off to play with something else while waiting for the boiling flask to get up to temperature but is coming back to check on things periodically.