I want to use Seggers RTT for data logging.. but after 199lines the Viewer starts to overwrite the old lines.. so that only the most recent 199 lines are displayed..
Are there by the way any other tools I can use instead of the standard one?
I want to use Seggers RTT for data logging.. but after 199lines the Viewer starts to overwrite the old lines.. so that only the most recent 199 lines are displayed..
Are there by the way any other tools I can use instead of the standard one?
Have you tried asking on Segger's forums? They provide the viewer after all.
I registered at their forum but still waiting for any confirmation mail or similiar to be sent... can't post there.
Hi muhkuhns. I have the same problem that I want to use RTT for data logging as UART printf() is too slow. In addition I need to log data from three devices connected to the PC at the same time. Therefore I would be verry interessted in your solution for that issue. Did you find a solution so far? Or does someone else know how to log data with RTT?
Sorry I didn't answered this one by my own till now. As a work around I used telnet.
As far as I remember you don't have to do anything else one the rtt side after you have started the viewer as usual. Just install/enable telnet on your windows computer and you are good to.
Here is the script I wrote (.vbs) to automatically connect and log everything to a .txt file named with date+time:
set sh=WScript.CreateObject("WScript.Shell")
sh.run "Telnet"
WScript.Sleep 100
D = Date
T = Time
Timestamp = Year(D) & Right("0" & Month(D), 2) & Right("0" & Day(D), 2) & _
"_" & _
Right("0" & Hour(T), 2) & Right("0" & Minute(T), 2) & Right("0" & Second(T), 2)
sh.SendKeys "set logfile C:\Users\yourname\Dropbox\Messungen\" & Timestamp & "_Messreihe.txt"&vbcr
WScript.Sleep 500
sh.SendKeys "set logging"&vbcr
WScript.Sleep 500
sh.SendKeys "open localhost 19021"&vbcr
Wscript.Sleep 1000
see my addes answer. btw: You should have posted this as the comment it is, and not as an answer.