> -----Original Message----- > From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf > Of PICdude > Sent: 13 December 2009 14:01 > To: piclist@mit.edu > Subject: Re: [PIC] increase pic program flash memory size ? possible ? > > I've thought about this for adding a user-configuration section to an > existing product, which didn't have enough extra code space in it... > > My thought was that since this would expectedly be used on a "handful" > of times, I could have the extra code in external memory waiting like > a DLL, then load that into the PIC when needed, temporarily > overwriting some other code that's not needed during normal operation > (like some 32-bit math routines). That math code would also be in > external memory and re-loaded when the configuration section was > complete. > > I haven't worked out the full details, but then I discovered the > 16F1936, giving me more code space (over the 16F883). This sounds more like the overlays that some old DOS programs used rather than a DLL. This would be feasible for very rarely used functions, but flash memory wear and erase/programming times may well be a problem for anything else. You would probably have to allocate a block of RAM that would be used only by the paged code and you would have to handle any initialisation of this memory yourself. Regards Mike ======================================================================= This e-mail is intended for the person it is addressed to only. The information contained in it may be confidential and/or protected by law. If you are not the intended recipient of this message, you must not make any use of this information, or copy or show it to any person. Please contact us immediately to tell us that you have received this e-mail, and return the original to us. Any use, forwarding, printing or copying of this message is strictly prohibited. No part of this message can be considered a request for goods or services. ======================================================================= -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist