Pixhawk fails to log any data

Hello

I have been using this pixhawk for maybe a month. I modified Copter 3.3 rc5 code a bit - nothing too drastic. One thing I did do is I modified one of the log messages(log_Rate). It compiles and runs but after flights nothing is logged- actually it deleted all the old logs and now nothing is there. Has anyone ran into problems like this? I’m not certain if its just the clone pixhawk or my code. I might remove some code to see if I can get logging back but I’ve changed logging before with no problem. Any tips would be appreciated.

thanks

I figured this one out - turns out when I was flashing the pixhawk - the log_bitmask was getting changed to a funky number. Not sure what caused that but once I set it back to default - logging worked

I have been using this pixhawk for maybe a month. I modified Copter 3.3 rc5
code a bit - nothing too drastic. One thing I did do is I modified one of
the log messages(log_Rate). It compiles and runs but after flights nothing
is logged- actually it deleted all the old logs and now nothing is there.
Has anyone ran into problems like this? I’m not certain if its just the
clone pixhawk or my code. I might remove some code to see if I can get
logging back but I’ve changed logging before with no problem. Any tips would
be appreciated.

This almost always comes down to a bad SD card - either physically, or
slightly corrupt.

Try removing and reformatting the SD card.

You may also want to rebase your work on top of ArduCopter 3.4 - it
contains several changes which should make it clearer what’s going on (or
at least make you aware of the problems sooner. If you’re even keener,
master has some patches in it which improve on that still.