Could not find CFI complaint flash device

cancel
Showing results for 
Search instead for 
Did you mean: 

Could not find CFI complaint flash device

7,669 Views
Contributor III

While re-programming our KM34Z256VLL7 we get the message 'Could not find CFI compliant flash device".

I tried all options, power cycling, multiple resets, unlock kinetis, etc. but nothing seems to work.

Can anyone please help? Following is a screen shot of the error and also attached is a log file which might help you understand the problem better.

 

199784_199784.JPGcfi_error.JPG

Original Attachment has been moved to: tmp_log.txt.zip

0 Kudos
3 Replies

563 Views
Contributor I

I got the same message and the problem was the MCU not begin correctly set.

Go to Options > Project Settings > MCU

Then click on the "3 dots" to choose the correct Device.

Then close with OK, and it should work.

Please vote up if this answer was useful !

0 Kudos

563 Views
NXP TechSupport
NXP TechSupport

Hi

Sorry for the late reply!

According to the KDS_Release_Notes, it seem's that KM34Z256VLL7 is newly supported in KDS3.2.

support device.png

If you set the Debug Configurations of KDS3.2 like below, will the problem still happen?

KDS JLink Debugger.png

KDS JLink Startup.png

Best Regards,

Robin

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
----------------------------------------------------------------------------------------------------------------------

563 Views
Contributor III

I tried programming the device using a PE micro Universal FX cable. Following is the console log, this might give you some more info on whats happening..

Connection from "127.0.0.1" via 127.0.0.1
Connection from "127.0.0.1" via 127.0.0.1
PE-ERROR: Warning. Can't read registers while part is running.
PE-ERROR: Warning. Can't read registers while part is running.
Telnet server running on 127.0.0.1:51794
Copyright 2012 P&E Microcomputer Systems,Inc.
Command Line :C:\Freescale\KDS_3.0.0\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_2.9.0.201703061630\win32\pegdbserver_console -device=NXP_KMx_KM34Z256M7 -startserver -singlesession -serverport=7224 -gdbmiport=6224 -interface=USBMULTILINK -speed=5000 -p˜


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.9.0.201703061630\win32\gdi\P&E\supportFiles_ARM\NXP\KMx\freescale_km34z256m7_1x32x64k_pflash.arp


Initializing.


Error loading .ARP file : C:\Freescale\KDS_3.0.0\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_2.9.0.201703061630\win32\gdi\P&E\supportFiles_ARM\NXP\KMx\freescale_km34z256m7_1x32x64k_pflash.arp. Set PC and Run Error.
Error loading programming algorithm - load aborted.

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.

0 Kudos