Brent Brown wrote: > What do you do when you've run out of program space in a PIC16F88? I'm looking > through the Microchip website but can't find anything ideal yet. The perfect solution > would be a drop in pin compatible chip with all the same features but 8K words of > Flash instead of 4K. > > Features I need are self writable Flash for bootloader, internal RC oscillator, some > EEPROM, PWM, USART, 28 pin QFN package, more than 4K words of program > space (probably 6-8K). PIC16F886 looks like a contender but it doesn't apprear to > be available yet (who knows when?), also not pin-compatible but could do a PCB > re-design (don't really want to). Is there another chip out there I just haven't seen > yet? eg. What is a PIC16F89 and why can't I find it on the Microhip site? Google > finds a few references to it but I have no hard facts. > > For my prototypes I think I can just squeeze in enough of the program to get them > running, but there will be some extra features required for production units. I need > to add LCD menu's for installer setup options etc, which eats up code space I don't > have. Program is written in Hi-Tech PICC, and I'm not blaming that for my code size > problems. I'm doing all the things I can think of to minimise space used. > If nothing else presents itself, I would examine the listing to check for extra unneeded instructions. For example, bank switching when it's not needed, etc. But that's a long shot in terms of getting much from it. Maybe factoring the program to eliminate redundant code... -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist