frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Study: Generative AI and the Degradation of Human Expression

https://link.springer.com/article/10.1007/s11023-025-09757-6
1•giuliomagnifico•55s ago•0 comments

StarBook Horizon

https://us.starlabs.systems/pages/starbook-horizon
1•mixmastamyk•7m ago•0 comments

An app that allows you to trade TikTok trends like they are stocks

https://www.frenzy.hot/
1•themudaliar•8m ago•0 comments

Show HN: A full desktop implementation in the browser

https://fyshos.com/desktop/demo/
1•andydotxyz•8m ago•1 comments

Show HN: Notedis a Feedback Widget for Freelancers Tired of Enterprise Pricing

https://notedis.com
1•notedis•9m ago•0 comments

2025.47: Gemini at the Disco

https://stratechery.com/2025/gemini-at-the-disco/
1•feross•9m ago•0 comments

Why did evolution return some animals to the water?

https://news.yale.edu/2025/11/20/back-beach-why-did-evolution-return-some-animals-water
1•gmays•13m ago•0 comments

AI Boom Is Turning Malaysia's Palm Oil Estates into Data Centers

https://www.bloomberg.com/news/features/2025-11-18/ai-boom-is-turning-malaysia-s-palm-oil-estates...
3•rbanffy•13m ago•0 comments

EU eases AI, privacy rules as critics warn of caving to Big Tech

https://www.reuters.com/sustainability/boards-policy-regulation/eu-ease-ai-privacy-rules-critics-...
1•rbanffy•14m ago•0 comments

Berkshire's Alphabet Buy Doesn't Sound Like Buffett

https://www.bloomberg.com/opinion/articles/2025-11-21/berkshire-s-alphabet-buy-sure-doesn-t-sound...
1•0xcafefood•14m ago•0 comments

Japan edges closer to restarting biggest nuclear power plant

https://www.bbc.com/news/articles/cev8j9ylr14o
1•tartoran•14m ago•0 comments

Building the largest known Kubernetes cluster, with 130k nodes

https://cloud.google.com/blog/products/containers-kubernetes/how-we-built-a-130000-node-gke-cluster/
2•TangerineDream•15m ago•0 comments

No Key, Mo Problems

https://bfswa.substack.com/p/no-key-mo-problems
2•zdw•16m ago•0 comments

McDonald's is losing its low-income customers: a symptom of the wealth divide

https://www.latimes.com/business/story/2025-11-16/mcdonalds-is-losing-its-low-income-customers
9•PaulHoule•19m ago•0 comments

Evals drive the next chapter in AI for businesses

https://openai.com/index/evals-drive-next-chapter-of-ai/
1•alach11•21m ago•0 comments

AI Village - A virtual community of AI agents

https://theaidigest.org/village
1•osculum•22m ago•0 comments

Two minutes on a porch, a misunderstanding and a gunshot killed a house cleaner

https://www.adn.com/nation-world/2025/11/21/two-minutes-on-a-porch-a-misunderstanding-and-a-fatal...
2•rolph•23m ago•1 comments

Armtrak (Imaginarium and Game)

https://harambe.merkoba.com/post/01kakp4jyy
1•caliweed•23m ago•0 comments

Microsoft Deprecates IntelliCode in VS Code, Recommends Switch to GitHub Copilot

https://github.com/MicrosoftDocs/intellicode/issues/614
2•nsdfg•23m ago•0 comments

Things that should be considered essential vitamins but aren't

https://scottlocklin.wordpress.com/2025/11/08/things-that-should-be-considered-essential-vitamins...
3•surprisetalk•26m ago•2 comments

It's easier to build SpaceX than to fix Boeing [video]

https://www.youtube.com/watch?v=Q4Krg42Mg-E
1•surprisetalk•26m ago•0 comments

Structural Inducements for Hallucination in LLMs

https://www.researchgate.net/publication/397779918_Structural_Inducements_for_Hallucination_in_La...
1•felineflock•27m ago•0 comments

A VSCode extension for GPU/AI trace profiling, viewing and performance analysis

