I would appreciated a second opinion on this.
Attached is a simple bit of FC used for testing another program. It builds a string and sends this out over the UART at 57Kbit.
A assembled string can be over 20 characters
FC is attached.
In simulation the output stream is fine, both UART Console and the assembled string shown on a console Writer are fine, with strings over 20 Characters hardware is PIC18F2585 and the output string is always tuncated to 20 charaters. I dont think it is a hardware limitation.
I'm fairly sure the error is somewhere in the string concatenation, as the last value (my terminating character $) is always correctly added.~1,9,1,MyValue ECT,2$
~1,10,1,MyValue ECT,$
~1,11,1,MyValue ECT,$
But the value (just before the terminating character) is being truncated to a length that always results in of 20 char max.
I've checked my FC variable to ensure everything is sized to handle a string larger than this, but the problem persists.
Any Thoughts? J.