Hi Pavel,
Thanks! What you told me is align with what I think of.
So if the segment is describe as below.
--------
Segments
--------
start 000020f0 end 000037b2 length 5826 segment .BANK0 Y
start 000037b2 end 00004000 length 2126 filler (0x83)
start 00004000 end 00007fbd length 16317 segment .BANK1 Y
start 00007fbd end 00008000 length 67 filler (0x83)
start 0000c000 end 0000eb0d length 11021 segment .BANK3 Y
start 0000eb0d end 0000f030 length 1315 segment .const Y
start 00000080 end 00000080 length 0 segment .bsct
start 00000100 end 00000100 length 0 segment .data
start 0000ffb0 end 0000ffb8 length 8 segment flash_backkey
start 0000ffbd end 0000ffbe length 1 segment flash_prot
start 0000ffbf end 0000ffc0 length 1 segment flash_opt
start 00000100 end 00000cf6 length 3062 segment .bss
start 00000000 end 00191730 length 1644336 segment .debug
start 00000080 end 000000f1 length 113 segment .ubsct Y
start 00008000 end 0000bc5e length 15454 segment .BANK2 Y
start 0000bc5e end 0000c000 length 930 filler (0x83)
start 00010000 end 00013a33 length 14899 segment .BANK4 Y
start 00013a33 end 00014000 length 1485 filler (0x83)
start 00014000 end 00017c93 length 15507 segment .BANK5 Y
start 00017c93 end 00018000 length 877 filler (0x83)
start 00018000 end 0001bd4d length 15693 segment .BANK6 Y
start 0001bd4d end 0001c000 length 691 filler (0x83)
start 0001c000 end 0001fb99 length 15257 segment .BANK7 Y
start 0001fb99 end 0001fb99 length 0 segment .fconst
start 0001fb99 end 00020000 length 1127 filler (0x83)
start 0000ff9c end 0000ffa0 length 4 segment VECT_TABLE_0
start 0000ffc0 end 00010000 length 64 segment VECT_TABLE_1
start 0000ff6b end 0000ff73 length 8 segment VERSION_CORE
start 0000ff73 end 0000ff7f length 12 segment VERSION
start 0000ff7f end 0000ff80 length 1 segment APPL_CRC
start 0000f030 end 0000f030 length 0 segment .utext
start 0000f030 end 0000ff6b length 3899 filler (0x83)
Does that mean I need to sum of length of the rows which is marked 'Y' to accumulate the total space occupied,am I correct?
Another question is,what does '.debug' mean?