GUI Flash Tool programming external flash

Showing results for 
Search instead for 
Did you mean: 

GUI Flash Tool programming external flash

Contributor II



I am using MCUXpresso to program a LPC4088 using Multilink Universal Rev C probe. I am using the GUI Flash tool to do the programming. I have two questions:

1. Does the Flash tool also program the external flash? it happens so fast that make me wonder about this. if the answer is No, then how I would program the external flash? This is the message in the console for your reference:

Executing flash operation 'Program' (Program file into flash: TEST3.axf) - Tue Jul 12 09:06:34 CDT 2022
Checking MCU info...
Scanning for targets...
Executing flash action...
P&E GDB Server for Arm(R) devices, Version
Copyright 2018, P&E Microcomputer Systems Inc, All rights reserved
Loading library C:\nxp\MCUXpressoIDE_11.5.1_7266\ide\plugins\com.pemicro.debug.gdbjtag.pne_5.2.0.202203211842\win32\gdi\unit_ngs_arm_internal.dll ... Done.
Command line arguments: -interface=USBMULTILINK -port=USB1 -speed=5000 -flashobjectfile=D:\VELOX\Software\3_Coding_WorkSpace\TEST3\Debug\TEST3.axf -device=NXP_LPC40xx_LPC4088 -programmingtype=0 -runafterprogramming -startserver -singlesession -quitafterprogramming
Device selected is NXP_LPC40xx_LPC4088
User Specified Hardware Selection : Interface=USBMULTILINK and Port=USB1
Connecting to target.
Unable to load libusb0.dll
PEmicro Interface detected - Flash Version 10.84
Device is NXP_LPC40xx_LPC4088.
Mode is In-Circuit Debug.
(C)opyright 2012, P&E Microcomputer Systems, Inc. (
API version is 101
TARGET XML PATH is C:\nxp\MCUXpressoIDE_11.5.1_7266\ide\plugins\com.pemicro.debug.gdbjtag.pne_5.2.0.202203211842\win32\gdi\P&E\supportFiles_ARM\target_v7m_vfp.xml
Server 1 running on
Server 2 running on
Server 3 running on
Server 4 running on
Server 5 running on
Server 6 running on
Server 7 running on
Server 8 running on
Server 9 running on
Server 10 running on
Unable to load libusb0.dll
Copyright 2022 P&E Microcomputer Systems,Inc.
Command Line :C:\nxp\MCUXpressoIDE_11.5.1_7266\ide\plugins\com.pemicro.debug.gdbjtag.pne_5.2.0.202203211842\win32\pegdbserver_console -interface=USBMULTILINK -port=USB1 -speed=5000 -flashobjectfile=D:\VELOX\Software\3_Coding_WorkSpace\TEST3\Debug\TEST3.aP
PEmicro Interface detected - Flash Version 10.84
Target has been RESET and is active.
CMD>CM C:\nxp\MCUXpressoIDE_11.5.1_7266\ide\plugins\com.pemicro.debug.gdbjtag.pne_5.2.0.202203211842\win32\gdi\P&E\supportFiles_ARM\NXP\LPC40xx\NXP_LPC4088_1x32x128k.arp
;version 1.10, 11/04/2014, Copyright 2014 P&E Microcomputer Systems, Inc. All rights reserved. [lpc_178x_177x_40xx_512]
;device NXP, LPC4088, 1x32x128k
;begin_cs device=$0000000, length=$00080000, ram=$10000000
Loading programming algorithm ...
WARNING - Selected .ARP file has been modified. CRC16 = $2903

Programming sequency is : erase, blank check, program, and verify {default}
Verifying object file CRC-16 to device ranges ...
block 00000000-0000001B ...

block 00000020-0007C643 ...

Checksum Verification Successful. (Cumulative CRC-16=$7D8B)
Application verified in memory. No need to reprogram.
Invalid command parameter:
All Servers Running
Target Disconnected.


2. When trying to debug my code, I get errors on different routines that are defined as __attribute to those external flash areas. They cause different type of hard faults, like access violation or coprocessor access error. When I remove the __attribute, there is no error on those routines.  So it seems there is something wrong accessing the external flash. 

I would appreciate any help.

0 Kudos
1 Reply

NXP TechSupport
NXP TechSupport


If you want to download image to external flash, pay attention configure external flash memory ,

also choose flash driver "LPC40xx_SPIFI_GENERIC.cfx".












0 Kudos