Hi,
I am new to the segger Jlink and I am a Python developer so please excuse my lack of experience in this area.
I have a segger jlink EDU version 10.1 and I have been using it to flash firmware to our products with no problems using the `commanderscript` option of `jlink` via a subprocess connection.
We have a new product that requires calibration and to do this we use the Jlink to output calibration information using the `RTT viewer.`
I am writing a GUI in Python to do this automatically in production for staff who assemble the products. (there is also other equipment involved in the process which makes it complicated)
The information is displayed correctly using the viewer.
I wish to be able to capture this information using the `jlink -commanderscript` option if possible and save the results for further processing.
My questions are:
1. Can I capture the output from the `RTT Viewer` using a `commanderscript` option?
2. If not, is there another way I can capture the information, using telnet or similar?
3. In general, does anyone else use python to connect to the Jlink and if so what is the process?
*I must note that I have tried the `pylink` module for python and it is not suitable for out environment at present.*
Thanks you in advance.
John
I am new to the segger Jlink and I am a Python developer so please excuse my lack of experience in this area.
I have a segger jlink EDU version 10.1 and I have been using it to flash firmware to our products with no problems using the `commanderscript` option of `jlink` via a subprocess connection.
We have a new product that requires calibration and to do this we use the Jlink to output calibration information using the `RTT viewer.`
I am writing a GUI in Python to do this automatically in production for staff who assemble the products. (there is also other equipment involved in the process which makes it complicated)
The information is displayed correctly using the viewer.
I wish to be able to capture this information using the `jlink -commanderscript` option if possible and save the results for further processing.
My questions are:
1. Can I capture the output from the `RTT Viewer` using a `commanderscript` option?
2. If not, is there another way I can capture the information, using telnet or similar?
3. In general, does anyone else use python to connect to the Jlink and if so what is the process?
*I must note that I have tried the `pylink` module for python and it is not suitable for out environment at present.*
Thanks you in advance.
John