- Posts: 3333
High rate of filesystem corruption with T8SG
- vlad_vy
- Topic Author
- Offline
Less
More
19 Dec 2018 07:14 #72085
by vlad_vy
High rate of filesystem corruption with T8SG was created by vlad_vy
This usually happens after turning off the power.
What will happen if in time of writing model or transmitter config any higher level interrupt (mixer, protocol) will start play music (read sound file from USB drive)???
Probably we need to disable interrupts while writing configuration files.
What will happen if in time of writing model or transmitter config any higher level interrupt (mixer, protocol) will start play music (read sound file from USB drive)???
Probably we need to disable interrupts while writing configuration files.
Please Log in or Create an account to join the conversation.
- Fernandez
- Offline
Less
More
- Posts: 983
19 Dec 2018 08:07 #72086
by Fernandez
Replied by Fernandez on topic High rate of filesystem corruption with T8SG
And if properly disconnect USB in windows, or USB disconnect from Devo does it happen?
Please Log in or Create an account to join the conversation.
- csujun
- Offline
Less
More
- Posts: 28
19 Dec 2018 13:40 #72087
by csujun
Replied by csujun on topic High rate of filesystem corruption with T8SG
A common way to do so is writing a new file with the name like model1.txt~ then disable interrupt to remove old one and rename the new one to moel1.txt. the period to disable interrupt will be minimized.
Please Log in or Create an account to join the conversation.
- FDR
- Offline
21 Dec 2018 20:31 #72095
by FDR
Replied by FDR on topic High rate of filesystem corruption with T8SG
This filesystem can't create new files...
Please Log in or Create an account to join the conversation.
- csujun
- Offline
Less
More
- Posts: 28
23 Dec 2018 15:47 #72103
by csujun
Replied by csujun on topic High rate of filesystem corruption with T8SG
We can add a flag says "SuspendPowerOff", increase it by 1 when you want to suspend the power off. and decrease it when we are okay to power off. In the main event loop, check this flag as well as the power switch.
Please Log in or Create an account to join the conversation.
Time to create page: 0.036 seconds
- Home
- Forum
- Development
- Development
- High rate of filesystem corruption with T8SG