{"action":"created","issue":{"url":"https://api.github.com/repos/NordicSemiconductor/pynrfjprog/issues/9","repository_url":"https://api.github.com/repos/NordicSemiconductor/pynrfjprog","labels_url":"https://api.github.com/repos/NordicSemiconductor/pynrfjprog/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/NordicSemiconductor/pynrfjprog/issues/9/comments","events_url":"https://api.github.com/repos/NordicSemiconductor/pynrfjprog/issues/9/events","html_url":"https://github.com/NordicSemiconductor/pynrfjprog/issues/9","id":256429216,"number":9,"title":"NRFJPROG lib cannot find not erased error: \"ERROR: The area to write is not erased.\"","user":{"login":"adison","id":2823871,"avatar_url":"https://avatars0.githubusercontent.com/u/2823871?v=4","gravatar_id":"","url":"https://api.github.com/users/adison","html_url":"https://github.com/adison","followers_url":"https://api.github.com/users/adison/followers","following_url":"https://api.github.com/users/adison/following{/other_user}","gists_url":"https://api.github.com/users/adison/gists{/gist_id}","starred_url":"https://api.github.com/users/adison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adison/subscriptions","organizations_url":"https://api.github.com/users/adison/orgs","repos_url":"https://api.github.com/users/adison/repos","events_url":"https://api.github.com/users/adison/events{/privacy}","received_events_url":"https://api.github.com/users/adison/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-09-09T10:04:45Z","updated_at":"2017-09-11T07:38:08Z","closed_at":null,"author_association":"NONE","body":"on OSX\r\nNRFJPROG lib won't pass \"area is not erased error\",\r\n```bash\r\n$ ./nrfjprog -f nrf52 --memwr 0x1000108c --val 0x12345678\r\nParsing parameters.\r\nERROR: The area to write is not erased.\r\n```\r\n\r\n```py\r\ndef write(self, addr, data, control):\r\n.......\r\n    result = self._lib.NRFJPROG_write(addr, ctypes.byref(data), data_len, control)\r\n    if result != NrfjprogdllErr.SUCCESS:\r\n            raise APIError(result)\r\n```"},"comment":{"url":"https://api.github.com/repos/NordicSemiconductor/pynrfjprog/issues/comments/328444219","html_url":"https://github.com/NordicSemiconductor/pynrfjprog/issues/9#issuecomment-328444219","issue_url":"https://api.github.com/repos/NordicSemiconductor/pynrfjprog/issues/9","id":328444219,"user":{"login":"David-Garcia-Polo","id":15978205,"avatar_url":"https://avatars2.githubusercontent.com/u/15978205?v=4","gravatar_id":"","url":"https://api.github.com/users/David-Garcia-Polo","html_url":"https://github.com/David-Garcia-Polo","followers_url":"https://api.github.com/users/David-Garcia-Polo/followers","following_url":"https://api.github.com/users/David-Garcia-Polo/following{/other_user}","gists_url":"https://api.github.com/users/David-Garcia-Polo/gists{/gist_id}","starred_url":"https://api.github.com/users/David-Garcia-Polo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/David-Garcia-Polo/subscriptions","organizations_url":"https://api.github.com/users/David-Garcia-Polo/orgs","repos_url":"https://api.github.com/users/David-Garcia-Polo/repos","events_url":"https://api.github.com/users/David-Garcia-Polo/events{/privacy}","received_events_url":"https://api.github.com/users/David-Garcia-Polo/received_events","type":"User","site_admin":false},"created_at":"2017-09-11T07:38:08Z","updated_at":"2017-09-11T07:38:08Z","author_association":"CONTRIBUTOR","body":"correct"}}
{"actor":{"display_login":"David-Garcia-Polo"}}