{"action":"created","issue":{"url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/issues/642","repository_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware","labels_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/issues/642/labels{/name}","comments_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/issues/642/comments","events_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/issues/642/events","html_url":"https://github.com/autosportlabs/RaceCapture-Pro_firmware/issues/642","id":157354645,"number":642,"title":"SD card write error","user":{"login":"fredzyda","id":1243157,"avatar_url":"https://avatars.githubusercontent.com/u/1243157?v=3","gravatar_id":"","url":"https://api.github.com/users/fredzyda","html_url":"https://github.com/fredzyda","followers_url":"https://api.github.com/users/fredzyda/followers","following_url":"https://api.github.com/users/fredzyda/following{/other_user}","gists_url":"https://api.github.com/users/fredzyda/gists{/gist_id}","starred_url":"https://api.github.com/users/fredzyda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fredzyda/subscriptions","organizations_url":"https://api.github.com/users/fredzyda/orgs","repos_url":"https://api.github.com/users/fredzyda/repos","events_url":"https://api.github.com/users/fredzyda/events{/privacy}","received_events_url":"https://api.github.com/users/fredzyda/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/labels/Bug","name":"Bug","color":"fc2929"},{"url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/labels/Field","name":"Field","color":"000000"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/milestones/11","html_url":"https://github.com/autosportlabs/RaceCapture-Pro_firmware/milestones/2.9.2","labels_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/milestones/11/labels","id":1767053,"number":11,"title":"2.9.2","description":"Second patch release of 2.9.1","creator":{"login":"stieg","id":141519,"avatar_url":"https://avatars.githubusercontent.com/u/141519?v=3","gravatar_id":"","url":"https://api.github.com/users/stieg","html_url":"https://github.com/stieg","followers_url":"https://api.github.com/users/stieg/followers","following_url":"https://api.github.com/users/stieg/following{/other_user}","gists_url":"https://api.github.com/users/stieg/gists{/gist_id}","starred_url":"https://api.github.com/users/stieg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stieg/subscriptions","organizations_url":"https://api.github.com/users/stieg/orgs","repos_url":"https://api.github.com/users/stieg/repos","events_url":"https://api.github.com/users/stieg/events{/privacy}","received_events_url":"https://api.github.com/users/stieg/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":2,"state":"open","created_at":"2016-05-15T15:51:41Z","updated_at":"2016-05-29T00:03:29Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2016-05-28T19:58:13Z","updated_at":"2016-05-29T20:44:07Z","closed_at":null,"body":"\r\n[RC_0.LOG.zip](https://github.com/autosportlabs/RaceCapture-Pro_firmware/files/287983/RC_0.LOG.zip)\r\nI've had very consistent failures to write to the SD card in firmware version 2.9.0 and 2.9.1. Here is some log output when the issue is occurring:\r\n\r\n```\r\nLogging started\r\nfileWriter.c: Start\r\nfileWriter.c: Opening log file\r\nfileWriter.c: FS init success.  Opening file...\r\nfileWriter.c: Opening new log file\r\nfileWriter.c: Opened rc_0.log\r\nfileWriter.c: flush\r\nfileWriter.c: flush\r\nfileWriter.c: flush\r\nfileWriter.c: flush\r\nfileWriter.c: Remounting FS due to write error.\r\nfileWriter.c: Opening log file\r\nfileWriter.c: FS init error: 3\r\nfileWriter.c: Remounting FS due to write error.\r\nfileWriter.c: Msg type 0 failed with code 1\r\nfileWriter.c: Opening log file\r\nfileWriter.c: FS init success.  Opening file...\r\nfileWriter.c: Opening log file rc_0.log\r\nfileWriter.c: Opened rc_0.log\r\nfileWriter.c: flush\r\n(failed)\r\nfileWriter.c: flush\r\nfileWriter.c: flush\r\nfileWriter.c: flush\r\nfileWriter.c: flush\r\n(failed)\r\n(failed)\r\nfileWriter.c: Remounting FS due to write error.\r\nfileWriter.c: Opening log file\r\nfileWriter.c: FS init success.  Opening file...\r\nfileWriter.c: Opening log file rc_0.log\r\nfileWriter.c: Opened rc_0.log\r\nfileWriter.c: flush\r\nfileWriter.c: flush\r\n```\r\n\r\nI have a SanDisk 32gb SDHC card and the failure seems to happen about once every two seconds. I've attached the log written to the SD card while these errors were printing out and you can see strange things like out of order timestamps and intervals between recording that are sometimes 5x the expected amount.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/issues/comments/222381662","html_url":"https://github.com/autosportlabs/RaceCapture-Pro_firmware/issues/642#issuecomment-222381662","issue_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/issues/642","id":222381662,"user":{"login":"brentpicasso","id":3267533,"avatar_url":"https://avatars.githubusercontent.com/u/3267533?v=3","gravatar_id":"","url":"https://api.github.com/users/brentpicasso","html_url":"https://github.com/brentpicasso","followers_url":"https://api.github.com/users/brentpicasso/followers","following_url":"https://api.github.com/users/brentpicasso/following{/other_user}","gists_url":"https://api.github.com/users/brentpicasso/gists{/gist_id}","starred_url":"https://api.github.com/users/brentpicasso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brentpicasso/subscriptions","organizations_url":"https://api.github.com/users/brentpicasso/orgs","repos_url":"https://api.github.com/users/brentpicasso/repos","events_url":"https://api.github.com/users/brentpicasso/events{/privacy}","received_events_url":"https://api.github.com/users/brentpicasso/received_events","type":"User","site_admin":false},"created_at":"2016-05-29T20:44:07Z","updated_at":"2016-05-29T20:44:07Z","body":"it's pretty easy, just ensure you don't have the app running and then connect to the virtual COM port that RCP creates on the system. Hit enter and you'll see a list of options.\r\n\r\nThanks!"}}
{"actor":{"display_login":"brentpicasso"}}