AnsweredAssumed Answered

What does the "blocks" signify in the map file? (HSC08)

Question asked by H?kan Dahlberg on Nov 9, 2009
Latest reply on Nov 17, 2009 by CrasyCat

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?

Outcomes