If you implement calls that use stdin/stdout in debug, and you have linker option set, all stdin/stdout happens in terminal I/O window. If you implement putchar and or getchar you effectively change your stdin/stdout endpoints. So for debug and or release you might want to use the serial port for stdout, just implement putchar to send character to your desired serial port. You can make stdout your I2C port if you like. You get no Terminal I/O in C-Spy regardless of linker setting if you implement putchar/getchar. So perhaps conditionally compile putchar and or getchar based on your needs. Using the Terminal I/O consumes one hardware breakpoint. If you're not using Terminal I/O disable the linker setting. int putchar(int c); // implementation only needed for printf() int getchar(void); Joel
Message
RE: [lpc2000] [IAR EW-ARM] Internal Error???
2005-12-02 by Joel Winarske
Attachments
- No local attachments were found for this message.