>When code is only a few tens or hundreds of words, it puzzles me why >MPLAB/the PICStart bothers to program all 16K words (18F452).... an obvious >way is to shorten the program memory end address in >"Programmer...Settings", >but even if the address is on a 256-byte boundary, MPLAB always spits back >random verify errors. The PIC seems to work OK in practice after such >programming, but is there a hack to make MPLAB only program upto a certain >upper limit of program memory? We always used to just tell it we were using a smaller chip, for example, if you have a PIC16F876, tell it you're using an '873 and it'll only try to program the first 4k. It doesn't work all the time, and I think in your case you may be using the minimum memory size chip for the family, but just a suggestion. Mike H. _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics