Hi,
I am developing a program on a Nordic nRF51 DK, using Eclipse/gcc, and am using J-Link RTT for a debug command line interface. This has worked very well for some time, but now I have a problem: When I type a command, the "Log" tab of the j-Link RTT Viewer opens and there is a message: "WARNING: Sent 15 of 89 bytes." The first number is always 15, and the second varies with the length of the command. Commands longer than 15 bytes gives this answer, commands shorter than 15 bytes seem to work.
I am totally at loss. I realize that my own program is the major suspect, maybe an astray pointer. Possibly, there is some error with the RTT code from Segger/Nordic. Another thing is that my program now is now close to 64kB, and it might be some 16/32-bit address error. I have not configured RTT in any way, just called SEGGER_RTT_Init().
I would like to know what causes this error in the RTT Viewer, so I can use this information to debug my code. Any help appreciated.
regards, //Elm