" Linker can be used to fill unused bytes with a defined byte pattern."
I would like to use this feature to fill memory with NOPs. How to set it up?
Solved! Go to Solution.
for Kinetis and gcc, see the 'fill' option here:
Hello
Which MCU are you targeting (HCS08, HCS12, Coldfire, ...)?
CrasyCat
I would also like to know how to do it on HCS08 using CW 10.3
Thanks.
For the HCS08, there is the FILL command you can use in the linker .prm file:
ROM | = READ_ONLY | 0x182C TO 0xFFAF FILL 0x12; |
I hope this helps.
Just note: the same is valid also for S12(X) MCUs.
.prm file ; FILL
Kinetis