Hi,
I have a problem with the board FRDM-K28FA in MCUXpresso 11.0.0 when I try to debug anything:
The ide connect to the k28 with the frdm integrated probe, and after generate me this error:
MCUXpresso IDE RedlinkMulti Driver v11.0 (May 22 2019 13:46:40 - crt_emu_cm_redlink build 6) Found part description in XML file MK28FA15_internal.xml Reconnected to existing LinkServer process. ============= SCRIPT: kinetisconnect.scp ============= Kinetis Connect Script Connecting to Probe Index = 1 This probe = 1 This TAP = 0 This core = 0 DpID = 2BA01477 Assert NRESET Reset pin state: 00 Power up Debug MDM-AP APID: 0x001C0000 MDM-AP System Reset/Hold Reset/Debug Request MDM-AP Control: 0x0000001C MDM-AP Status (Flash Ready) : 0x00000032 Part is not secured MDM-AP Control: 0x00000014 Release NRESET Reset pin state: 01 MDM-AP Control (Debug Request): 0x00000004 MDM-AP Status: 0x0001003A MDM-AP Core Halted ============= END SCRIPT ============================= Probe Firmware: DAPLink CMSIS-DAP (ARM) Serial Number: 0224000032044e450022700a997b00516781000097969900 VID:PID: 0D28:0204 USB Path: \\?\hid#vid_0d28&pid_0204&mi_03#7&4be9564&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030} Using memory from core 0 after searching for a good core debug interface type = Cortex-M3/4 (DAP DP ID 2BA01477) over SWD TAP 0 processor type = Cortex-M4 (CPU ID 00000C24) on DAP AP 0 number of h/w breakpoints = 6 number of flash patches = 2 number of h/w watchpoints = 4 Probe(0): Connected&Reset. DpID: 2BA01477. CpuID: 00000C24. Info: <None> Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled. Content of CoreSight Debug ROM(s): RBASE E00FF000: CID B105100D PID 04000BB4C4 ROM (type 0x1) ROM 1 E000E000: CID B105E00D PID 04000BB00C Gen SCS (type 0x0) ROM 1 E0001000: CID B105E00D PID 04003BB002 Gen DWT (type 0x0) ROM 1 E0002000: CID B105E00D PID 04002BB003 Gen FPB (type 0x0) ROM 1 E0000000: CID B105E00D PID 04003BB001 Gen ITM (type 0x0) ROM 1 E0040000: CID B105900D PID 04000BB9A1 CSt TPIU type 0x11 Trace Sink - TPIU ROM 1 E0041000: CID B105900D PID 04000BB925 CSt ETM type 0x13 Trace Source - Core NXP: MK28FN2M0Axxx15 DAP stride is 4096 bytes (1024 words) can't find a flash driver called ''
Anyone can help me?
Best regards,
Pietro
I have a similar problem with the MIMXRT1010 EVK Board, which just arrived in the mail. Debugging the hello_world example fails with the message: can't find a flash driver called 'MIMXRT1010_SFDP_QSPI.cfx'
Indeed, there is no file named like this in the workspace.
The flash driver ought to be in the directory:
D:\Documents\MCUXpresso\workspace\.mcuxpressoide_packages_support\MIMXRT1011xxxxx_support\Flash
but it is empty. (Maybe the unusual location of the Documents folder caused the driver installation to fail, but it should not have.)
How can I get the flash driver?
The driver you're referencing should be in <MCUXpresso>/ide/binaries/Flash. Would you please post a screenshot with the error message?
Greetings,
MCUXpresso IDE Support
Out of desperation, I reinstalled MCUXpresso, to the same directories - even though "Check for Updates" found no updates. Fortunately, all of my projects stayed intact. The missing flash driver appeared, and everything works now. The problem was that the "no updates found" message let me believe that I had the latest IDE version.
Hi Pietro,
K28's flash driver is FTFE_4K.cfx. You can set it in Properties->MCU Setting. But if you use SDK examples, it should be set already.
Regards,
Jing
Hi Jing,
Thanks for your answare, I tryed yous solution but I still have the problem.
I try to add some details of my error, with some screen capture.
I do a clean install of all chain (mcuxpresso 11, code generator 6 and 2.6.0 SDK).
I added che cfx file at the exemple import and also inside the project.
Still I found the same error.
I tried a to install mcuxpresso 10.3, always with code generator 6 and 2.6.0 SDK, and I still found the same error
Best regards,
Pietro De Ponte
Hi,
The problem is here
It should looks like --flash-driver= FTFE_4k.cfx
But I'm not sure why. Would you please try to change the assign place to here
I also attached my example, you can try it.
If it still not work, you can check the directory's access right, or reinstall MCUXpresso.
Regards,
Jing
Thanks Jing,
It's works fine.
Best regards,
Pietro