News for hackers. Stuff that matters.
Re:BFree – A battery-free prototyping platform with CircuitP... by throwaway81523 on Monday November 29, 2021 @06:17PM (#29386630)
The ULP coprocessor still uses a small amount of power, as does its few KB of NVRAM. The idea of the intermittently powered FRAM thing is that it can be powered down completely, then start up again and continue from a checkpoint. I haven't read the paywalled article, but it looks to me like the main contribution in the project was hacking circuit python to transparently checkpoint itself every so often, so that it can restart when power is restored.

I don't really understand why they used the second (msp430) microprocessor, instead of add-on FRAM like this: https://www.adafruit.com/product/1895

It also seems to me that micropython is great for some things, but in this particular deployment it is increasing the hardware cost and complexity quite a bit.

Re:BFree – A battery-free prototyping platform with CircuitP... by Chris2048 on Monday November 29, 2021 @07:00PM (#29387033)
Yep. I think for limited resources, micro-py is the wrong approach. That it is interpreted aside; I had a lua-based interpreter crash because the stack/heap in a nested routine (ie lots of nested fn calls) managed to fill up available memory.
Re:BFree – A battery-free prototyping platform with CircuitP... by jhgb on Wednesday December 01, 2021 @06:16AM (#29402694)
Sounds almost like an ideal use case for Oberon to me - perhaps with remoting the UI or something like that. Chances are that a full environment would still be smaller than this micro-py thingy, whatever that is.