{"action":"created","issue":{"url":"https://api.github.com/repos/ARMmbed/ble-nrf51822/issues/64","labels_url":"https://api.github.com/repos/ARMmbed/ble-nrf51822/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/ARMmbed/ble-nrf51822/issues/64/comments","events_url":"https://api.github.com/repos/ARMmbed/ble-nrf51822/issues/64/events","html_url":"https://github.com/ARMmbed/ble-nrf51822/pull/64","id":116743763,"number":64,"title":"Fix assembly sequence to start bootloader in GCC","user":{"login":"andresag01","id":3746901,"avatar_url":"https://avatars.githubusercontent.com/u/3746901?v=3","gravatar_id":"","url":"https://api.github.com/users/andresag01","html_url":"https://github.com/andresag01","followers_url":"https://api.github.com/users/andresag01/followers","following_url":"https://api.github.com/users/andresag01/following{/other_user}","gists_url":"https://api.github.com/users/andresag01/gists{/gist_id}","starred_url":"https://api.github.com/users/andresag01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andresag01/subscriptions","organizations_url":"https://api.github.com/users/andresag01/orgs","repos_url":"https://api.github.com/users/andresag01/repos","events_url":"https://api.github.com/users/andresag01/events{/privacy}","received_events_url":"https://api.github.com/users/andresag01/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-13T10:39:03Z","updated_at":"2015-11-13T11:05:43Z","closed_at":"2015-11-13T11:02:07Z","pull_request":{"url":"https://api.github.com/repos/ARMmbed/ble-nrf51822/pulls/64","html_url":"https://github.com/ARMmbed/ble-nrf51822/pull/64","diff_url":"https://github.com/ARMmbed/ble-nrf51822/pull/64.diff","patch_url":"https://github.com/ARMmbed/ble-nrf51822/pull/64.patch"},"body":"The assemble sequence within an mbedOS application that starts the nordic bootloader was being modified by the compiler. The result is that DFU enabled applications could never start the bootloader correctly. This is because the GCC compiler was translating a MOV instruction into a ADDS, which sets the conditional flags in APSR before a conditional branch was executed. The result of the incorrect branch caused the program to believe that it was in interrupt mode when this was not the case.\r\n@rgrover"},"comment":{"url":"https://api.github.com/repos/ARMmbed/ble-nrf51822/issues/comments/156398822","html_url":"https://github.com/ARMmbed/ble-nrf51822/pull/64#issuecomment-156398822","issue_url":"https://api.github.com/repos/ARMmbed/ble-nrf51822/issues/64","id":156398822,"user":{"login":"rgrover","id":112704,"avatar_url":"https://avatars.githubusercontent.com/u/112704?v=3","gravatar_id":"","url":"https://api.github.com/users/rgrover","html_url":"https://github.com/rgrover","followers_url":"https://api.github.com/users/rgrover/followers","following_url":"https://api.github.com/users/rgrover/following{/other_user}","gists_url":"https://api.github.com/users/rgrover/gists{/gist_id}","starred_url":"https://api.github.com/users/rgrover/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgrover/subscriptions","organizations_url":"https://api.github.com/users/rgrover/orgs","repos_url":"https://api.github.com/users/rgrover/repos","events_url":"https://api.github.com/users/rgrover/events{/privacy}","received_events_url":"https://api.github.com/users/rgrover/received_events","type":"User","site_admin":false},"created_at":"2015-11-13T11:05:43Z","updated_at":"2015-11-13T11:05:43Z","body":"published new ble-nrf51822"}}