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 ↗)
    192comments
  2. AI-generated posters don’t have to be horrible(john.hartnup.uk ↗)
    589comments
  3. Btrfs/ZFS/bcachefs under workloads classic benchmarks skip(bartosz.fenski.pl ↗)
    20comments
  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 ↗)
    89comments
  6. Tin: full-text search for Postgres(planetscale.com ↗)
    58comments
  7. Suzanne Ciani's Buchla Cookbook(echo.orpheusinstituut.be ↗)
    2comments
  8. The Secret Life of Circuits(coredump.cx ↗)
    61comments
  9. Show HN: CUA-S1 – A System One Model for Computer Use(github.com/trycua ↗)
    1comments
  10. Android 17 is the first since 3.x to add new APIs without releasing to the AOSP(grapheneos.social ↗)
    608comments
  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 ↗)
    18comments
  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 ↗)
    150comments
  16. UFO Series Home Page: "UFO" TV Series from 1970(ufoseries.com ↗)
    1comments
  17. San Francisco Onion Futures Company(onionfutures.com ↗)
    137comments
  18. Cloudflare Quick Tunnels(cloudflare.com ↗)
    303comments
  19. How to Write with an LLM(sockpuppet.org ↗)
    367comments
  20. Adventures in Microcontroller Circuit Debugging(bigmessowires.com ↗)
    1comments
  21. If math is more than proof, we need to better celebrate the rest of it(terrytao.wordpress.com ↗)
    220comments
  22. What Zig felt like, coming from Rust(besok.github.io ↗)
    161comments
  23. Asking Authors About Their Own Papers(medium.com/tmlrorg ↗)
    55comments
  24. Saving another 100TB of RAM(cloudflare.com ↗)
    97comments
  25. You can run Git on object storage if you re-make packfiles(tigrisdata.com ↗)
    30comments
  26. Communication by means of modulated Johnson noise(pnas.org ↗)
    25comments
  27. SDCC – Small Device C Compiler(sourceforge.net ↗)
    28comments
  28. How OpenAI Used Its Own LLMs to Design Its Jalapeño Chip(ieee.org ↗)
    126comments
  29. Science Is Open Software(jepedersen.dk ↗)
    64comments
  30. The first new cat species discovered in 100 years(nationalgeographic.com ↗)
    133comments

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.