{"action":"created","comment":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments/81232329","pull_request_review_id":2228446,"id":81232329,"diff_hunk":"@@ -14,7 +14,7 @@ export JLINK_DEVICE := nrf52\n \n # special options when using SoftDevice\n ifneq (,$(filter nordic_softdevice_ble,$(USEPKG)))\n-export JLINK_PRE_FLASH := loadfile $(BINDIR)/softdevice.hex\n+export JLINK_PRE_FLASH := erase\\nloadfile $(BINDIR)/softdevice.hex","path":"boards/nrf52dk/Makefile.include","position":5,"original_position":5,"commit_id":"fd87e3dae8c395686fac06e955cb20e24e3c4775","original_commit_id":"fd87e3dae8c395686fac06e955cb20e24e3c4775","user":{"login":"kaspar030","id":4679640,"avatar_url":"https://avatars.githubusercontent.com/u/4679640?v=3","gravatar_id":"","url":"https://api.github.com/users/kaspar030","html_url":"https://github.com/kaspar030","followers_url":"https://api.github.com/users/kaspar030/followers","following_url":"https://api.github.com/users/kaspar030/following{/other_user}","gists_url":"https://api.github.com/users/kaspar030/gists{/gist_id}","starred_url":"https://api.github.com/users/kaspar030/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaspar030/subscriptions","organizations_url":"https://api.github.com/users/kaspar030/orgs","repos_url":"https://api.github.com/users/kaspar030/repos","events_url":"https://api.github.com/users/kaspar030/events{/privacy}","received_events_url":"https://api.github.com/users/kaspar030/received_events","type":"User","site_admin":false},"body":"Like this, on my system, it leads to\r\n\r\n```erase\\nloadfile <path>/softdevice.hex```\r\n\r\nbeing the first line of burn.seg, which results in an error message.","created_at":"2016-09-29T20:54:12Z","updated_at":"2016-09-29T20:54:12Z","html_url":"https://github.com/RIOT-OS/RIOT/pull/5893#discussion_r81232329","pull_request_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/5893","_links":{"self":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments/81232329"},"html":{"href":"https://github.com/RIOT-OS/RIOT/pull/5893#discussion_r81232329"},"pull_request":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/5893"}}},"pull_request":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/5893","id":87386094,"html_url":"https://github.com/RIOT-OS/RIOT/pull/5893","diff_url":"https://github.com/RIOT-OS/RIOT/pull/5893.diff","patch_url":"https://github.com/RIOT-OS/RIOT/pull/5893.patch","issue_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/5893","number":5893,"state":"open","locked":false,"title":"nRF52 Fix softdevice.hex flashing issue","user":{"login":"jfbortolotti","id":14026204,"avatar_url":"https://avatars.githubusercontent.com/u/14026204?v=3","gravatar_id":"","url":"https://api.github.com/users/jfbortolotti","html_url":"https://github.com/jfbortolotti","followers_url":"https://api.github.com/users/jfbortolotti/followers","following_url":"https://api.github.com/users/jfbortolotti/following{/other_user}","gists_url":"https://api.github.com/users/jfbortolotti/gists{/gist_id}","starred_url":"https://api.github.com/users/jfbortolotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfbortolotti/subscriptions","organizations_url":"https://api.github.com/users/jfbortolotti/orgs","repos_url":"https://api.github.com/users/jfbortolotti/repos","events_url":"https://api.github.com/users/jfbortolotti/events{/privacy}","received_events_url":"https://api.github.com/users/jfbortolotti/received_events","type":"User","site_admin":false},"body":"I found the following issue with nRF52DK board:\r\nWhen flashing the microcoap_server example after the hello_world example, the microcoap_server application will not work (nothing on the serial interface).\r\nThis is due to the fact that the microcoap_server uses the softdevice.hex stack and this stack is checking that value at 0x2000 is 0xFFFFFFFF. This address is not present in the softdevice.hex.\r\nThe work around found on the forums is to do an \"nrfjprog --family NRF52 --recover\" before flashing the microcoap_server application(and the softdevice).\r\n\r\nThis patch avoid to do a manual \"nrfjprog --family NRF52 --recover\" by including an erase command to the JLink pre flash command before flashing the softdevice.hex.","created_at":"2016-09-29T20:19:24Z","updated_at":"2016-09-29T20:54:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8cfce721cbdbfb9540e0516539057d4a76ac30ca","assignee":{"login":"kaspar030","id":4679640,"avatar_url":"https://avatars.githubusercontent.com/u/4679640?v=3","gravatar_id":"","url":"https://api.github.com/users/kaspar030","html_url":"https://github.com/kaspar030","followers_url":"https://api.github.com/users/kaspar030/followers","following_url":"https://api.github.com/users/kaspar030/following{/other_user}","gists_url":"https://api.github.com/users/kaspar030/gists{/gist_id}","starred_url":"https://api.github.com/users/kaspar030/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaspar030/subscriptions","organizations_url":"https://api.github.com/users/kaspar030/orgs","repos_url":"https://api.github.com/users/kaspar030/repos","events_url":"https://api.github.com/users/kaspar030/events{/privacy}","received_events_url":"https://api.github.com/users/kaspar030/received_events","type":"User","site_admin":false},"assignees":[{"login":"kaspar030","id":4679640,"avatar_url":"https://avatars.githubusercontent.com/u/4679640?v=3","gravatar_id":"","url":"https://api.github.com/users/kaspar030","html_url":"https://github.com/kaspar030","followers_url":"https://api.github.com/users/kaspar030/followers","following_url":"https://api.github.com/users/kaspar030/following{/other_user}","gists_url":"https://api.github.com/users/kaspar030/gists{/gist_id}","starred_url":"https://api.github.com/users/kaspar030/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaspar030/subscriptions","organizations_url":"https://api.github.com/users/kaspar030/orgs","repos_url":"https://api.github.com/users/kaspar030/repos","events_url":"https://api.github.com/users/kaspar030/events{/privacy}","received_events_url":"https://api.github.com/users/kaspar030/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/5893/commits","review_comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/5893/comments","review_comment_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/5893/comments","statuses_url":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/fd87e3dae8c395686fac06e955cb20e24e3c4775","head":{"label":"jfbortolotti:nRF52_flashing","ref":"nRF52_flashing","sha":"fd87e3dae8c395686fac06e955cb20e24e3c4775","user":{"login":"jfbortolotti","id":14026204,"avatar_url":"https://avatars.githubusercontent.com/u/14026204?v=3","gravatar_id":"","url":"https://api.github.com/users/jfbortolotti","html_url":"https://github.com/jfbortolotti","followers_url":"https://api.github.com/users/jfbortolotti/followers","following_url":"https://api.github.com/users/jfbortolotti/following{/other_user}","gists_url":"https://api.github.com/users/jfbortolotti/gists{/gist_id}","starred_url":"https://api.github.com/users/jfbortolotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfbortolotti/subscriptions","organizations_url":"https://api.github.com/users/jfbortolotti/orgs","repos_url":"https://api.github.com/users/jfbortolotti/repos","events_url":"https://api.github.com/users/jfbortolotti/events{/privacy}","received_events_url":"https://api.github.com/users/jfbortolotti/received_events","type":"User","site_admin":false},"repo":{"id":69595706,"name":"RIOT","full_name":"jfbortolotti/RIOT","owner":{"login":"jfbortolotti","id":14026204,"avatar_url":"https://avatars.githubusercontent.com/u/14026204?v=3","gravatar_id":"","url":"https://api.github.com/users/jfbortolotti","html_url":"https://github.com/jfbortolotti","followers_url":"https://api.github.com/users/jfbortolotti/followers","following_url":"https://api.github.com/users/jfbortolotti/following{/other_user}","gists_url":"https://api.github.com/users/jfbortolotti/gists{/gist_id}","starred_url":"https://api.github.com/users/jfbortolotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfbortolotti/subscriptions","organizations_url":"https://api.github.com/users/jfbortolotti/orgs","repos_url":"https://api.github.com/users/jfbortolotti/repos","events_url":"https://api.github.com/users/jfbortolotti/events{/privacy}","received_events_url":"https://api.github.com/users/jfbortolotti/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jfbortolotti/RIOT","description":"RIOT -  The friendly OS for IoT","fork":true,"url":"https://api.github.com/repos/jfbortolotti/RIOT","forks_url":"https://api.github.com/repos/jfbortolotti/RIOT/forks","keys_url":"https://api.github.com/repos/jfbortolotti/RIOT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jfbortolotti/RIOT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jfbortolotti/RIOT/teams","hooks_url":"https://api.github.com/repos/jfbortolotti/RIOT/hooks","issue_events_url":"https://api.github.com/repos/jfbortolotti/RIOT/issues/events{/number}","events_url":"https://api.github.com/repos/jfbortolotti/RIOT/events","assignees_url":"https://api.github.com/repos/jfbortolotti/RIOT/assignees{/user}","branches_url":"https://api.github.com/repos/jfbortolotti/RIOT/branches{/branch}","tags_url":"https://api.github.com/repos/jfbortolotti/RIOT/tags","blobs_url":"https://api.github.com/repos/jfbortolotti/RIOT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jfbortolotti/RIOT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jfbortolotti/RIOT/git/refs{/sha}","trees_url":"https://api.github.com/repos/jfbortolotti/RIOT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jfbortolotti/RIOT/statuses/{sha}","languages_url":"https://api.github.com/repos/jfbortolotti/RIOT/languages","stargazers_url":"https://api.github.com/repos/jfbortolotti/RIOT/stargazers","contributors_url":"https://api.github.com/repos/jfbortolotti/RIOT/contributors","subscribers_url":"https://api.github.com/repos/jfbortolotti/RIOT/subscribers","subscription_url":"https://api.github.com/repos/jfbortolotti/RIOT/subscription","commits_url":"https://api.github.com/repos/jfbortolotti/RIOT/commits{/sha}","git_commits_url":"https://api.github.com/repos/jfbortolotti/RIOT/git/commits{/sha}","comments_url":"https://api.github.com/repos/jfbortolotti/RIOT/comments{/number}","issue_comment_url":"https://api.github.com/repos/jfbortolotti/RIOT/issues/comments{/number}","contents_url":"https://api.github.com/repos/jfbortolotti/RIOT/contents/{+path}","compare_url":"https://api.github.com/repos/jfbortolotti/RIOT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jfbortolotti/RIOT/merges","archive_url":"https://api.github.com/repos/jfbortolotti/RIOT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jfbortolotti/RIOT/downloads","issues_url":"https://api.github.com/repos/jfbortolotti/RIOT/issues{/number}","pulls_url":"https://api.github.com/repos/jfbortolotti/RIOT/pulls{/number}","milestones_url":"https://api.github.com/repos/jfbortolotti/RIOT/milestones{/number}","notifications_url":"https://api.github.com/repos/jfbortolotti/RIOT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jfbortolotti/RIOT/labels{/name}","releases_url":"https://api.github.com/repos/jfbortolotti/RIOT/releases{/id}","deployments_url":"https://api.github.com/repos/jfbortolotti/RIOT/deployments","created_at":"2016-09-29T18:25:15Z","updated_at":"2016-09-29T18:25:32Z","pushed_at":"2016-09-29T20:52:59Z","git_url":"git://github.com/jfbortolotti/RIOT.git","ssh_url":"git@github.com:jfbortolotti/RIOT.git","clone_url":"https://github.com/jfbortolotti/RIOT.git","svn_url":"https://github.com/jfbortolotti/RIOT","homepage":"https://github.com/RIOT-OS/RIOT/wiki","size":30406,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"RIOT-OS:master","ref":"master","sha":"f2c5314643220b5916f8149e56fe19c60af1c03e","user":{"login":"RIOT-OS","id":3079480,"avatar_url":"https://avatars.githubusercontent.com/u/3079480?v=3","gravatar_id":"","url":"https://api.github.com/users/RIOT-OS","html_url":"https://github.com/RIOT-OS","followers_url":"https://api.github.com/users/RIOT-OS/followers","following_url":"https://api.github.com/users/RIOT-OS/following{/other_user}","gists_url":"https://api.github.com/users/RIOT-OS/gists{/gist_id}","starred_url":"https://api.github.com/users/RIOT-OS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RIOT-OS/subscriptions","organizations_url":"https://api.github.com/users/RIOT-OS/orgs","repos_url":"https://api.github.com/users/RIOT-OS/repos","events_url":"https://api.github.com/users/RIOT-OS/events{/privacy}","received_events_url":"https://api.github.com/users/RIOT-OS/received_events","type":"Organization","site_admin":false},"repo":{"id":7370241,"name":"RIOT","full_name":"RIOT-OS/RIOT","owner":{"login":"RIOT-OS","id":3079480,"avatar_url":"https://avatars.githubusercontent.com/u/3079480?v=3","gravatar_id":"","url":"https://api.github.com/users/RIOT-OS","html_url":"https://github.com/RIOT-OS","followers_url":"https://api.github.com/users/RIOT-OS/followers","following_url":"https://api.github.com/users/RIOT-OS/following{/other_user}","gists_url":"https://api.github.com/users/RIOT-OS/gists{/gist_id}","starred_url":"https://api.github.com/users/RIOT-OS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RIOT-OS/subscriptions","organizations_url":"https://api.github.com/users/RIOT-OS/orgs","repos_url":"https://api.github.com/users/RIOT-OS/repos","events_url":"https://api.github.com/users/RIOT-OS/events{/privacy}","received_events_url":"https://api.github.com/users/RIOT-OS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RIOT-OS/RIOT","description":"RIOT -  The friendly OS for IoT","fork":false,"url":"https://api.github.com/repos/RIOT-OS/RIOT","forks_url":"https://api.github.com/repos/RIOT-OS/RIOT/forks","keys_url":"https://api.github.com/repos/RIOT-OS/RIOT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RIOT-OS/RIOT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RIOT-OS/RIOT/teams","hooks_url":"https://api.github.com/repos/RIOT-OS/RIOT/hooks","issue_events_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/events{/number}","events_url":"https://api.github.com/repos/RIOT-OS/RIOT/events","assignees_url":"https://api.github.com/repos/RIOT-OS/RIOT/assignees{/user}","branches_url":"https://api.github.com/repos/RIOT-OS/RIOT/branches{/branch}","tags_url":"https://api.github.com/repos/RIOT-OS/RIOT/tags","blobs_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/refs{/sha}","trees_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/{sha}","languages_url":"https://api.github.com/repos/RIOT-OS/RIOT/languages","stargazers_url":"https://api.github.com/repos/RIOT-OS/RIOT/stargazers","contributors_url":"https://api.github.com/repos/RIOT-OS/RIOT/contributors","subscribers_url":"https://api.github.com/repos/RIOT-OS/RIOT/subscribers","subscription_url":"https://api.github.com/repos/RIOT-OS/RIOT/subscription","commits_url":"https://api.github.com/repos/RIOT-OS/RIOT/commits{/sha}","git_commits_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/commits{/sha}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/comments{/number}","issue_comment_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/comments{/number}","contents_url":"https://api.github.com/repos/RIOT-OS/RIOT/contents/{+path}","compare_url":"https://api.github.com/repos/RIOT-OS/RIOT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RIOT-OS/RIOT/merges","archive_url":"https://api.github.com/repos/RIOT-OS/RIOT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RIOT-OS/RIOT/downloads","issues_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues{/number}","pulls_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls{/number}","milestones_url":"https://api.github.com/repos/RIOT-OS/RIOT/milestones{/number}","notifications_url":"https://api.github.com/repos/RIOT-OS/RIOT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RIOT-OS/RIOT/labels{/name}","releases_url":"https://api.github.com/repos/RIOT-OS/RIOT/releases{/id}","deployments_url":"https://api.github.com/repos/RIOT-OS/RIOT/deployments","created_at":"2012-12-29T20:38:40Z","updated_at":"2016-09-29T08:22:05Z","pushed_at":"2016-09-29T20:19:24Z","git_url":"git://github.com/RIOT-OS/RIOT.git","ssh_url":"git@github.com:RIOT-OS/RIOT.git","clone_url":"https://github.com/RIOT-OS/RIOT.git","svn_url":"https://github.com/RIOT-OS/RIOT","homepage":"https://github.com/RIOT-OS/RIOT/wiki","size":99370,"stargazers_count":933,"watchers_count":933,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":626,"mirror_url":null,"open_issues_count":525,"forks":626,"open_issues":525,"watchers":933,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/5893"},"html":{"href":"https://github.com/RIOT-OS/RIOT/pull/5893"},"issue":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/issues/5893"},"comments":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/issues/5893/comments"},"review_comments":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/5893/comments"},"review_comment":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/5893/commits"},"statuses":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/fd87e3dae8c395686fac06e955cb20e24e3c4775"}}}}
{"actor":{"display_login":"kaspar030"}}