I decided to start a new thread since this problem is different than the original one. When I compile the attached code, I get four L13: Recursive Call to Segment Warnings. One of the functions called out in the warnings is this one:
BYTE process_Help(char xdata *cmdBuf) { printf("\r\nP2_CMDHELP\r\n"); printf(cmdBuf); cmdBuf[0] = '\0'; printf( "\r\nHelp Message\r\n" return TRUE; }
// First two lines of corrected reg530.h #ifndef _REG530_H #define _REG530_H . . . #endif // Last line of corrected reg530.h
That's it exactly. But, since this is explained pretty well in the app note, I shall not preach! :-) Jon