Cart New Account Login

HomeAbout usProductsSupportForumsBlogCustomer Service

search inside this forum
-usejtag option does not work on Linux
Jacques C. Jul 7, 2015 at 04:30 AM (04:30 hours)
Staff: Gerardo R.

  • Hello,

    When I run the debugger on a FRDM K22F using a USB Multilink FX *without* the -usejtag flag everything works OK.

    but when I try with -usejtag on my production board I get this error :

    /opt/Freescale/KDS_3.0.0/eclipse/plugins/com.pemicro.debug.gdbjtag.pne_2.0.8.201504092111/lin/pegdbserver_console -device=Freescale_K2x_K22FN512M12 -startserver -serverport=7224 -interface=USBMULTILINK -port=USB1 -usejtag -showflashstatus
    P&E GDB Server for Arm(R) devices, Version 5.34.00.01
    Copyright 2014, P&E Microcomputer Systems Inc, All rights reserved

    Loading library /opt/Freescale/KDS_3.0.0/eclipse/plugins/com.pemicro.debug.gdbjtag.pne_2.0.8.201504092111/lin/gdi/unit_ngs_arm_internal.so ... Done.

    Command line arguments: -device=Freescale_K2x_K22FN512M12 -startserver -serverport=7224 -interface=USBMULTILINK -port=USB1 -usejtag -showflashstatus
    Device selected is Freescale_K2x_K22FN512M12
    User Specified Hardware Selection : Interface=USBMULTILINK and Port=USB1
    Connecting to target.
    P&E Interface detected - Flash Version 9.33

    Unable to initialize PEDebug.

    PE-ERROR: Failed to Initialize Target
    P&E Interface detected - Flash Version 9.33

    Unable to initialize PEDebug.

    PE-ERROR: Failed to Initialize Target
    Server running on 127.0.0.1:7224


    Can anyone help ?

    Many thanks.

    Jacques Charreyron




    Comments

    • Hello,

      I Have tried the same on MS windows and it works like a charm :

      C:\Freescale\KDS_3.0.0\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_2.0.8.201504092111\win32\pegdbserver_console.exe -device=Freescale_K2x_K22FN512M12 -startserver -serverport=7224 -interface=USBMULTILINK -port=USB1 -usejtag -showflashstatus
      C:\Users\f264897>C:\Freescale\KDS_3.0.0\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_2.0.8.201504092111\win32\pegdbserver_console.exe -device=Freescale_K2x_K22FN512M12 -startserver -serverport=7224 -interface=USBMULTILINK -port=USB1 -usejtag -showflashstatus

      P&E GDB Server for Arm(R) devices, Version 5.34.00.01
      Copyright 2014, P&E Microcomputer Systems Inc, All rights reserved

      Loading library C:\Freescale\KDS_3.0.0\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_2.0.8.201504092111\win32\gdi\unit_ngs_arm_internal.dll ... Done.

      Command line arguments: -device=Freescale_K2x_K22FN512M12 -startserver -serverport=7224 -interface=USBMULTILINK -port=USB1 -usejtag -showflashstatus
      Device selected is Freescale_K2x_K22FN512M12
      User Specified Hardware Selection : Interface=USBMULTILINK and Port=USB1
      Connecting to target.
      P&E Interface detected - Flash Version 9.33

      Device is Freescale_K2x_K22FN512M12.

      Mode is In-Circuit Debug.

      'Kinetis' is a registered trademark of Freescale.

      (C)opyright 2012, P&E Microcomputer Systems, Inc. (www.pemicro.com)
      API version is 101

      P&E Interface detected - Flash Version 9.33

      Device is Freescale_K2x_K22FN512M12.

      Mode is In-Circuit Debug.

      'Kinetis' is a registered trademark of Freescale.

      (C)opyright 2012, P&E Microcomputer Systems, Inc. (www.pemicro.com)
      API version is 101

      Server running on 127.0.0.1:7224

Add comment


   Want to comment? Please login or create a new PEMicro account.







© 2017 P&E Microcomputer Systems Inc.
Website Terms of Use and Sales Agreement