AnsweredAssumed Answered

QN9090 flash for LPC-LINK2 GUI Flash tool

Question asked by Seungyeob Yi on May 7, 2020
Latest reply on May 18, 2020 by Mario Ignacio Castaneda Lopez

I am trying to Flahs Binary to QN9090 using LPC-link2.

An error message is output and flashing is not possible.
I need help.

I don't know what is matter.

i attached imaga.


MCUXpressoIDE version : MCUXpressolIDE_11.0.1_2563

SDK : SDK_2.6.0_QN9090




[ console message ] 

Executing flash operation 'Program' (Program file into flash: UWBT-ManufTestsFW.bin) - Fri May 08 10:04:41 KST 2020
Checking MCU info...
Scanning for targets...
Executing flash action...
MCUXpresso IDE RedlinkMulti Driver v11.0 (Aug 27 2019 16:46:33 - crt_emu_cm_redlink.exe build 22)
( 0) Reading remote configuration
Wc(03). No cache support.
Found part description in XML file QN9090_internal.xml
( 5) Remote configuration complete
Reconnected to existing LinkServer process.
Using memory from core 0 after searching for a good core
( 30) Emulator Connected
( 40) Debug Halt
( 50) CPU ID
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 04000BB000 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
NXP: QN9090
DAP stride is 4096 bytes (1024 words)
Inspected v.2 On-chip Flash Memory QN9090_640K.cfx
Image 'JN518x Internal Flash Aug 13 2018 11:01:24'
( 65) Chip Setup Complete
Connected: was_reset=true. was_stopped=false
( 70) License Check Complete
Loading 'UWBT-ManufTestsFW.bin' Binary 0x00000000 len 0x7EB24
Opening flash driver QN9090_640K.cfx
Sending VECTRESET to run flash driver
AFTER driver startup timeout (302 5ms retries)
Driver Addresses
Start: 04000000
Entry: 04000035
End: 040003A8
Stack: 040043A8
Driver Register State
R0: 040063A8
R1: 00000000
R2: 00000000
R3: 00000000
R4: 00000000
R5: 00000000
R6: 00000000
R7: 00000000
R8: 00000000
R9: 00000000
R10: 00000000
R11: 00000000
R12: 00000000
SP: 04004388
LR: FFFFFFF9 (exception from main thread)
xPSR: 01000003
MSP: 04004388
PSP: 040043A8
CFBP: 00000001 (CONTROL=0x0, FAULTMASK=0x0, BASEPRI=0x0, PRIMASK=0x1)
Stacked Exception information at MSP
040043A4: xPSR: 01000000
040043A0: VECTPC: 04000034
0400439C: LR: 04000035
04004398: R12: 00000000
04004394: R3: 00000000
04004390: R2: 00000000
0400438C: R1: 00000000
04004388: R0: 040063A8
Exception registers
E000ED04: ICSR: 00000803 (VECTPEND=0(none), RETTOBASE, VECTACTIVE=3(hard fault))
E000ED08: VTOR: 00000000 TBLBASE=0(INCODE), TBLOFF=0x0
E000ED29: BFSR: 00
E000ED2A: UFSR: 0000
E000ED2C: HFSR: 00000002 (VECTBL)
E000ED30: DFSR: 00000001 (HALTED)
E000ED3C: AFSR: 00000000
E000ED24: SHCSR: 00000000
E000ED34: MMAR: E000EDF8
E000ED38: BFAR: E000EDF8
E000EDFC: DEMCR: 01000000 (TRCENA)
VECTPC instructions near 01000000
00FFFFFC: (can't read - Nn(05). Wire ACK Fault in DAP access)
00FFFFFE: (can't read)
Flash Driver V.2 startup failed - rc Ef(34): Timed-out initializing flash.
(100) Writing Flash ended with an error.
File 'UWBT-ManufTestsFW.bin' load failure: Ef(34): Timed-out initializing flash.
(100) Target Connection Failed
Unable to perform operation!



Please solve this problem.