Cart New Account Login

HomeAbout usProductsSupportForumsBlogCustomer Service


Please accept the use of cookies on our site

At PEmicro we use web browser cookies in order to provide you with an enhanced experience and in order to be able to do things like shopping cart processing and identify you when you login to our website.

Click here to accept



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

  • 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.

    • Hi, here is the another same problem with this kind of Issue.

      I am using S32 design studio and openSDA debudder to dubug sample application. It worked for 2 3 hours and after that the board is giving problem to load the programme.

      It is stucks at verification of block. have a look at screen shot.







      Connection from "127.0.0.1" via 127.0.0.1
      Copyright 2017 P&E Microcomputer Systems,Inc.
      Command Line :C:\NXP\S32DS_Power_v2017.R1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.7.2.201709281658\win32\pegdbserver_power_console -device=MPC5748G -startserver -singlesession -serverport=7224 -gdbmiport=6224 -interface=OPENSDA -speed=5000 -resetÌ

      CMD>RE

      Initializing.
      MPC574xC Device detected.
      Target has been RESET and is active.
      CMD>CM C:\NXP\S32DS_Power_v2017.R1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.7.2.201709281658\win32\gdi\P&E\nxp_mpc5748g_1x32x1520k_cflash.pcp

      Initializing.
      MPC574xC Device detected.
      Initialized.

      ;version 1.05, 06/26/2017, Copyright P&E Microcomputer Systems, www.pemicro.com [5748G_6080k]

      ;device NXP, MPC5748G, 1x32x1520k, desc=CFlash

      ;begin_cs device=$00F90000, length=$005F0000, ram=$40000000

      Loading programming algorithm ...

      WARNING - Selected .PCP file has been modified. CRC16 = $5A63
      Done.
      CMD>VC
      Verifying object file CRC-16 to device ranges ...
      block 00FA0000-00FA0007 ...

Add comment


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







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