USB mass storage device access to micro SD card

I am looking for an easier and faster method to access logfiles on the micro SD card without removing it. Mavlink gives a lot of overhead, and in earlier versions of Ardupilot the 0 bytes length logfiles was a big issue to me. Also formatting the micro SD inside the Pixhawk isn’t possible. Depending on the level on a GPIO pin at boottime I would like to start normal Ardupilot with USB CDC device, or USB mass storage device to access to micro SD card. Could somebody give me some help at what point in the (Nuttx) code I would be able to add this? Thanks a lot!

1 Like