https://marketplace.visualstudio.com/items?itemName=nCompassTech.ncprof-vscode
2•adiraja•27m ago•1 comments

UK bar bans solo-drinkers to 'protect customers'

https://www.bbc.com/news/articles/cnve4eypg8zo
11•walterbell•27m ago•5 comments

Meta Learns That Nothing Is a Monopoly If You Just Wait Long Enough

https://gizmodo.com/meta-learns-that-nothing-is-a-monopoly-if-you-just-wait-long-enough-2000687691
3•robtherobber•28m ago•0 comments

Things I learned in the last 2 years

https://catalins.tech/50-things/
1•cmpit•28m ago•0 comments

GitHub – Sqfmi/Watchy: Watchy – An Open Source E-Ink Smartwatch

https://github.com/sqfmi/Watchy
1•bilsbie•30m ago•0 comments

Commit Goods

https://commitgoods.com/
1•mooreds•30m ago•0 comments

Some Exoplanets Can Create Their Own Water Through Crust-Atmosphere Reactions

https://www.universetoday.com/articles/some-exoplanets-can-create-their-own-water-through-crust-a...
1•rbanffy•31m ago•0 comments

Show HN: Optimizing JIT Compiler for Code Mode MCP

https://github.com/stanford-mast/a1
1•ardmiller•32m ago•0 comments
Open in hackernews

Booting the RP2350 from UART

https://pfister.dev/blog/2025/rp2350-uart-bl.html
89•hugolundin•6mo ago

Comments

vardump•6mo ago
One could also send a binary stub that sets up fast CPU clock speed and decompresses the rest of the firmware at the RP2350 side. Should be even faster.

Just like old C64 decrunchers and Amiga PowerPacker. Or Fabrice Bellard's LZEXE. (Is there anything that guy did NOT write?!)

duskwuff•6mo ago
In principle, you could boot the RP2040 over SWD. It'd be much more difficult to code, but the possibility is there...
flyingcircus3•6mo ago
Are you implying the SWD signals would send the RAM contents every time? If I had to do that, I would first use a logic analyzer like Saleae to capture the SWD signals of a JLink performing the necessary operations to load the image into RAM. Then figure out, from the bytes that get send and received, whatever needs to be parameterized, and where to put the image data itself, perhaps by capturing different scenarios, and seeing what changes. Maybe even look up the SWD spec. You would also need to figure out what kind of back and forth is necessary, what must block waiting for a response. From there, assuming there isn't cryptography involved, it just becomes a matter of providing bytes to a bus in the correct order or timing based on the proper events. Some of those bytes are "canned" and never change. Some of them are parameters that describe some important quantity relevant your specific image. And the rest are your firmware image, probably chunked up with some overhead wrapped around it. I allow for the possibility that SWD is far more complex than I imagine, but this approach works pretty well for figuring out whats going on with SPI or I2C or BLE.
duskwuff•6mo ago
SWD and the associated debug interfaces are all documented by ARM; there's no need to reverse-engineer anything here. See the ADIv5 documentation [1] for a starter.

[1]: https://developer.arm.com/documentation/ihi0031/a

dmitrygr•6mo ago
ADIv6 for RP2350 (!important)
bsder•6mo ago
> I allow for the possibility that SWD is far more complex than I imagine, but this approach works pretty well for figuring out whats going on with SPI or I2C or BLE.

SWD is pretty well documented. I won't claim its simple, but, in my opinion, it's decent at what it does. The RISC-V folks haven't seemed to be able to do better (and, IMO, did quite a bit worse in a few places, actually).

The SWD description at the packet/command level: https://arm-software.github.io/CMSIS-DAP/latest/index.html

There is open source code directly from ARM for it: https://github.com/ARMmbed/DAPLink/tree/main/source/daplink/...

The documentation of the actual wire protocol is also extensive, but a little more scattered: https://developer.arm.com/documentation/ihi0031/a?lang=en https://community.nxp.com/pwmxy87654/attachments/pwmxy87654/...

