IAR + JLink Not be 'memberin'

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • IAR + JLink Not be 'memberin'

    Hi,

    I have a JLink Plus 9.3 with software V4.90 and I'm using IAR 7.20.2 with a Kinetis K64.

    I have configured things to use Semihosting + SWO Output and it works. The problem is that each time I enter a debug session it doesn't remember to enable ITM port 0 and direct it to the terminal window. Is this a JLink or IAR issue? Basically Port 0 is unchecked in the SWO Configuration window.

    Thanks,

    Kenny
    Images
    • Screen Shot 2014-08-26 at 5.40.07 PM.png

      129.98 kB, 1,352×827, viewed 830 times
  • Hi Kenny,

    I have configured things to use Semihosting + SWO Output and it works

    Semihosting and SWO usually exclude each other, so only one is active at the same time (since both are usually used for printf())
    Semihosting and SWO are totally different technologies. (I know that it might be presented a bit irritating in IAR EWARM)
    In your case, I assume that you are using SWO.

    The problem is that each time I enter a debug session it doesn't remember to enable ITM port 0 and direct it to the terminal window. Is this a JLink or IAR issue? Basically Port 0 is unchecked in the SWO Configuration window.

    This dialog is completely provided and maintained by IAR EWARM.
    J-Link has no influence on the settings shown / being available in this dialog.
    This is more something for the IAR support / forum than for ours.

    Anyhow, for printf there might be an interesting alternative for you:
    SEGGER RTT (segger.com/jlink-real-time-terminal.html)

    Also works on M0 targets which do not support SWO at all.
    Moreover, you do not need an additional pin, nor need to battle with the frequency issues SWO comes with... (sender + receiver need to use the same frequencies etc.)


    - Alex
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.