Can't you build a custom .HEX file modify program? It shouldn't be too hard to make a program which replaces the 0x3FFF into 0x0000. On another note: you wrote it's for determining a factory or a field load. Do you have to have every 3FFF replaced by 0000? Can't you pick ONE memory location and hardcode a pre-defined value there? You can make it with MPASM using IFDEFs which trigger only for a factory build. -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU] On Behalf Of Terence Monteith Sent: woensdag 13 maart 2002 16:25 To: PICLIST@MITVMA.MIT.EDU Subject: Re: [PIC]: filling unused program memory No, then I get overwrite errors. -----Original Message----- From: Claudio Tagliola [mailto:cptagliola@CHELLO.NL] Sent: March 13, 2002 9:23 AM To: PICLIST@MITVMA.MIT.EDU Subject: Re: [PIC]: filling unused program memory Can't you FILL the complete range as the first MPASM operator, and then ORG back to the beginning? -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads