This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Segger RTT - How to increase maximun line count?

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?

Parents
  • 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
    
Reply
  • 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
    
Children
Related