> I=E2=80=99m working on a simple data acquisition project based on the=20 > 16F9877A. > I=E2=80=99m using HI-TECH PICC Lite v8.02pl1 as my compiler. No = simulator=20 > or > ICD, all code is run on device. >=20 > I=E2=80=99ve gotten things to work more or less, but for reasons I = don=E2=80=99t > understand. I was wondering if some folks might be able to provide me > with the "why". >=20 > First problem is with strings- they don=E2=80=99t 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=E2=80=99t=20 > my > code. I experienced the exact same problem (except I hit it when I ported a = program from a 16F628 that worked perfectly to a 16F877 that all of a = sudden didn't. Never did solve WHY it was happening, I just added "no = string pack" and never looked back. I believe it's a compiler bug, but I never had time to prove/disprove = that. TTYL ---------------------------------- Herbert's PIC Stuff: http://repatch.dyndns.org:8383/pic_stuff/=20 -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.