>--- Original Message --- > >I'm working on a simple data acquisition project based on >the 16F877A. I'm using HI-TECH PICC Lite v8.02pl1 as my >compiler. No simulator or ICD, all code is run on device. > >First problem is with strings- they don't work unless I use >-NO_STRING_PACK. I thought that the 877A could read its >own program memory and string packing should work. The >USART demo from microchipc.com also fails when string >packing is enabled, so it isn't my code. That's correct, there is a library bug in PICC Lite concerning packed strings on the 16F877(A). I found it last year, and finally got Hi-Tech to acknowledge it around March of this year. It will be fixed at some point in the future (the next release of PICC-LITE). Good advertising, Hi-Tech! Bill -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.