Hello,
for crc calculation, I'm using the total ROM size out of the .map file.
To check, all code is included, I've added the total ROM size to my start address.
Then I saw, that I only get the address of the first byte of my last word, half word ....
I would expect to get the address of the last byte or the last byte plus some stuffing bytes to get an alignment of 4.
Do you know, why I get the address of the first byte (of my last word/half word....) if I'm adding the total ROM size to my start address?
Best regards,klaus
Hmm... the difference is the 2032 bytes of padding (26472+2032=28504).
Is the "ROM Totals" from fromelf correct?
Yes, if I add the ROM totals from fromelf (Code + ro data + rw data) I'll get the expected result.
Thanks for confirming. I'll flag this up internally.
Hello Ronan,
thank you very much.
It seems like the output of the fromelf is the same as the compressed size, we've talked about several days ago...