[SOLVED] Flasher ARM Stand-alone programming fails with MK60DN512 (Freescale)

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

  • [SOLVED] Flasher ARM Stand-alone programming fails with MK60DN512 (Freescale)

    I am using a Freescale MK60DN512xxx10 MC with the default project that came with the system. It works fine from a PC. It appears to program OK. However, it gives me a FAIL indication when in stand-alone mode.

    In the log file I have only this:

    SN: 1 - Failed

    What I'm doing wrogn?

    Thank you in advance for any help.
    Images
    • segger.png

      31.09 kB, 839×487, viewed 574 times
  • Hello Serg,

    The problem is the watchdog of the Kinetis device, which is enabled after reset.
    J-Flash / the J-Link DLL performs a device specific setup sequence on connect, which disables the watchdog.
    As the Flasher can not use the logic from the J-Link DLL, this has to be added manually. This is already on our list for future versions.

    Work-Around:
    Disable the watchdog as part of the init steps in the J-Flash project settings which are executed in stand-alone mode, too.
    Please find attached to this post a project for the KE02 which disables the watchdog. You can use this as reference for the K60.

    If you have any questions, please let me know.

    Best regards
    Erik
    Files
    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.