{"action":"created","issue":{"url":"https://api.github.com/repos/mbedmicro/CMSIS-DAP/issues/82","labels_url":"https://api.github.com/repos/mbedmicro/CMSIS-DAP/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/mbedmicro/CMSIS-DAP/issues/82/comments","events_url":"https://api.github.com/repos/mbedmicro/CMSIS-DAP/issues/82/events","html_url":"https://github.com/mbedmicro/CMSIS-DAP/issues/82","id":55989118,"number":82,"title":"RAM usage","user":{"login":"xiongyihui","id":948283,"avatar_url":"https://avatars.githubusercontent.com/u/948283?v=3","gravatar_id":"","url":"https://api.github.com/users/xiongyihui","html_url":"https://github.com/xiongyihui","followers_url":"https://api.github.com/users/xiongyihui/followers","following_url":"https://api.github.com/users/xiongyihui/following{/other_user}","gists_url":"https://api.github.com/users/xiongyihui/gists{/gist_id}","starred_url":"https://api.github.com/users/xiongyihui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiongyihui/subscriptions","organizations_url":"https://api.github.com/users/xiongyihui/orgs","repos_url":"https://api.github.com/users/xiongyihui/repos","events_url":"https://api.github.com/users/xiongyihui/events{/privacy}","received_events_url":"https://api.github.com/users/xiongyihui/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-30T03:04:18Z","updated_at":"2015-01-30T03:22:34Z","closed_at":null,"body":"Some notes about RAM usage based on my experience of  [sam's fs_path branch](https://github.com/sg-/CMSIS-DAP/tree/fs_patch) and [my branch](https://github.com/xiongyihui/CMSIS-DAP/tree/arch_pro).\r\n\r\n### Tasks' stack size\r\n\r\n+ stk_timer_30_task > 64 bytes\r\n+ stk_dap_task > 168\r\n+ stk_serial_task > 240\r\n+ main_task > 88\r\n+ task running USBD_RTX_MSC_EP_BULK_Event > 308\r\n\r\n### Make full use of LPC11U35 extra 2KB RAM\r\nUse [the following scatter file](https://github.com/xiongyihui/CMSIS-DAP/blob/arch_pro/shared/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/LPC11U35.sct). We need to put data of startup_lpc11uxx.o and system_lpc11uxx.o in ER_IROM1, for ER_IROM2 is powered on in SystemInit() of system_lpc11uxx.o.\r\n```\r\nLR_IROM1 0x00000000 0x10000  {    ; load region size_region (64k)\r\n  ER_IROM1 0x00000000 0x10000  {  ; load address = execution address\r\n   *.o (RESET, +First)\r\n   *(InRoot$$Sections)\r\n   .ANY (+RO)\r\n  }\r\n  RW_IRAM1 0x10000000 0x2000  {\r\n   .ANY (+RW +ZI)\r\n   system_LPC11Uxx.o (+RW +ZI)\r\n   startup_LPC11Uxx.o (+RW +ZI)\r\n  }\r\n  RW_IRAM2 0x20000000 0x800  {\r\n   .ANY (+RW +ZI)\r\n  } \r\n}\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mbedmicro/CMSIS-DAP/issues/comments/72148189","html_url":"https://github.com/mbedmicro/CMSIS-DAP/issues/82#issuecomment-72148189","issue_url":"https://api.github.com/repos/mbedmicro/CMSIS-DAP/issues/82","id":72148189,"user":{"login":"xiongyihui","id":948283,"avatar_url":"https://avatars.githubusercontent.com/u/948283?v=3","gravatar_id":"","url":"https://api.github.com/users/xiongyihui","html_url":"https://github.com/xiongyihui","followers_url":"https://api.github.com/users/xiongyihui/followers","following_url":"https://api.github.com/users/xiongyihui/following{/other_user}","gists_url":"https://api.github.com/users/xiongyihui/gists{/gist_id}","starred_url":"https://api.github.com/users/xiongyihui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiongyihui/subscriptions","organizations_url":"https://api.github.com/users/xiongyihui/orgs","repos_url":"https://api.github.com/users/xiongyihui/repos","events_url":"https://api.github.com/users/xiongyihui/events{/privacy}","received_events_url":"https://api.github.com/users/xiongyihui/received_events","type":"User","site_admin":false},"created_at":"2015-01-30T03:22:34Z","updated_at":"2015-01-30T03:22:34Z","body":"@sg- I'm testing the intel hex parser you implemented - https://github.com/xiongyihui/intelhex_parser.\r\nThere are some changes."}}