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

DIY Robocars via Twitter
RT @SmallpixelCar: Today at @RAMS_RC_Club for @diyrobocars. Used @emlid RTK GPS and @adafruit @BoschGlobal IMU. Lap time 28s https://t.co/R…
7 hours ago
DIY Robocars via Twitter
May 15
DIY Robocars via Twitter
May 14
DIY Robocars via Twitter
May 13
DIY Robocars via Twitter
RT @f1tenth: Say hi to our newest #F1TENTH creation for @ieee_ras_icra next week in Philly. It’s going to be huge! 😎 🔥 @AutowareFdn @PennEn…
May 13
DIY Robocars via Twitter
May 11
DIY Robocars via Twitter
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Noticed my car zigzagged in last run. It turned out to be the grass stuck in the wheel and made the odometry less accura…
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Test my car. RTK GPS worked great. Thanks @emlid for their support. https://t.co/EkQ6qmjmWR
May 8
DIY Drones via Twitter
RT @chr1sa: @kane That's @diydrones circa 2009. Still have a box of those Canon cameras that we used to strap into planes, just like this.…
May 3
DIY Robocars via Twitter
RT @chr1sa: Our next @diyrobocars race is going to be outside at a real RC racetrack in Fremont on May 28. Fully autonomous racing, head-to…
Apr 30
DIY Robocars via Twitter
RT @f1tenth: Our Spring 2022 F1TENTH course @PennEngineers is coming to an end with a head-to-head race as a big finale. So proud of our st…
Apr 26
DIY Robocars via Twitter
RT @DanielChiaJH: I wrote a thing! Throughout the development of my @diyrobocars car I've been using @foxglovedev Studio to visualize and d…
Apr 23
DIY Robocars via Twitter
RT @SmallpixelCar: My new car for high speed. Low body, everything ( @NVIDIAEmbedded Jetson Xavier NX, @emlid RTK GPS, IMC) under the deck…
Apr 23
DIY Robocars via Twitter
Apr 21
DIY Robocars via Twitter
RT @f1tenth: F1TENTH Race training setup @PennEngineers for our upcoming ICRA2022 @ieee_ras_icra competition. @OpenRoboticsOrg @IndyAChalle…
Apr 21
More…