No Flash configured

cancel
Showing results for 
Search instead for 
Did you mean: 

No Flash configured

149 Views
bamdadslr
Contributor II

Hi,

I am trying to use the MCUXpresso GUI Flash Tool to program a LPC4088 chip with my own code. On the board, there exists an external flash drive of 4MB and I am using the NXP LINK2 CMSIS-DAP debug probe. You can find screenshot of the settings that I have:

Pic1.png

Pic2.png

Pic3.png

Now, when I press the run on the flash tool, I get the following error:
Executing flash operation 'Program' (Program file into flash: TEST3.axf) - Fri Jul 22 14:34:13 CDT 2022
Checking MCU info...
Scanning for targets...
Executing flash action...
MCUXpresso IDE RedlinkMulti Driver v11.5 (Apr 7 2022 16:04:36 - crt_emu_cm_redlink.exe build 11)
( 0) Reading remote configuration
Wc(03). No cache support.
Found chip XML file in D:/VELOX/Software/3_Coding_WorkSpace/TEST3/Debug\LPC4088.xml
( 5) Remote configuration complete
Reconnected to existing LinkServer process.
Probe Firmware: LPC-LINK2 CMSIS-DAP V5.361 (NXP Semiconductors)
Serial Number: MSB4IYES
VID:PID: 1FC9:0090
USB Path: \\?\hid#vid_1fc9&pid_0090&mi_00#8&23730db6&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
Using memory from core 0 after searching for a good core
( 30) Emulator Connected
( 40) Debug Halt
( 50) CPU ID
debug interface type = CoreSight DP (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: LPC4088
DAP stride is 4096 bytes (1024 words)
Inspected v.2 On-chip Flash Memory LPC177x_8x_407x_8x_512.cfx
Image 'LPC177x_8x_407x_8x (512K) Apr 11 2022 10:49:09'
( 65) Chip Setup Complete
Connected: was_reset=true. was_stopped=false
( 70) License Check Complete
Loading 'TEST3.axf' ELF 0x00000000 len 0x7C52C
Opening flash driver LPC177x_8x_407x_8x_512.cfx
Sending VECTRESET to run flash driver
Flash device supported (512KB = 16*4K 14*32K at 0x0)
Writing 509228 bytes to address 0x00000000 in Flash
( 0) Mass erasing Flash
Mass erased flash in 113msec
1 of 1 ( 0) Writing sectors 0-29 at 0x00000000 with 509228 bytes
( 0) at 00000000: 0 bytes - 0/509228
( 0) at 00000000: 4096 bytes - 4096/509228
( 1) at 00001000: 4096 bytes - 8192/509228
( 2) at 00002000: 4096 bytes - 12288/509228
( 3) at 00003000: 4096 bytes - 16384/509228
( 4) at 00004000: 4096 bytes - 20480/509228
( 4) at 00005000: 4096 bytes - 24576/509228
( 5) at 00006000: 4096 bytes - 28672/509228
( 6) at 00007000: 4096 bytes - 32768/509228
( 7) at 00008000: 4096 bytes - 36864/509228
( at 00009000: 4096 bytes - 40960/509228
( at 0000A000: 4096 bytes - 45056/509228
( 9) at 0000B000: 4096 bytes - 49152/509228
( 10) at 0000C000: 4096 bytes - 53248/509228
( 11) at 0000D000: 4096 bytes - 57344/509228
( 12) at 0000E000: 4096 bytes - 61440/509228
( 12) at 0000F000: 4096 bytes - 65536/509228
( 13) at 00010000: 4096 bytes - 69632/509228
( 14) at 00011000: 4096 bytes - 73728/509228
( 15) at 00012000: 4096 bytes - 77824/509228
( 16) at 00013000: 4096 bytes - 81920/509228
( 16) at 00014000: 4096 bytes - 86016/509228
( 17) at 00015000: 4096 bytes - 90112/509228
( 18) at 00016000: 4096 bytes - 94208/509228
( 19) at 00017000: 4096 bytes - 98304/509228
( 20) at 00018000: 4096 bytes - 102400/509228
( 20) at 00019000: 4096 bytes - 106496/509228
( 21) at 0001A000: 4096 bytes - 110592/509228
( 22) at 0001B000: 4096 bytes - 114688/509228
( 23) at 0001C000: 4096 bytes - 118784/509228
( 24) at 0001D000: 4096 bytes - 122880/509228
( 24) at 0001E000: 4096 bytes - 126976/509228
( 25) at 0001F000: 4096 bytes - 131072/509228
( 26) at 00020000: 4096 bytes - 135168/509228
( 27) at 00021000: 4096 bytes - 139264/509228
( 28) at 00022000: 4096 bytes - 143360/509228
( 28) at 00023000: 4096 bytes - 147456/509228
( 29) at 00024000: 4096 bytes - 151552/509228
( 30) at 00025000: 4096 bytes - 155648/509228
( 31) at 00026000: 4096 bytes - 159744/509228
( 32) at 00027000: 4096 bytes - 163840/509228
( 32) at 00028000: 4096 bytes - 167936/509228
( 33) at 00029000: 4096 bytes - 172032/509228
( 34) at 0002A000: 4096 bytes - 176128/509228
( 35) at 0002B000: 4096 bytes - 180224/509228
( 36) at 0002C000: 4096 bytes - 184320/509228
( 37) at 0002D000: 4096 bytes - 188416/509228
( 37) at 0002E000: 4096 bytes - 192512/509228
( 38) at 0002F000: 4096 bytes - 196608/509228
( 39) at 00030000: 4096 bytes - 200704/509228
( 40) at 00031000: 4096 bytes - 204800/509228
( 41) at 00032000: 4096 bytes - 208896/509228
( 41) at 00033000: 4096 bytes - 212992/509228
( 42) at 00034000: 4096 bytes - 217088/509228
( 43) at 00035000: 4096 bytes - 221184/509228
( 44) at 00036000: 4096 bytes - 225280/509228
( 45) at 00037000: 4096 bytes - 229376/509228
( 45) at 00038000: 4096 bytes - 233472/509228
( 46) at 00039000: 4096 bytes - 237568/509228
( 47) at 0003A000: 4096 bytes - 241664/509228
( 48) at 0003B000: 4096 bytes - 245760/509228
( 49) at 0003C000: 4096 bytes - 249856/509228
( 49) at 0003D000: 4096 bytes - 253952/509228
( 50) at 0003E000: 4096 bytes - 258048/509228
( 51) at 0003F000: 4096 bytes - 262144/509228
( 52) at 00040000: 4096 bytes - 266240/509228
( 53) at 00041000: 4096 bytes - 270336/509228
( 53) at 00042000: 4096 bytes - 274432/509228
( 54) at 00043000: 4096 bytes - 278528/509228
( 55) at 00044000: 4096 bytes - 282624/509228
( 56) at 00045000: 4096 bytes - 286720/509228
( 57) at 00046000: 4096 bytes - 290816/509228
( 57) at 00047000: 4096 bytes - 294912/509228
( 58) at 00048000: 4096 bytes - 299008/509228
( 59) at 00049000: 4096 bytes - 303104/509228
( 60) at 0004A000: 4096 bytes - 307200/509228
( 61) at 0004B000: 4096 bytes - 311296/509228
( 61) at 0004C000: 4096 bytes - 315392/509228
( 62) at 0004D000: 4096 bytes - 319488/509228
( 63) at 0004E000: 4096 bytes - 323584/509228
( 64) at 0004F000: 4096 bytes - 327680/509228
( 65) at 00050000: 4096 bytes - 331776/509228
( 65) at 00051000: 4096 bytes - 335872/509228
( 66) at 00052000: 4096 bytes - 339968/509228
( 67) at 00053000: 4096 bytes - 344064/509228
( 68) at 00054000: 4096 bytes - 348160/509228
( 69) at 00055000: 4096 bytes - 352256/509228
( 69) at 00056000: 4096 bytes - 356352/509228
( 70) at 00057000: 4096 bytes - 360448/509228
( 71) at 00058000: 4096 bytes - 364544/509228
( 72) at 00059000: 4096 bytes - 368640/509228
( 73) at 0005A000: 4096 bytes - 372736/509228
( 74) at 0005B000: 4096 bytes - 376832/509228
( 74) at 0005C000: 4096 bytes - 380928/509228
( 75) at 0005D000: 4096 bytes - 385024/509228
( 76) at 0005E000: 4096 bytes - 389120/509228
( 77) at 0005F000: 4096 bytes - 393216/509228
( 78) at 00060000: 4096 bytes - 397312/509228
( 78) at 00061000: 4096 bytes - 401408/509228
( 79) at 00062000: 4096 bytes - 405504/509228
( 80) at 00063000: 4096 bytes - 409600/509228
( 81) at 00064000: 4096 bytes - 413696/509228
( 82) at 00065000: 4096 bytes - 417792/509228
( 82) at 00066000: 4096 bytes - 421888/509228
( 83) at 00067000: 4096 bytes - 425984/509228
( 84) at 00068000: 4096 bytes - 430080/509228
( 85) at 00069000: 4096 bytes - 434176/509228
( 86) at 0006A000: 4096 bytes - 438272/509228
( 86) at 0006B000: 4096 bytes - 442368/509228
( 87) at 0006C000: 4096 bytes - 446464/509228
( 88) at 0006D000: 4096 bytes - 450560/509228
( 89) at 0006E000: 4096 bytes - 454656/509228
( 90) at 0006F000: 4096 bytes - 458752/509228
( 90) at 00070000: 4096 bytes - 462848/509228
( 91) at 00071000: 4096 bytes - 466944/509228
( 92) at 00072000: 4096 bytes - 471040/509228
( 93) at 00073000: 4096 bytes - 475136/509228
( 94) at 00074000: 4096 bytes - 479232/509228
( 94) at 00075000: 4096 bytes - 483328/509228
( 95) at 00076000: 4096 bytes - 487424/509228
( 96) at 00077000: 4096 bytes - 491520/509228
( 97) at 00078000: 4096 bytes - 495616/509228
( 98) at 00079000: 4096 bytes - 499712/509228
( 98) at 0007A000: 4096 bytes - 503808/509228
( 99) at 0007B000: 4096 bytes - 507904/509228
(100) at 0007C000: 4096 bytes - 512000/509228
Sectors written: 30, unchanged: 0, total: 30
Wrote sector 0-29 with 509228 bytes in 3906msec
Closing flash driver LPC177x_8x_407x_8x_512.cfx
(100) Finished writing Flash successfully.
Flash Write Done
Loaded 0x7C52C bytes in 4179ms (about 121kB/s)
Loading 'TEST3.axf' ELF 0x28000000 len 0x15A1B8
File 'TEST3.axf' load failure: Ef(11). No flash configured.
Loading 'TEST3.axf' ELF 0x28200000 len 0x18F290
File 'TEST3.axf' load failure: Ef(11). No flash configured.
(100) Target Connection Failed
Unable to perform operation!
Command failed with exit code 1

I would appreciate any help.

Tags (1)
0 Kudos
3 Replies

123 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello,

So do you want to download image to internal  flash or external flash?

And how about first test a simple project to confirm the hardware is no problem.

 

BR

Alice

0 Kudos

114 Views
bamdadslr
Contributor II

Hi Alice_Yang,

Thank you for your response. I want to download it to the external flash. From the console message that I attached to my first message, it seems that the internal flash could be successfully programmed, but not the external one. Is there any sample project for LPC4088 that I can try to verify the hardware is working and see how to manage it?

Thanks.

0 Kudos

100 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello,

From your screenshot, it seems you use both internal and external flash, I don't think the IDE can download both flash at the same time. How about create a project only use external flash, and use  flash driver "LPC40xx_SPIFI_GENERIC.cfx" do download, also delete the internal flash:

Alice_Yang_0-1658914425560.png

 

There is demo under LPCopen, while they all use internal flash, you can change base on them.

BR

Alice

 

0 Kudos