RizkiWahyupratama / ardupilot-mega

Automatically exported from code.google.com/p/ardupilot-mega
0 stars 0 forks source link

Datalogging problem #419

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.record many data on dataflash make it almost to be full.
2.power off and on and let it record more to be overwrite the older logs.
3.see what happens on CLI mode

What is the expected output? What do you see instead?
The expected is to overwrite the older logs as it says on wiki

a) the older records erased and the new datalog start on log #1 itself by the 
code as it should be
2) The code  erase the logs or maybe logs get corrupted somehow and not able to 
record any logs again until I manually erase the dataflash memory (even if it 
says no logs in memory I erase it) So older logs is not overwritten

3)If the memory is not full at startup it will be full and not will erase any 
logs or not will overwrite any logs.

What version of the product are you using? On what operating system?
ArduPilotMega 1.4 with atmega2560 and imu shield
APM Mission Planner 1.0.72 
ArduPlane2.24
windows XP SP3

Please provide any additional information below.
if the second situation happens and I reset the EEPROM I may see some logs on 
dataflash.But not as it should be. Lets say there was 7 records after eeprom 
reset I may get only one...

Original issue reported on code.google.com by 2534...@student.gaziantep.edu.tr on 20 Sep 2011 at 11:11

GoogleCodeExporter commented 9 years ago
If you just erase the dataflash and let it be full, even if it is full it will 
not clear the memory and overwrite. and you will see the second situation

Original comment by 2534...@student.gaziantep.edu.tr on 20 Sep 2011 at 11:14

GoogleCodeExporter commented 9 years ago
if i understand you correctly this is the normal action. if the log fills you 
need to clear the log. it will not automaticly overwrite

Original comment by Meee...@gmail.com on 22 Sep 2011 at 8:24

GoogleCodeExporter commented 9 years ago
on the wiki page it is stated that "Once the dataflash is full, older logs will 
be overwritten." but it almost never happens

Original comment by 2534...@student.gaziantep.edu.tr on 23 Sep 2011 at 7:51

GoogleCodeExporter commented 9 years ago
Please check the http://www.diydrones.com/forum/topics/datalogging-problems 
page for more info

Original comment by 2534...@student.gaziantep.edu.tr on 23 Sep 2011 at 11:24

GoogleCodeExporter commented 9 years ago
"Once the dataflash is full, older logs will be overwritten."
where is the wiki pages that says that? that have never been true.

Original comment by Meee...@gmail.com on 25 Sep 2011 at 4:27

GoogleCodeExporter commented 9 years ago
The ArduPlane wiki did say that, but it was in error.  I have corrected the 
wiki.

Original comment by dewei...@gmail.com on 25 Sep 2011 at 10:28