News for hackers. Stuff that matters.
Re:The design of littlefs: A fail-safe filesystem designed f... by delfinom on Saturday August 31, 2019 @09:33AM (#20846169)
Many MCUs do not appreciate slow rise-times when using their internal regulators. Then you start oversizing your regulator or providing them replacement regulators. Which then opens more cans of worms, etc, etc.
Re:The design of littlefs: A fail-safe filesystem designed f... by leggomylibro on Saturday August 31, 2019 @11:53AM (#20847032)
Many voltage regulators have 'power good' pins that you can tie to the MCU's reset line, though.
Re:The design of littlefs: A fail-safe filesystem designed f... by neltnerb on Saturday August 31, 2019 @12:47PM (#20847389)
And if you don't have this, I posted this circuit example I just made for a delayed power turn on time above. Capacitor is about 5 cents, the transistors are about 6 cents each. If you need it you need it, but power good to the reset line is better.

https://i.postimg.cc/Df9N8fM5/delayed-turn-on-circuit.png

Or just put a capacitor after the reset line pullup so that it effects delayed turn on during boot.

Re:The design of littlefs: A fail-safe filesystem designed f... by leggomylibro on Saturday August 31, 2019 @01:23PM (#20847589)
Oh, neat trick - thanks for sharing!
Re:The design of littlefs: A fail-safe filesystem designed f... by Tempest1981 on Saturday August 31, 2019 @02:15PM (#20847915)
What is the voltage drop across D1 and Q2? Is that ever an issue?
Re:The design of littlefs: A fail-safe filesystem designed f... by neltnerb on Saturday August 31, 2019 @11:37PM (#20850359)
The drop across D1 can be significant, using a Schottky helps. Usually within the tolerance of the power supply in any case.

But a capacitor on the reset pin is pretty good ;-)

Re:The design of littlefs: A fail-safe filesystem designed f... by Gibbon1 on Saturday August 31, 2019 @04:58PM (#20848750)
Those microcontrollers aren't reliable anyways. If you design those in you have to accept that if they have persistent state they will eventually brick themselves. If they don't have persistent state they will hang and require user intervention on a regular basis.