Guitarmath / arducopter

Automatically exported from code.google.com/p/arducopter
0 stars 0 forks source link

Arducopter 2.6 uses chip erase to erase log files. Some APM2 dataflash fail to erase. Known Atmel issue #438

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.71 log files so Erase Chip > Terminal - Log - Erase > shows empty
2.Reboot Mission planner still shows 71 Log files but no Files are listed
3.Does not record Log Files when flying. In terminal log mode still shows 71 
files but none are downloadable or accessible. Multiple erases and same thing 
over and over.

What is the expected output? What do you see instead?
Expect to record new file when fly, but chip is not recording log files and 
does not have access to the 71 log files it says are there.

Immediately after erase it shows no log files, but later will show 71 files 
again.

According to Yovio from SG drone, version 2.6 Arducopter switched to chip erase 
from previous block erase to clear the data flash.

Also according to Yovio the Atmel dataflash chip used in the APM2 has a know 
intermittent problem and they suggest using block erase or page erase.

Earlier versions of Arducopter used Page erase erase which was slower but more 
reliable than chip erase. 

Block erase should be faster than page erase and should be implemented because 
it does not have unreliability problem.

According to Yovio several of his APM2 boards also have this problem.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by garyrmccray@gmail.com on 1 Jul 2012 at 5:09

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Andrew Tridgell introduced a test to see if chip erase correctly erased and if 
not defaulted to a block erase.
I was still showing problems with this and not actually getting my APM2's chip 
(log) erased
Now Andrew has simply defaulted to a Block style erase because of erase test 
not working correctly.
I will try new Arducopter 2.6 again.

Original comment by garyrmccray@gmail.com on 10 Jul 2012 at 8:00

GoogleCodeExporter commented 8 years ago
As of the most recent release (Arducopter 2.7)it does appear that log file chip 
erase is working on my board. 
I still need to verify proper log recording is working.

Original comment by garyrmccray@gmail.com on 31 Jul 2012 at 1:34

GoogleCodeExporter commented 8 years ago
Issue closed. 
If you find this is an error please report it in the new issues list
https://github.com/diydrones/ardupilot/issues?labels=ArduCopter&page=1&state=ope
n

Original comment by Benny.Si...@gmail.com on 20 Jan 2013 at 12:31