{"action":"created","issue":{"url":"https://api.github.com/repos/iNavFlight/inav/issues/3843","repository_url":"https://api.github.com/repos/iNavFlight/inav","labels_url":"https://api.github.com/repos/iNavFlight/inav/issues/3843/labels{/name}","comments_url":"https://api.github.com/repos/iNavFlight/inav/issues/3843/comments","events_url":"https://api.github.com/repos/iNavFlight/inav/issues/3843/events","html_url":"https://github.com/iNavFlight/inav/issues/3843","id":357399340,"node_id":"MDU6SXNzdWUzNTczOTkzNDA=","number":3843,"title":"Blackbox logs corrupted - Inav 2.0, OMNIBUSF4V3","user":{"login":"krzysztofmatula","id":16244785,"node_id":"MDQ6VXNlcjE2MjQ0Nzg1","avatar_url":"https://avatars0.githubusercontent.com/u/16244785?v=4","gravatar_id":"","url":"https://api.github.com/users/krzysztofmatula","html_url":"https://github.com/krzysztofmatula","followers_url":"https://api.github.com/users/krzysztofmatula/followers","following_url":"https://api.github.com/users/krzysztofmatula/following{/other_user}","gists_url":"https://api.github.com/users/krzysztofmatula/gists{/gist_id}","starred_url":"https://api.github.com/users/krzysztofmatula/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krzysztofmatula/subscriptions","organizations_url":"https://api.github.com/users/krzysztofmatula/orgs","repos_url":"https://api.github.com/users/krzysztofmatula/repos","events_url":"https://api.github.com/users/krzysztofmatula/events{/privacy}","received_events_url":"https://api.github.com/users/krzysztofmatula/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-05T20:55:06Z","updated_at":"2018-09-06T08:03:49Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Once upon a time BB logs were working for me flawlessly on my FC with the same SD card.\r\nNow, with iNav 2.0 most of the logs are corrupted - part of the log header is missing.\r\n\r\nExample corrupted log:\r\n[LOG00025.TXT](https://github.com/iNavFlight/inav/files/2354530/LOG00025.TXT)\r\n\r\nExample correct log recorded the same day:\r\n[LOG00024.TXT](https://github.com/iNavFlight/inav/files/2354531/LOG00024.TXT)\r\n\r\nI observe that usually the first log taken on a battery is corrupted (but not always).\r\nThe subsequent log (after disarm, arm) is usually better, yet also not always correct.\r\nHere example of 2 logs taken on the same battery. Both seem corrupted, yet the 2nd has more header fields:\r\n[LOG00047.TXT](https://github.com/iNavFlight/inav/files/2354536/LOG00047.TXT)\r\n[LOG00048.TXT](https://github.com/iNavFlight/inav/files/2354537/LOG00048.TXT)\r\n\r\nMy diff:\r\n```\r\n# version\r\n# INAV/OMNIBUSF4V3 2.0.0 Aug 20 2018 / 19:10:22 (dbdd1656a)\r\n\r\n# resources\r\n\r\n# mixer\r\nmmix 0  1.000 -1.000  1.000 -1.000\r\nmmix 1  1.000 -1.000 -1.000  1.000\r\nmmix 2  1.000  1.000  1.000  1.000\r\nmmix 3  1.000  1.000 -1.000 -1.000\r\n\r\n# servo mix\r\n\r\n# servo\r\n\r\n# feature\r\nfeature -TX_PROF_SEL\r\nfeature SOFTSERIAL\r\nfeature GPS\r\nfeature TELEMETRY\r\nfeature CURRENT_METER\r\nfeature LED_STRIP\r\nfeature PWM_OUTPUT_ENABLE\r\n\r\n# beeper\r\nbeeper -ON_USB\r\n\r\n# map\r\n\r\n# serial\r\nserial 0 2 115200 115200 0 115200\r\nserial 5 64 115200 38400 0 115200\r\nserial 30 16 115200 38400 57600 115200\r\n\r\n# led\r\nled 0 15,15:S:C:2\r\nled 1 14,15:S:CW:2\r\nled 2 9,15:S:CW:2\r\nled 3 8,15:S:CW:2\r\nled 4 7,15:S:CW:2\r\nled 5 6,15:S:CW:2\r\nled 6 1,15:S:CW:2\r\nled 7 0,15:S:C:2\r\nled 8 11,0:N:C:1\r\nled 9 10,0:N:CW:1\r\nled 10 9,0:N:CW:1\r\nled 11 8,0:N:CW:1\r\nled 12 7,0:N:CW:1\r\nled 13 6,0:N:CW:1\r\nled 14 5,0:N:CW:1\r\nled 15 4,0:N:C:1\r\n\r\n# color\r\n\r\n# mode_color\r\n\r\n# aux\r\naux 0 0 5 1500 2100\r\naux 1 2 1 900 1200\r\naux 2 20 1 1200 1400\r\naux 3 4 1 900 1075\r\naux 4 9 0 1250 1500\r\naux 5 8 0 1500 2100\r\naux 6 11 1 1500 2100\r\naux 7 12 2 1700 2100\r\naux 8 32 2 1300 1700\r\naux 9 33 2 1700 2100\r\n\r\n# adjrange\r\n\r\n# rxrange\r\nrxrange 0 1019 2019\r\nrxrange 1 1019 2019\r\nrxrange 2 1019 2019\r\n\r\n# osd_layout\r\nosd_layout 0 0 8 1 V\r\nosd_layout 0 1 24 1 V\r\nosd_layout 0 2 0 0 V\r\nosd_layout 0 3 8 6 H\r\nosd_layout 0 4 8 6 H\r\nosd_layout 0 7 15 14 V\r\nosd_layout 0 9 1 2 H\r\nosd_layout 0 11 25 2 V\r\nosd_layout 0 12 9 14 V\r\nosd_layout 0 13 1 7 V\r\nosd_layout 0 14 0 1 V\r\nosd_layout 0 15 24 7 V\r\nosd_layout 0 19 25 3 V\r\nosd_layout 0 20 16 14 H\r\nosd_layout 0 21 4 14 H\r\nosd_layout 0 22 14 1 V\r\nosd_layout 0 23 16 1 V\r\nosd_layout 0 28 21 14 V\r\nosd_layout 0 29 24 1 H\r\nosd_layout 0 31 0 2 V\r\nosd_layout 0 34 10 1 H\r\nosd_layout 0 40 0 3 V\r\nosd_layout 0 53 1 14 H\r\nosd_layout 0 54 2 14 V\r\nosd_layout 0 76 1 2 H\r\nosd_layout 1 1 22 11 V\r\nosd_layout 1 20 2 9 V\r\nosd_layout 1 21 2 8 V\r\nosd_layout 1 23 2 11 V\r\nosd_layout 1 28 22 9 V\r\n\r\n# master\r\nset looptime = 500\r\nset gyro_sync = ON\r\nset gyro_hardware_lpf = 256HZ\r\nset gyro_lpf_hz = 100\r\nset gyro_notch1_hz = 170\r\nset gyro_notch1_cutoff = 140\r\nset gyro_notch2_hz = 85\r\nset gyro_notch2_cutoff = 70\r\nset acc_hardware = MPU6000\r\nset acczero_x = 79\r\nset acczero_y = -32\r\nset acczero_z = -27\r\nset accgain_x = 4067\r\nset accgain_y = 4097\r\nset accgain_z = 4000\r\nset mag_hardware = HMC5883\r\nset magzero_x = 22\r\nset magzero_y = -82\r\nset magzero_z = -71\r\nset align_mag_roll = 1800\r\nset align_mag_yaw = 450\r\nset baro_hardware = BMP280\r\nset pitot_hardware = NONE\r\nset receiver_type = SERIAL\r\nset rssi_channel = 9\r\nset serialrx_provider = SBUS\r\nset blackbox_rate_denom = 2\r\nset min_throttle = 1050\r\nset max_throttle = 1950\r\nset motor_pwm_rate = 2000\r\nset motor_pwm_protocol = ONESHOT125\r\nset failsafe_procedure = RTH\r\nset current_meter_scale = 270\r\nset model_preview_type = 3\r\nset deadband = 0\r\nset nav_extra_arming_safety = OFF\r\nset nav_user_control_mode = CRUISE\r\nset nav_auto_speed = 600\r\nset nav_manual_climb_rate = 500\r\nset nav_rth_altitude = 2000\r\nset nav_mc_hover_thr = 1268\r\nset osd_video_system = PAL\r\nset async_mode = GYRO\r\nset name = KM\r\nset stats = ON\r\nset stats_total_time = 39907\r\nset stats_total_dist = 348219\r\nset stats_total_energy = 1745688\r\n\r\n# profile\r\nprofile 1\r\n\r\nset heading_hold_rate_limit = 50\r\nset thr_mid = 35\r\nset thr_expo = 30\r\nset rc_yaw_expo = 70\r\nset roll_rate = 80\r\nset pitch_rate = 80\r\nset yaw_rate = 80\r\n\r\n# battery_profile\r\nbattery_profile 1\r\n\r\nset vbat_cell_detect_voltage = 440\r\nset vbat_max_cell_voltage = 440\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/iNavFlight/inav/issues/comments/419003084","html_url":"https://github.com/iNavFlight/inav/issues/3843#issuecomment-419003084","issue_url":"https://api.github.com/repos/iNavFlight/inav/issues/3843","id":419003084,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTAwMzA4NA==","user":{"login":"giacomo892","id":20860004,"node_id":"MDQ6VXNlcjIwODYwMDA0","avatar_url":"https://avatars1.githubusercontent.com/u/20860004?v=4","gravatar_id":"","url":"https://api.github.com/users/giacomo892","html_url":"https://github.com/giacomo892","followers_url":"https://api.github.com/users/giacomo892/followers","following_url":"https://api.github.com/users/giacomo892/following{/other_user}","gists_url":"https://api.github.com/users/giacomo892/gists{/gist_id}","starred_url":"https://api.github.com/users/giacomo892/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giacomo892/subscriptions","organizations_url":"https://api.github.com/users/giacomo892/orgs","repos_url":"https://api.github.com/users/giacomo892/repos","events_url":"https://api.github.com/users/giacomo892/events{/privacy}","received_events_url":"https://api.github.com/users/giacomo892/received_events","type":"User","site_admin":false},"created_at":"2018-09-06T08:03:49Z","updated_at":"2018-09-06T08:03:49Z","author_association":"CONTRIBUTOR","body":"Probably related to #3824 \r\nI've seen corrupted headers on Matek F405 too."}}
{"actor":{"display_login":"giacomo892"}}