Hi Herbert, The following *might* solve your problem. May I suggest you try the following just for kicks? It should take you a few seconds. Don't hard-code your ASCIIZ string messages in the invocation of the function, but rather try the following technique (even though your original syntax is perfectly fine from a C standpoint): const char SOME_TEXT[] = { "Some text\r\n"}; const char SOME_OTHER_TEXT[] = { "Some other text\r\n"}; const char MESSAGE_EEPROM_DETECTED[] = { "EEPROM Detected!\r\n"}; const char MESSAGE_EEPROM_NOT_DETECTED[] = { "EEPROM Not Detected!\r\n"}; prints (SOME_TEXT); prints (SOME_OTHER_TEXT); prints (MESSAGE_EEPROM_DETECTED); prints (MESSAGE_EEPROM_NOT_DETECTED); Let me know if that works for you or not Herbert, deal? In addition, while I see nothing wrong with your original 'prints' function, may I offer you my modification on your version? I found that it uses fewer words (~18 words less) of program memory, but your mileage may vary. I'm not trying to nit-pick, but when dealing with the PICC Lite, every word saved is a word earned! (Also, the 'NULL' label is intrinsically recognized by the C compiler.) void prints( const char *string ) { while( *string != NULL ) { putch( *string++ ); } } I share your frustration Herbert, but hopefully this might get you back on track with that latest issue you are having. Hopefully the code I posted in this message does not get trashed as far as formatting is concerned. I used spaces instead of tabs. Best wishes, Ken Pergola -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads