Problem with Logs

Hi,

 

For the past few days my log is not working anymore. When I try to pull the log it will shown the bellow:

ArduCopter V2.5.5] logs logs enabled:  ATTITUDE_MED GPS PM CTUN NTUN CMD

96 logs

Log -1791,    start 1,   end 1

Log -1790,    start 1,   end 1

Log]

 

ys negative, and there is no informations.

My hardware is APM2. I tried erase logs, erase eeprom, reset factory default, upload new firmware, upload fw using arduino. Tried latest code from GIT with new dataflash erase method, pul the dataflash and put it back.

My hexa flew well, it just I need the log to help me with analyze my copter.

Any idea what else I should do?

 

Regards,

 

Yovi

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

Join diydrones

Email me when people reply –

Replies

  • The new Firmaware Arducopter 2.6 and Arduplane 2.4 using Chip erase method to clear the dataflash.

    Based on my reading on Datasheet of the flash chip, the manufactur (Atmel) mention that Chip erase has intermitent problem and they suggest to use Block erase or Page erase.

    Earlier version of Arducopter and Arduplane use Page erase, it was slow but more reliable, block erase should be faster than page erase and still reliable.

    Maybe dev team can look into this further.

     

    Cheers,

     

    Yovi

    www.sgdrone.com

  • I'm getting a similar problem.  My APM2 is brand new.  The first few flights the logs were fine. I downloaded them once and then cleared them through the planner.  Since then, I have never been able to consistently create new logs.  Most of the time I end up with the right number of log files but they start and end with event 1, ie they are zero lenght.  When I download them there is nothing in them.

    Seems like a regression with the latest firmware?  Someone mentioned there is a new erase method being used, maybe that's the problem?

  • I'm running Arduplane 2.40 and I'm getting the same thing on multiple boards.

    I think that the recent firmware might have a bug?  But I'll try some of the suggestions listed here.

  • All,

    Thank you for your suggestion, I'll try it and i report the result :)

    Cheers,

    Yovi

  • yovio,

    I had this exact same issue when I loaded 2.6 via Arduino IDE  (was 2.5.4). I have an APM1.  Cleared the logs many times (what's that old saying about doing the same thing over and over again, expecting different results?).  Then tried reloading 2.5.4, clearing the logs, performing Setup/Erase/Reset, reloading 2.6, setup/erase/reset - did this many times - the issue still persisted.  

    Then, I changed the routine once.  Started with 2.6 and setup/erase/rest.  Saved Params to disk.  Reloaded 2.5.4.  but no Setup/Erase/Reset.  Then I loaded 2.6 again, but again, no Setup/Erase/Reset.  Then loaded the previously saved 2.6 params.  All works now.    I have not verified that this is the fix for the issue as I have not reproduced the issue and fix again, but I sure am glad it's now working.... 

  • did you try to erase the dataflash?

    In terminal, log download, erase all logs.

    You probably have too many logs and have passed the boundaires. It is probably a bug, but anyway having 96 is not very useful.

    I'm sure if  you erase them, you will get things back as normal.

    Emile

  • I saw a very similar problem with the latest arduplane firmware, could be related.

  • Anyone experienced this issue?

This reply was deleted.

Activity

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
DIY Robocars via Twitter
RT @fatcatFABLAB: Proud to be hosting a restarted DIY Robocars NYC Meetup April 26. Come by if you want to talk about and race self-driving…
Apr 17
More…