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
RT @donkey_car: Human-scale Donkey Car! Hope this makes it to a @diyrobocars race https://www.youtube.com/watch?v=ZMaf031U8jg
Saturday
DIY Robocars via Twitter
Saturday
DIY Robocars via Twitter
Jun 16
DIY Robocars via Twitter
RT @GrantEMoe: I won my first @diyrobocars @donkey_car virtual race! Many thanks to @chr1sa @EllerbachMaxime @tawnkramer and everyone who m…
Jun 13
DIY Robocars via Twitter
RT @gclue_akira: JetRacerで自動走行したコースを、InstantNeRFで再構築。データセットは別々に収集 #jetracer #instantNeRT https://t.co/T8zjg3MFyO
Jun 13
DIY Robocars via Twitter
RT @SmallpixelCar: SPC 3.0 Now the motor also works. This car is doable. I just need to design a deck to mount my compute and sensors. http…
Jun 13
DIY Robocars via Twitter
RT @SmallpixelCar: My new car SPC 3.0. https://t.co/CKtkZOxeNQ
Jun 7
DIY Robocars via Twitter
RT @SmallpixelCar: High speed at @diyrobocars thanks @EdwardM26321707 for sharing the video https://t.co/o4317Y2U1S
Jun 7
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…
May 28
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
More…