Content originally posted in LPCWare by MindBender on Thu Jul 16 07:04:25 MST 2015
> Does you __sys_write even get called during your call to vprintf? (i.e. set a breakpoint on your __sys_write function).
I was sure that it wasn't, but I have just removed my work-around and put vprintf back, and __sys_write gets called. However, the data it receives doesn't make much sense; It is readable text, and even text that was printed during program execution, but with text is repeated and appears out-of-order. And yet, I do make __sys_write return the length. Making it return 0 shows a slight improvement, but that's not how it's supposed to be.
> Please also confirm target MCU, which version of LPCXpresso is being used and which debug probe.
LPC1788, LPCXpresso v7.8.0 [Build 426] [2015-05-28], Link2
And I'm using RedLib, obviously.
I think I will just stick with my work-around; Stripping my application down and testing for reproductions would cost a lot of time. Thank you for offering anyway.