Console vs Image Info Flash Usage Doesn't Match

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Console vs Image Info Flash Usage Doesn't Match

577 Views
gregs5451
Contributor III

I experimented with compiling a Debug build vs a Release build using an example project frdmkl25z_rtos_examples_freertos_hello to see what would be gained.  I normally would use the "Image Info" function on the .axf file to see the results.  However, I happened to notice the Console output information after recompiling and see the the Flash Usage information doesn't agree.  I looked at both debug and release versions shown below.  Why is this?  Which one is correct?

pastedImage_1.png

Labels (1)
0 Kudos
1 Reply

497 Views
lpcxpresso_supp
NXP Employee
NXP Employee

So this seems to be being triggered for devices with only a single defined RAM bank. For some reason, on such devices, the bss contents is being erroneously marked with a LMA (load address) in Flash - this can be seen by looking in the map file. This is then being treated as part of the contents of flash by the processing that generates the contents of the Image Info view (even though it actually isn't). We'll investigate further.

Regards,

MCUXpresso IDE Support

0 Kudos