{"action":"created","issue":{"url":"https://api.github.com/repos/paparazzi/paparazzi/issues/1392","labels_url":"https://api.github.com/repos/paparazzi/paparazzi/issues/1392/labels{/name}","comments_url":"https://api.github.com/repos/paparazzi/paparazzi/issues/1392/comments","events_url":"https://api.github.com/repos/paparazzi/paparazzi/issues/1392/events","html_url":"https://github.com/paparazzi/paparazzi/pull/1392","id":113583745,"number":1392,"title":"[sd logger] Version 2.0 release, direct SPI logging, UART download","user":{"login":"bartslinger","id":8672355,"avatar_url":"https://avatars.githubusercontent.com/u/8672355?v=3","gravatar_id":"","url":"https://api.github.com/users/bartslinger","html_url":"https://github.com/bartslinger","followers_url":"https://api.github.com/users/bartslinger/followers","following_url":"https://api.github.com/users/bartslinger/following{/other_user}","gists_url":"https://api.github.com/users/bartslinger/gists{/gist_id}","starred_url":"https://api.github.com/users/bartslinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartslinger/subscriptions","organizations_url":"https://api.github.com/users/bartslinger/orgs","repos_url":"https://api.github.com/users/bartslinger/repos","events_url":"https://api.github.com/users/bartslinger/events{/privacy}","received_events_url":"https://api.github.com/users/bartslinger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-10-27T13:31:08Z","updated_at":"2015-10-28T22:20:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/paparazzi/paparazzi/pulls/1392","html_url":"https://github.com/paparazzi/paparazzi/pull/1392","diff_url":"https://github.com/paparazzi/paparazzi/pull/1392.diff","patch_url":"https://github.com/paparazzi/paparazzi/pull/1392.patch"},"body":"This module provides a tool for high-speed logging where weight- and size-limitations play part.\r\nIt only requires a micro-SD card which is soldered directly to the SPI-bus, for example on a lisa/s.\r\n\r\nThe logger is activated by flipping a switch on the transmitter. Up to 42 logs can be recorded during one session (battery kept connected). The data remains on the card when the battery is disconnected, so that you can replace the battery before downloading data to the computer. Previous logs will be overwritten as soon as the first log is initiated after boot.\r\n\r\nThe messages to be logged can be selected in the telemetry config file, under the Logger process. Next to that, it is possible to call pprz_msg_send_xxx from anywhere in the code, using a reference to the sdlogger. \r\n\r\nTelemetry config example:\r\n```\r\n<process name=\"Logger\">\r\n  <mode name=\"default\">\r\n    <message name=\"ROTORCRAFT_STATUS\"      period=\"1.2\"/>\r\n    <message name=\"DL_VALUE\"               period=\"0.5\"/>\r\n    <message name=\"ALIVE\"                  period=\"2.1\"/>\r\n    <message name=\"IMU_GYRO_SCALED\"        period=\".002\"/>\r\n    <message name=\"IMU_ACCEL_SCALED\"       period=\".002\"/>\r\n    <message name=\"IMU_MAG_SCALED\"         period=\".1\"/>\r\n  </mode>\r\n</process>\r\n```\r\n\r\nA tool is provided to download the data at high speed over UART:\r\n![screenshot from 2015-10-27 14 27 42](https://cloud.githubusercontent.com/assets/8672355/10759307/eb0115fc-7cb6-11e5-8cd9-5c8f18a2d79b.png)\r\n![screenshot from 2015-10-27 14 27 51](https://cloud.githubusercontent.com/assets/8672355/10759308/ecfdcc38-7cb6-11e5-822c-0d6277cfcc78.png)\r\n\r\nLimitations: For now, it can only be used with uart downlink. This is perfect for lisa/s where UART pins are broken out."},"comment":{"url":"https://api.github.com/repos/paparazzi/paparazzi/issues/comments/152015371","html_url":"https://github.com/paparazzi/paparazzi/pull/1392#issuecomment-152015371","issue_url":"https://api.github.com/repos/paparazzi/paparazzi/issues/1392","id":152015371,"user":{"login":"podhrmic","id":2790461,"avatar_url":"https://avatars.githubusercontent.com/u/2790461?v=3","gravatar_id":"","url":"https://api.github.com/users/podhrmic","html_url":"https://github.com/podhrmic","followers_url":"https://api.github.com/users/podhrmic/followers","following_url":"https://api.github.com/users/podhrmic/following{/other_user}","gists_url":"https://api.github.com/users/podhrmic/gists{/gist_id}","starred_url":"https://api.github.com/users/podhrmic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/podhrmic/subscriptions","organizations_url":"https://api.github.com/users/podhrmic/orgs","repos_url":"https://api.github.com/users/podhrmic/repos","events_url":"https://api.github.com/users/podhrmic/events{/privacy}","received_events_url":"https://api.github.com/users/podhrmic/received_events","type":"User","site_admin":false},"created_at":"2015-10-28T22:20:05Z","updated_at":"2015-10-28T22:20:05Z","body":"Yep, still the same error. I have the connections as:\r\nLISA MX -> SD_CARD\r\nSPI1_SS -> CS\r\nSPI1_SCK -> SCK\r\nSPI1_MISO -> DO\r\nSPI1_MOSI -> DI\r\n3V3 -> VCC\r\nGND -> GND\r\n\r\nUsing a scope I can't see any data coming through, nor even a toggle on CS or SCK. Are the pins properly defined on Lisa MX?"}}