MCUXpresso No data was programmed in FLASH

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MCUXpresso No data was programmed in FLASH

Jump to solution
1,540 Views
pietrodicastri
Senior Contributor II

Hi

I am trying to program the TWR-K20D72M board with the JTAG, using the flasj tool in MCUXpresso.

I load the elf file and that's the message on the console

Executing flash operation 'Program' (Program file into flash: uV1.4.elf) - Mon Feb 01 06:45:36 CET 2021
Checking MCU info...
Scanning for targets...
Executing flash action...
P&E GDB Server for Arm(R) devices, Version 8.35.00.00
Copyright 2018, P&E Microcomputer Systems Inc, All rights reserved
Loading library C:\MXP\MCUXpressoIDE_11.3.0_5222\ide\plugins\com.pemicro.debug.gdbjtag.pne_4.8.5.202101062027\win32\gdi\unit_ngs_arm_internal.dll ... Done.
Command line arguments: -interface=USBMULTILINK -port=USB1 -speed=5000 -flashobjectfile=C:\PietroWorks\ClimbRobot\FromJonas\uTaskerV1.4.elf -device=NXP_K2x_K20DX256M10 -programmingtype=0 -runafterprogramming -startserver -singlesession -quitafterprogramming
Device selected is NXP_K2x_K20DX256M10
User Specified Hardware Selection : Interface=USBMULTILINK and Port=USB1
Connecting to target.
P&E Interface detected - Flash Version 6.15
Soft reset failed!
Device is Secure.
Device is secured. Erasing ...
Device is NXP_K2x_K20DX256M10.
Mode is In-Circuit Debug.
(C)opyright 2012, P&E Microcomputer Systems, Inc. (www.pemicro.com)
API version is 101
TARGET XML PATH is C:\MXP\MCUXpressoIDE_11.3.0_5222\ide\plugins\com.pemicro.debug.gdbjtag.pne_4.8.5.202101062027\win32\gdi\P&E\supportFiles_ARM\target_v7m_no_vfp.xml
USING FREERTOS CORTEX-M V6 (NO FPU) DRIVERS
Server 1 running on 127.0.0.1:7224
Server 2 running on 127.0.0.1:7226
Server 3 running on 127.0.0.1:7228
Server 4 running on 127.0.0.1:7230
Server 5 running on 127.0.0.1:7232
Server 6 running on 127.0.0.1:7234
Server 7 running on 127.0.0.1:7236
Server 8 running on 127.0.0.1:7238
Server 9 running on 127.0.0.1:7240
Server 10 running on 127.0.0.1:7242
Warning: No data was programmed in FLASH
All Servers Running
Target Disconnected.

 

What's there??

Thank You for help

Pietro

 

0 Kudos
1 Solution
1,516 Views
ErichStyger
Senior Contributor V

Hi Pietro,

if you created the project for the wrong processor type, it is much easier and simpler if you create a new project for the correct processor than tweaking an existing one. You would have to change project defines, project settings up to changing settings in project files referencing the SDK.

Create a new fresh project and copy your own source files over.

 

View solution in original post

0 Kudos
4 Replies
1,538 Views
ErichStyger
Senior Contributor V

Just asking and checking if the hardware/connection works fine otherwise.

are you able to debug that board using the normal 'blue' debug button?

or does this fail too?

0 Kudos
1,522 Views
pietrodicastri
Senior Contributor II

Hi Erich

I am giving up for the moment.

I will need a fresh mind. Now I am tired to analize this. Whatever it is it needs to be simple.

Thank You

 

Pietro

0 Kudos
1,526 Views
pietrodicastri
Senior Contributor II

Hei Erich

It seems I need to change manually the processor type to the VLL7 on the board. 
I tried to launch the blue button is another disaster.

For now I would like to focus on the programming... The file I am using is working on another machine I cannot access now. So I need at least to reply the result here.

Suggest me how to change manually the processor type to the VLL/

Thank You

Pietro

 

 

0 Kudos
1,517 Views
ErichStyger
Senior Contributor V

Hi Pietro,

if you created the project for the wrong processor type, it is much easier and simpler if you create a new project for the correct processor than tweaking an existing one. You would have to change project defines, project settings up to changing settings in project files referencing the SDK.

Create a new fresh project and copy your own source files over.

 

0 Kudos