Cart New Account Login

HomeAbout usProductsSupportForumsBlogCustomer Service

search inside this forum
multilink fx: cannot get into step by step debug
Haizhou L. Dec 29, 2016 at 01:13 PM (13:13 hours)
Staff: Takao Y.

  • Used this multilink FX for half year and works great till two days ago. I cannot get into the debug step by step mode 9 of 10 times. The code still can be programmed in. I am not aware of changing anything except the main flow code. However, I still can get into the debug mode 1 of 10 chance. 

    Using Kinetis design studio 3.2.0 on k64fn1m0m12.

    Any help is appreciated! Thanks!


    The following is the log:



    Connection from "127.0.0.1" via 127.0.0.1
    Copyright 2012 P&E Microcomputer Systems,Inc.
    Command Line :C:\Freescale\KDS_v3\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_2.3.6.201602211227\win32\pegdbserver_console -device=NXP_K6x_K64FN1M0M12 -startserver -singlesession -serverport=7224 -interface=USBMULTILINK -speed=5000 -port=USB1 -configfi


    CMD>RE


    Initializing.
    Target has been RESET and is active.
    CMD>CM C:\Freescale\KDS_v3\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_2.3.6.201602211227\win32\gdi\P&E\supportFiles_ARM\NXP\K6x\freescale_k64fn1m0m12_1x32x256k_pflash.arp


    Initializing.
    Initialized.


    ;version 1.02, 06/02/2014, Copyright 2014 P&E Microcomputer Systems, Inc. All rights reserved. www.pemicro.com [mk64_1024k_n_pflash0_pflash1]


    ;device freescale, k64fn1m0m12, 1x32x256k, desc=pflash


    ;begin_cs device=$00000000, length=$00100000, ram=$20000000


    Loading programming algorithm ...
    Done.
    CMD>EM


    Erasing.
    Module has been erased.
    Reloading programming algorithm ...
    done.
    CMD>PM


    Programming.
    Processing Object File Data ...

    .
    Programmed.
    CMD>VC
    Verifying object file CRC-16 to device ranges ...
    block 00000000-0004000B ...
    Ok.

    Checksum Verification Successful. (Cumulative CRC-16=$6AC7)



    CMD>RE


    Initializing.
    Target has been RESET and is active.


    WARNING - NO RESET SCRIPT FILE HAS BEEN CONFIGURED TO RUN!!!

    TO MODIFY THE RESET SCRIPT SETTINGS, USE THE FOLLOWING MENU OPTION:

    CONFIGURATION -> AUTOMATED SCRIPT OPTIONS



    Preset breakpoint encountered.


    Disconnected from "127.0.0.1" via 127.0.0.1
    Target Disconnected.
    Target Disconnected.

    ---------------------------------------

    GNU gdb (GNU Tools for ARM Embedded Processors) 7.6.0.20140731-cvs
    Copyright (C) 2013 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>;
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law. Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "--host=i686-w64-mingw32 --target=arm-none-eabi".
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/>;.
    monitor preserve0 0
    monitor selectcore 0
    Warning: the current language does not match this frame.
    continue
    Continuing.
    Note: automatically using hardware breakpoints for read-only addresses.

    Temporary breakpoint 1, 0x00000000 in __isr_vector ()




    Comments

  • Greetings,

    If you created a new blank project for your device in KDS, does it debug without any problems? If so, then you can easily start comparing your code or debug settings to see what might have changed. But if the basic project is also having troubles, then you most likely have a hardware problem. This is when having a spare multilink is handy and will help you debug the problem.


    Takao Yamada

  • Greetings,

    Any update on this?


    Takao Yamada

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