I have been working with the stock Logomatic firmware and I can’t figure out why it ignores the config file for triggered UART logging. Here is my log file:
MODE = 1
ASCII = N
Baud = 4
Frequency = 100
Trigger Character = $
Text Frame = 5
AD1.3 = N
AD0.3 = N
AD0.2 = N
AD0.1 = N
AD1.2 = N
AD0.4 = N
AD1.7 = N
AD1.6 = N
Saftey On = Y
I am communicating with it (using a 3.3V SparkFun FTDI USB board) at 9600 baud, I send the trigger character first, but it totally ignores the frame length. What happens is that it waits to log to the file until the 512byte buffer is full. What I thought would happen (based on the datasheet) is that it would log the trigger character and the next 4 bytes (based on my settings above) and add a LF/CR. Am I understanding wrong? It says in that mode the buffers are dedicated until the frame is over then it logs to disk and switches to the other buffer. Can anyone please help me understand what I may be doing wrong? Thanks!