I get strange results in the map file when compiling slightly different code. The code runs properly, but I'm curious.
I have a string of more than 256 chars containing version info etc. When the code is linked I get:
Number of blocks to be downloaded: 17
Total size of all blocks to be downloaded: 12863
Then I ADD one char in the string, make and get:
Number of blocks to be downloaded: 16
Total size of all blocks to be downloaded: 12864
THEN, elsewhere in the code, I add __RESET_WATCHDOG(), yielding:
Number of blocks to be downloaded: 15
Total size of all blocks to be downloaded: 12873
Does someone have a logic explanation?
Solved! Go to Solution.
Hello
Do not care about that info.
Block just indicates how many blocks of data the debugger did download.
This is not really relevant as block size is not the same for all blocks.
If you want to know how much byte of data have been downloaded,
just look at "Total size of all blocks to be downloaded" at the end of the .map file
or better look at the "ROM size" at the end of the "SECTION-ALLOCATION SECTION".
CrasyCat
Hello
Do not care about that info.
Block just indicates how many blocks of data the debugger did download.
This is not really relevant as block size is not the same for all blocks.
If you want to know how much byte of data have been downloaded,
just look at "Total size of all blocks to be downloaded" at the end of the .map file
or better look at the "ROM size" at the end of the "SECTION-ALLOCATION SECTION".
CrasyCat