And one more question - when is a new log file created? It seems like I get a lot of them - maybe a new one or two every minute. Some of them have no data logged, just the header and field descriptions.
dataflash logs are created in arduplane whenever you plug it in.
the gps time field is in milliseconds since epoch
the i2c errors are not enumerated but each PM message will tell you the number of errors since the last PM message
Thank you so much for your help. This is driving me crazy.
So if I had multiple log files created - say 1 or 2 a minute while the FC was powered up, that would be a Bad Thing?
And if I had random values (positive and negative) for the i2c error values, that might indicate that I'm getting a LOT of them and I'm getting overflow in the counts?
The initial problem I'm trying to track down is that the flight mode seems to randomly change on its own and often doesn't respond to my RC commands to change. That, and at random, usually very inopportune times my throttle goes to zero. Oh yeah, and the 3DR radio locks up. These problems are repeatable without a motor connected to the ESC, while stationary on my workbench.
I'm really starting to suspect a hardware problem. This is one of the first APM2s from last year - I was on the pre-buy waiting list.
Ok, sounds like trouble. multiple log files created every few minutes sounds like the apm is restarting but maybe it's something else. I almost never seen any i2c errors in logs i look at so that also sounds very bad.
you've of course done the old "cli, setup, reset, Y" thing to reset all params to defaults?
Yep, I did the reset quite a few times.
I also swapped a different APM board into this build and I'm not seeing any problems.
This board may have a history. When I first got it last year and tried to install the firmware and it froze up on me. I sent it back to 3DR and eventually got back what I thought was a new board. Maybe it was this one with more problems that weren't fixed. I got impatient waiting for the replacement/repair and bought a 2nd board which I've been using successfully on a tricopter. And I bought a 2.6 board which I have in a quad. So it wasn't until just the last couple weeks that I've gotten around to work with this original board. Which is now kind of appearing like it's never worked right.
I'm guessing 14 months is beyond any warranty period...
Thanks again for the help!