Cart New Account Login

HomeAbout usProductsSupportForumsBlogCustomer Service

search inside this forum
Flash programming error due to CRC-16 missmatch file to device
Matteo P. Feb 8, 2017 at 08:09 AM (08:09 hours)
Staff: Gerardo R.

  • I have a problem during flash programming.
    My settings are:
    - KDS 3.0
    - PE Micro Multilink Universal
    - JTAG
    - Target: MK64FN1M0VLL12

    I already used this configuration with my firmware/project and all works fine.
    But I upgrated the pemicro plugin on KDS and now I receive this error during flash programming:

    CMD>VC
    Verifying object file CRC-16 to device ranges ...
    block 00000000-0000F1BF ...
    Calculated CRC-16 does not match block. (File = $DB28, Device = $8511)

    Error verifying flash of device

    Error occured during Flash programming.

    PE-ERROR: Error downloading to the device.
    Disconnected from "127.0.0.1" via 127.0.0.1
    Disconnected from "127.0.0.1" via 127.0.0.1
    Disconnected from "127.0.0.1" via 127.0.0.1
    Target Disconnected.
    Target Disconnected.


    What do I do? How can I fix this error?




    Comments

  • There's an option to force a mass erase to recover a Kinetis device. Can you try using that option and let me know how that goes?

    • Nothing.

      This is the output:


      Connection from "127.0.0.1" via 127.0.0.1
      Connection from "127.0.0.1" via 127.0.0.1
      PE-ERROR: ERROR: Failed to initialize kernel symbols.
      PE-ERROR: ERROR: Failed to initialize kernel symbols.
      Copyright 2012 P&E Microcomputer Systems,Inc.
      Command Line :C:\Freescale\KDS_3.0.0\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_2.8.1.201702021942\win32\pegdbserver_console -device=NXP_K6x_K64FN1M0M12 -startserver -singlesession -serverport=7224 -gdbmiport=6224 -interface=USBMULTILINK -speed=100 -uœ


      CMD>RE


      Initializing.
      Target has been RESET and is active.
      CMD>CM C:\Freescale\KDS_3.0.0\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_2.8.1.201702021942\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 ...


      WARNING - Selected .ARP file has been modified. CRC16 = $4E17
      Done.
      CMD>VC
      Verifying object file CRC-16 to device ranges ...
      block 00000000-000023C7 ...
      Calculated CRC-16 does not match block. (File = $A2EA, Device = $0676)



      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-000023C7 ...
      Calculated CRC-16 does not match block. (File = $A2EA, Device = $CBEC)

      Error verifying flash of device

      Error occured during Flash programming.

      PE-ERROR: Error downloading to the device.
      Disconnected from "127.0.0.1" via 127.0.0.1
      Disconnected from "127.0.0.1" via 127.0.0.1
      Target Disconnected.
      Target Disconnected.

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