附件是我的memory map,看起来const是放置到保护区了。
start 00000000 end 00000000 length 0 segment .bsct
start 00000000 end 0000000a length 10 segment .ubsct
start 0000000a end 0000000a length 0 segment .bit
start 0000000a end 0000000a length 0 segment .share
start 00000100 end 0000068c length 1420 segment .data, initialized
start 00008b67 end 000090f3 length 1420 segment .data, from
start 0000068c end 00000bcd length 1345 segment .bss
start 00008000 end 0000806c length 108 segment .vector
start 00000000 end 0001939f length 103327 segment .debug
start 00008080 end 00008b5f length 2783 segment .protect_code
start 000090f3 end 00009402 length 783 segment .const
start 0000a000 end 0000a338 length 824 segment .remap_int_cod
start 0000a338 end 0000a338 length 0 segment .fconst
start 0000a338 end 00011917 length 30175 segment .text
start 00008b5f end 00008b67 length 8 segment .init
理应放到remap_int_code之后的。IAP升级文档也是放到后面的。 |