Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. I built non-autoregressive decision models with RL a year ago(convaiinnovations.com ↗)
    189comments
  2. AI-generated posters don’t have to be horrible(john.hartnup.uk ↗)
    586comments
  3. Btrfs/ZFS/bcachefs under workloads classic benchmarks skip(bartosz.fenski.pl ↗)
    18comments
  4. Human brain is two separate organs, Stanford Medicine-led research finds(stanford.edu ↗)
    204comments
  5. A graphical desktop for the ZX Spectrum(github.com/mindbox77 ↗)
    88comments
  6. Tin: full-text search for Postgres(planetscale.com ↗)
    58comments
  7. Suzanne Ciani's Buchla Cookbook(echo.orpheusinstituut.be ↗)
    2comments
  8. Show HN: CUA-S1 – A System One Model for Computer Use(github.com/trycua ↗)
    discuss
  9. The Secret Life of Circuits(coredump.cx ↗)
    60comments
  10. Android 17 is the first since 3.x to add new APIs without releasing to the AOSP(grapheneos.social ↗)
    606comments
  11. Supabase (YC S20) Is Hiring for OrioleDB(supabase.link ↗)
    discuss
  12. Black Holes or Black Hole Stars? Astronomers Spar over 'Little Red Dots'(quantamagazine.org ↗)
    28comments
  13. New evidence for hidden chambers beyond Tutankhamun's tomb(nature.com ↗)
    17comments
  14. Almost Never Use AI to Write Anything Substantive(erichgrunewald.substack.com ↗)
    47comments
  15. GPT-6 Astra Solves a WWI German Radio Cipher(prinzai.com ↗)
    149comments
  16. San Francisco Onion Futures Company(onionfutures.com ↗)
    136comments
  17. Cloudflare Quick Tunnels(cloudflare.com ↗)
    303comments
  18. How to Write with an LLM(sockpuppet.org ↗)
    367comments
  19. Adventures in Microcontroller Circuit Debugging(bigmessowires.com ↗)
    1comments
  20. If math is more than proof, we need to better celebrate the rest of it(terrytao.wordpress.com ↗)
    219comments
  21. What Zig felt like, coming from Rust(besok.github.io ↗)
    158comments
  22. Asking Authors About Their Own Papers(medium.com/tmlrorg ↗)
    52comments
  23. You can run Git on object storage if you re-make packfiles(tigrisdata.com ↗)
    30comments
  24. Saving another 100TB of RAM(cloudflare.com ↗)
    97comments
  25. Communication by means of modulated Johnson noise(pnas.org ↗)
    24comments
  26. SDCC – Small Device C Compiler(sourceforge.net ↗)
    28comments
  27. How OpenAI Used Its Own LLMs to Design Its Jalapeño Chip(ieee.org ↗)
    125comments
  28. Science Is Open Software(jepedersen.dk ↗)
    64comments
  29. The first new cat species discovered in 100 years(nationalgeographic.com ↗)
    133comments
  30. Ray Ozzie and the Optimism of Being Early(reproof.app ↗)
    22comments

Adventures in Microcontroller Circuit Debugging

12 pointsby 2d agobigmessowires.com
1 comments
1h agoHN ↗

I wonder if the author is right; using a slightly wrong capacitor for the clock (keeping in mind that they're usually +/- 10% or worse from the factory) may produce a different oscillation speed, but usually not an outright failure. These chips accept a pretty wide range of clock frequencies.

And in the comments, they note:

"I replaced the 18pF capacitors on one of the non-working boards with 10pF capacitors, but it still doesn’t boot or respond to the debugger. That surprised me – I thought that was the answer! It was a rush rework job and I made a bit of a mess of it, including accidentally desoldering and reinstalling the crystal, so I’ll try again later with another board. But it appears that the capacitor value may not have been the issue after all. Either 10pF is a bad value, or it’s the crystal itself that’s at fault, or I’ve failed somewhere in my troubleshooting reasoning. Hmm."

In my experience, mystery stability problems are often caused by capacitors, but of a different kind: decoupling capacitors on the power supply pins. If there's not enough of them to keep up with the noise originating from motors or digital switching, I'd expect that exact issue. Intermittent "impossible" CPU states on some boards, no rhyme or reason (because sometimes, that +/- 10% saves you and sometimes it does not). I'd try more caps and possibly some ferrite beads.