Hello,
I have J-Link V.8.00 (Segger) and and we will buy TWR-KV31F120M.
If i debugging via JTAG it can real-time read,write variable?
Now i can connected J-Link with KDS V.2.00.
Thank you.
Solved! Go to Solution.
Hi kornwut,
Thank you for your attached test results.
Yes, exactly. I can confirm you, that KDS is not able to read/write variables in real time in debug mode, you can achieve it by using FreeMASTER, Tutorial: FreeMASTER Visualization and Run-Time Debugging | MCU on Eclipse
Best Regards,
Iva
Thank you for all answer and support
1. I tried to use IAR + j link + FRED-KL25 connect with SWD not JTAG, it can real time read-write variables.
2. I tried to use Keil + j link + FRED-KL25 connect with SWD not JTAG, it real time can read-write variables.
Only KDS it can't read-write variable. Please confirm me again, KDS can real time read-write variables or not.
I will show my test result in clip video for you to understand clearly.
Regards,
Kornwut Chalermeekol
Hi kornwut,
Thank you for your attached test results.
Yes, exactly. I can confirm you, that KDS is not able to read/write variables in real time in debug mode, you can achieve it by using FreeMASTER, Tutorial: FreeMASTER Visualization and Run-Time Debugging | MCU on Eclipse
Best Regards,
Iva
Segger has many other means to access the data in realtime, see
https://www.segger.com/j-link-j-scope.html
https://www.segger.com/j-link-swo-viewer.html
SEGGER - The Embedded Experts - World’s first real time terminal with SEGGER J-Link
Which all are possible to be used in combination with KDS.
Erich
Hi
If you buy a TWR-KV31F120M it has an on-board debugger and so doesn't need an external one (although this can also be used with the connect pin adapter - J-Link can be selected in KDS as debugger too).
Regards
Mark
Kinetis: µTasker Kinetis support
KV10: µTasker Kinetis TWR-KV10Z32 support
KV31: µTasker Kinetis TWR-KV31F120M support
For the complete "out-of-the-box" Kinetis experience and faster time to market
Thank you for answered my question.
I knew TWR-KV31F120 can debug on - board and does not need an external one .Anyway, I need to read-write value and debug in real –time via JTAG in KDS (Don’t need to use Freemaster). Can Segger read-write value and debug in real time via JTAG?
Thank you
Dear kornwut chalermmeekol,
As Jorge mentioned, you can watch variables via expression view in KDS, but you must stop the program. It is not real-time routine.
The differences between J-Trace and J-Link is that J-Trace periodically halt cpu and read data from registers.
Here are the main differences, while ETM Trace is shortcut for Embedded Trace Macrocell, CoreSight Trace Macrocells - ARM
and ETB is shortcut for Embedded Trace Buffer, small, circular on-chip memory area where trace information is stored
during capture. It contains the data which is normally exported immediately after it has been captured from the ETM.
There are a lot of these tools, which you can use for the watching variables for J-Link.
Another one is e.g. J-Mem Memory Viewer, but it is for J-link too, because you must always stop the program
You can also use J-scope, it is something like Freemaster for J-link is a free-of-charge software to analyze and visualize data on a microcontroller in real-time, while the target is running.
You just choose target device, target interface and speed and its elf file.
SEGGER - The Embedded Experts - J-Scope
You can also look at User Guide for J-Link
https://www.segger.com/cms/admin/uploads/productDocs/UM08001_JLink.pdf
I hope this helps,
Iva
Hello kornwut chalermmeekol:
Yes, it is possible to read-write variables while debugging with Segger J-Link. You can use the "Expressions" view:
Or the "Memory" view:
Of course write operations are only valid for RAM space.
Regards!,
Jorge Gonzalez
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Yes, but only with J-Trace device. But I´m checking it... and tell you more.
SEGGER - The Embedded Experts - J-Trace ARM
Best Regards,
Iva
Dear chalermmeekol ,
I can recommend you the tutorial for visualization and run-time debugging for Freemaster
Tutorial: FreeMASTER Visualization and Run-Time Debugging | MCU on Eclipse
You can also try remote access control between two computers.
FREEMASTER: Remote Server Tutorial
Best Regards,
Iva
Hello chalermmeekol,
please, do you try for watching variables to install the plugin EmbSysRegView, you get it here EmbSysRegView ?
is an Eclipse Plugin which is designed for monitoring and modifying memory values.
Please, look at Updated Eclipse EmbSysReg Viewer with extra Freescale SVD Files | MCU on Eclipse
I hope it helps,
Iva
I have installed EmbSysRegView and made some test whith this software. It is very useful, but the values are upadated only when a breakpoint or a stop are executed and not in rela time.
Best Regards,
Pier Giovanni
HI Pier,
yes, exactly. that´s what I ´m talking about...
Best Regards,
Iva
Hi
Note also that FreeMaster can be used to do some real-time variable monitoring/writing: http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=FREEMASTER&fsrch=1&sr=5&pageNum=1
It will not be as fast (or unintrusive) as JTAG based but generally could be useful without any debugger connected.
Regards
Mark
Kinetis: µTasker Kinetis support
KV10: µTasker Kinetis TWR-KV10Z32 support
KV31: µTasker Kinetis TWR-KV31F120M support
For the complete "out-of-the-box" Kinetis experience and faster time to market