The big problem with the SWD wire protocol ARM documentation (and everybody who copies it) is that they don't point out the fact that when you go from Write-to-Read the active edge of the clock changes. In SPI-speak, you switch from CPHA=1 to CPHA=0. This makes sense if you stop to think about it for a moment because during debug there is no clock. Consequently, SWD must provide the clock and you switch from "put something on DATA a half phase early->pulse clock to make chip do something with it" to "pulse clock which makes chip put something on Data->read it a half phase later". However, if it has never been pointed out to you before, it's likely to trip you up.

Sigrok (or similar) which can decode SWD properly and a digital signal analyzer (even a cheap $10 one) are your friends.

The only diagrams which seem to resemble scope traces that point this out are on obscure Chinese engineering blogs.

jdbxbdjehe•6mo ago
This is completely unnecessary since SWD is both trivial as well as well documented
duskwuff•6mo ago
Well... I wouldn't call it "trivial". But it is documented.
gadgetoid•6mo ago
We (Pimoroni) actually shipped this technique in PicoVision, used to load the “GPU” firmware (an RP2040 used to offload the HDMI signal generation) at runtime-

https://github.com/pimoroni/picovision/blob/main/drivers/dv_...

no_time•6mo ago
What are the advantages of doing this instead booting it through UART? Speed perhaps?
vardump•6mo ago
I think RP2040 does not support UART booting.
gadgetoid•6mo ago
In theory you wouldn’t even need to load firmware- you could just manipulate the relevant registers directly over SWD for the silliest IO expander.

In our case it was the only choice. I’d say we’d use UART now but the RP2350 can pretty much do it all in one chip.

mschuster91•6mo ago
There's nothing speaking "version 1.0" more than a bunch of stuff just manually soldered as piggyback over other components of the board :D

Thanks for the writeup.

mrheosuper•6mo ago
this is also how some BLE controller boot.
kees99•6mo ago
Some wifi controllers can also boot like that. In particular ESP8089 chip that shipped with some android tablets circa 2012-2014.

Later, Espressif took that chip, modified bootrom to be able to boot from an SPI flash as well, and marketed that variant as "ESP8266". Serial bootloader was kept as a debug/programming interface, and that was inherited to ESP32 and later chips. All of which can boot directly from serial.

bluehex•6mo ago
This is awesome. I've had similar ideas but wasn't able to do any prototyping yet as I only have Pico 2 boards that don't expose the CSn pin in the pinout.

Rather than UART booting every time I thought it might be nice to use UART Boot just as a way to deliver the firmware update to the sub chip - so the UART image you load would just be a program that accepts a larger image (over UART again) and would write to the flash for subsequent boots. I think that would get around the SRAM and boot time downsides the author mentioned. Is there a reason this might not work?

vardump•6mo ago
That requires having a flash chip in the first place. By booting via UART you don't need any flash at all.
zoobab•6mo ago
The CH32V003 has also a UART bootloader, but for some reason there is no open source command line client to do something with it. WCH has a Windows GUI though.
devdri•6mo ago
This is one of the tricks to enable using both QSPI slots for PSRAM instead of the typical FLASH+PSRAM.

This is great for making audio modules, where the firmware is be small and operates on a big audio buffer. Since the biggest available PSRAM chips are 8MB, this combined 16 MB could hold around 3 minutes of mono 16-bit audio, which allows for a very nice multi track looper.

Another way (in case there's no other MCU to help with uart bootstrap) would be to add a logic chip to multiplex the CS line between Flash and the first PSRAM - copy firmware to flash and then switch to using ram.

ThrowawayR2•6mo ago
Are there any off-the-shelf hobbyist boards that expose QSPI CSn (pin 75 on the RP2350B?) and QPI_SD1-3 signals to a header or pin? Doesn't seem like the official Pico 2 or the Adafruit or Pimoroni versions of the Pico 2 expose access to these signals without modifying the board, which most people won't be able to do.
ptorrone•6mo ago
https://www.adafruit.com/product/6000 has the pads for external PSRAM you can connect to the QSPI pins there (pt @ adafruit)