{"action":"created","issue":{"url":"https://api.github.com/repos/diydrones/ardupilot/issues/1673","labels_url":"https://api.github.com/repos/diydrones/ardupilot/issues/1673/labels{/name}","comments_url":"https://api.github.com/repos/diydrones/ardupilot/issues/1673/comments","events_url":"https://api.github.com/repos/diydrones/ardupilot/issues/1673/events","html_url":"https://github.com/diydrones/ardupilot/issues/1673","id":51272575,"number":1673,"title":"APM2 bootloader: unjustified firmware size limit","user":{"login":"KIrill-ka","id":2815206,"avatar_url":"https://avatars.githubusercontent.com/u/2815206?v=3","gravatar_id":"","url":"https://api.github.com/users/KIrill-ka","html_url":"https://github.com/KIrill-ka","followers_url":"https://api.github.com/users/KIrill-ka/followers","following_url":"https://api.github.com/users/KIrill-ka/following{/other_user}","gists_url":"https://api.github.com/users/KIrill-ka/gists{/gist_id}","starred_url":"https://api.github.com/users/KIrill-ka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KIrill-ka/subscriptions","organizations_url":"https://api.github.com/users/KIrill-ka/orgs","repos_url":"https://api.github.com/users/KIrill-ka/repos","events_url":"https://api.github.com/users/KIrill-ka/events{/privacy}","received_events_url":"https://api.github.com/users/KIrill-ka/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/diydrones/ardupilot/labels/APM","name":"APM","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-12-08T09:24:13Z","updated_at":"2015-01-14T12:09:05Z","closed_at":null,"body":"Bootloader size is 8k, but it limits firmware size to 0x3c000 which is 256k-16k.\r\nThis looks like a bug in bootloader\r\nTools/APM2_2560_bootloader/stk500boot.c:\r\n    #if FLASHEND > 0x0F000\r\n        #define BOOTSIZE 8192\r\n    #else\r\n        #define BOOTSIZE 2048\r\n    #endif\r\n    #define APP_END  (FLASHEND -(2*BOOTSIZE) + 1)\r\n"},"comment":{"url":"https://api.github.com/repos/diydrones/ardupilot/issues/comments/69907413","html_url":"https://github.com/diydrones/ardupilot/issues/1673#issuecomment-69907413","issue_url":"https://api.github.com/repos/diydrones/ardupilot/issues/1673","id":69907413,"user":{"login":"KIrill-ka","id":2815206,"avatar_url":"https://avatars.githubusercontent.com/u/2815206?v=3","gravatar_id":"","url":"https://api.github.com/users/KIrill-ka","html_url":"https://github.com/KIrill-ka","followers_url":"https://api.github.com/users/KIrill-ka/followers","following_url":"https://api.github.com/users/KIrill-ka/following{/other_user}","gists_url":"https://api.github.com/users/KIrill-ka/gists{/gist_id}","starred_url":"https://api.github.com/users/KIrill-ka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KIrill-ka/subscriptions","organizations_url":"https://api.github.com/users/KIrill-ka/orgs","repos_url":"https://api.github.com/users/KIrill-ka/repos","events_url":"https://api.github.com/users/KIrill-ka/events{/privacy}","received_events_url":"https://api.github.com/users/KIrill-ka/received_events","type":"User","site_admin":false},"created_at":"2015-01-14T12:09:05Z","updated_at":"2015-01-14T12:09:05Z","body":"I'm going to prepare github branch with 2k bootloader code. There's minimalistic doc (FLASH.txt) among the bootloader sources. It will be updated to show how to change fuse bits to match the bootloader size."}}