-
Notifications
You must be signed in to change notification settings - Fork 216
Continuous Logging
There are multiple reports of users having problems with logs containing dropped characters at baud rates above 9600bps. Here are some tips and tricks to get more of your characters logged at higher baud rates.
Format your card
Remember to use a clean card with few or no files on it. A microSD card with 100MB worth of ZIP files or MP3s has a slower response time than an empty card.
This card works but this one doesn’t
There are so many different types of card manufacturers, and relabeled cards, it’s maddening. We always use a regular, generic, 1GB microSD card. It works great for us at 9600bps. If you need higher baud rates you may want to try larger, class 6 and above cards. We cannot guarantee that a faster card will work better – the evidence is very spotty.
Use 9600 baud
OpenLog has a limited amount of RAM (2048 bytes). When you send serial characters to OpenLog these characters get buffered. The SD spec allows an SD card to take up to 250ms to record a data block to flash memory.
Related Issues
Here is a list of issues that are related and have been discussed in the past:
Continuous binary logging data loss : https://github.com/nseidle/OpenLog/issues/62