Comments (3)
The concern is this needs to be done carefully so as to not overwrite the same blocks many times on the SD card and thus significantly shorten its lifespan.
from battor.
I gave some more thought to this and I think the best way to do it is to keep a used block map on the PC and update it each time the BattOr runs. The BattOr can check to see if a block is used if it contains the same random number as the super block. Super blocks should be rewritten each time the SD card is filled.
from battor.
This was implemented for the BattOr v3.2.1 release.
from battor.
Related Issues (20)
- make install hangs on battor -k HOT 2
- POTs fail to initalize
- SRAM fails write and read in self test HOT 1
- battor cli use tty parameter HOT 2
- Start/Stop button should start and stop captures HOT 1
- When there are 4000 files, searching for the next free file can take up to 4 seconds HOT 3
- Pulling the plug on the BattOr can kill the program stored in onboard flash
- When SD card fills up, runs fail.
- If bytes are sent to the BattOr during reset, it won't receive any bytes again
- BattOr halts after 6 seconds of recording samples HOT 8
- LED codes are not listed in README HOT 2
- UART TX consistantly fails on OSX after many buffer/download runs HOT 1
- Add the battor sw output format to the README
- Blocking uart_rx in firmware causes haults HOT 3
- Timeout on download
- Sending many repeated download commands results in stuck in download mode
- First yellow blink for portable mode file index comes right after reboot blinks
- BattOr resets occasionally when sample count command is run
- System occasionally exits with tty write failure HOT 1
- Autocompilation on ARM incorrectly compiles switch case in battor.c
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from battor.