On-board logging problem: erase broken

Hello,

I use APM 2.0 with 2.7 firmware. I noticed that log erase works strangely. In fact it doesn't work. I erased all files from CLI. Then powered on, armed and switched off after couple of seconds. Then downloaded new log file. It appeared  3+ Mb of size and included 45 of my past missions.

Questions:
1. How to properly remove logs (or clean logging area on EEPROM?)

2. When the new on-board file supposed to be created? After re-powering the board? Certainly all missions withing one power cycle get written into the same large file. Which is hugely inconvenient for analyzing problems.

Appreciate any help.

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Well I've come to the conclusion that this is something that we are stuck with, at least with this version of dataFlash.

    I have the same problems, current logs get appended to old, in an ever growing multi-log file!

    But thankfully they also get written separately, so the large file can be ignored...

    I wonder what will happen when the log file fills the dataFlash memory!

    Having trolled through the atmel datasheets, and var forums, it looks like the atmel erase process only works on some batches of dataFlash, add to that, the problems of a possible ill fitting card or damaged contacts, makes for a not-so-reliable device. It appears that atmel has quickly resolved this problem by producing an ic version of the dataFlash so hopefully that will have fully functional commands.

  • Developer

    The "chip erase" function doesn't work as advertised by the chip manf. Many chips fail to erase. The latest version falls back on the old 1 byte at a time method.

    Jason

This reply was deleted.

Activity