Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Data loss when unplug power

Featured Replies

Hi all,

 

I am using NanoPi-Neo Air and my application is just logging binary data to a file. The board is powered by usb from a pc.

I can dump and list to see binary data inside the file but after unplug power from usb then power up the board from usb again, I found the binary data is gone or some errors data, unknown data appended.

 

Do you guys have same issued? or any suggestions?

 

Thanks in advance

  • Author

No error when shutdown or reboot by using command shell, but I plan to run the board as a main controller and power up the board by batteries.

Just power ON/OFF switch then the circuit ready to work but I am worry that when power off the switch I will get incorrect data logger.

4 hours ago, zakk said:

Just power ON/OFF switch then the circuit ready to work but I am worry that when power off the switch I will get incorrect data logger.


Our system is prepared for general usage and if you want to achieve this you'll need to alter few things. First is mount option commit=600 for root fs (/etc/fstab). Remove or set to 0. And the most extreme / safe thing is setting file system read-only. In this case you should not loose anything.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.