Dear all,
I am using MCF51AC256, and I need to fill unsused memory (Flash, and maybie also RAM) as described in AN3305.
I need a simple method that does not interfer when compiling a new software release.
All yours ideas are welcome, thanks.
Julien
If I can assume you are using CodeWarrior, then the linker FILL parameter:
ROM = READ_ONLY 0xF000 TO 0xFFAB FILL 0x83;
does a fine job of filling out the s19 file. As an adjunct, adding the paramater section:
CHECKSUM
CHECKSUM_ENTRY METHOD_CRC_CCITT
OF READ_ONLY 0xF000 TO 0xFFAB
INTO READ_ONLY 0xFFAC SIZE 2
UNDEFINED 0x83
END
END
will insert a CCITT checksum.
Thanks you Mike,
It seems pretty good, I will try it for both item I have post.
Hi Julien,
Have a look at Srecord: http://srecord.sourceforge.net
You can use this program (more specifically, srec_cat) to manipulate .s19 files in all sorts of ways, including filling unused memory with a specific pattern.
Regards,
- mike