Marc Paquette

CodeWarrior 8- & 16-bit tools: How do I fill unused NVM with SWI instructions ?

Discussion created by Marc Paquette Employee on Jan 27, 2006
Latest reply on Feb 28, 2006 by Marc Paquette
To help you find solutions to problems that have already been solved, we have posted this message. It contains an entire topic ported from a separate forum. The original message and all replies are in this single message.
Posted: Jul 22, 2004 - 11:45 AM   
9S12dp256B, CW V2.0, ANSI C.. I have a requirement that I fill my unused (Flash) memory with SWI commands. Is there an easier way than doing the brute force method of assigning constants to all the absolute memory addresses that need to be filled? This newbie could use some help... Thank You, in advance, for your time and patience.

Posted: Jul 22, 2004 - 04:48 PM   
Use FILL command -- the unused ROM will be filled with 0x55.
Refer to SmartLinker manual under your installation.
ROM = READ_ONLY 0x4000 to 0x7FFF file 0x55