Hi Con Verse
Initially it was programming when it was powered through JTag, but then when I put the RC circuit on REset as per the schematic of OM13088 it stopped debugging Even after powered Through JTag,
While debugging I am getting Follwing Error and the debugging stops while launching
MCUXpresso IDE RedlinkMulti Driver v10.3 (Nov 28 2018 02:33:57 - crt_emu_cm_redlink build 748)
Found chip XML file in D:/GAURAV MORE/PROJECTS/NEW FEEDER RELAY/ESE/Code/CPU/MCUXpresso/March2019/ESE_F4_CPU_04Mar19/NFR_M4/Debug\LPC4367.xml
Reconnected to existing link server
Connecting to probe 1 core 0 (using server started externally) gave 'OK'
Probe Firmware: LPC-LINK2 CMSIS-DAP V5.224 (NXP Semiconductors)
Serial Number: HQA2BQEQ
VID:PID: 1FC9:0090
USB Path: \\?\hid#vid_1fc9&pid_0090&mi_00#8&215c9953&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 4BA00477) over JTAG 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: 4BA00477. CpuID: 00000C24. Info: <None>
Debug protocol: JTAG. 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: LPC4367
DAP stride is 4096 bytes (1024 words)
Inspected v.2 On-chip Flash Memory LPC18x7_43x7_2x512_BootA.cfx
Image 'LPC18x7/LPC43x7 2x512KB (Boot Bank A) Oct 25 2018 11:58:16'
( 65) Chip Setup Complete
Connected: was_reset=true. was_stopped=false
Awaiting telnet connection to port 3333 ...
GDB nonstop mode enabled
Opening flash driver LPC18x7_43x7_2x512_BootA.cfx
Sending VECTRESET to run flash driver
There was a problem after we succesfully downloaded flash driver code to the target, so we are going to compare the flash driver code with the memory where it was loaded.
Note that, after driver initialization, some difference is normal in 'generic' drivers.
Driver from AXF file:
10000184: f104682b 47980118 b96069a0 3000f8d8 +h.....G.i`....0
10000194: 9000e9c4 3703e9c4 462060a6 f104682b .......7.` F+h..
100001A4: 47980118 e8bd69a0 bf0083f8 100003b8 ...G.i..........
100001B4: 10400100 100003b4 41f0e92d f7ff4607 ..@.....-..A.F..
100001C4: 280eff8d d8424680 4c222335 5fd8f1b7 ...(.FB.5#"L..._
100001D4: 3000e9c4 2300bf34 39012301 60e3180d ...04..#.#.9...`
100001E4: 4b1e4e1d f1a660a5 681b0018 47984631 .N.K.`.....h1F.G
100001F4: 280869a0 2332d129 5fd8f1b7 3c18f846 .i.().2#..._F..<
10000204: 2300bf34 e9c42301 60e38501 4b134912 4..#.#.....`.I.K
10000214: 0018f1a1 4798681b b9b069a0 f8462334 .....h.G.i..4#F.
10000224: 4b0f3c18 5fd8f1b7 e9c4681b 60e38501 .<.K..._.h.....`
10000234: 2301bf28 bf284908 4b086123 6120bf38 (..#.I(.#a.K8. a
10000244: f1a1681b 47980018 e8bd69a0 200181f0 .h.....G.i.....
10000254: bf00e7fb 100003b8 100003d0 10400100 ..............@.
10000264: 100003b4 47f0e92d 460e4605 46074690 ....-..G.F.F.F.F
10000274: f8df4c2b 463890b8 ff30f7ff d84d280e +L....8F..0..(M.
10000284: f1b52332 e9c45fd8 bf343000 23012300 2#..._...04..#.#
10000294: 60a04924 f1a160e3 f8d90018 47983000 $I.`.`.......0.G
100002A4: 280069a0 2333d136 3700e9c4 0305eba8 .i.(6.3#...7....
100002B4: 60a3443b 5380f44f 60e34a1b f1b56813 ;D.`O..S.J.`.h..
100002C4: 61235fd8 2301bf28 bf344916 61636160 ._#a(..#.I4.`aca
100002D4: 0018f1a1 3000f8d9 47984692 b9c869a0 .......0.F.G.i..
100002E4: 5f80f5b6 f44fbf38 f5b65680 f5075080 ..._8.O..V...P..
100002F4: d1115780 5fd0f1b5 233cd10c 3000e9c4 .W....._..<#...0
10000304: 3000f8da 60a34907 0018f1a1 3000f8d9 ...0.I.`.......0
10000314: 69a04798 87f0e8bd e7ac4606 e7f92001 .G.i.....F... ..
10000324: 100003b8 100003d0 100003b4 10400100 ..............@.
10000334: 7380f020 5fd0f1b3 4606b570 4614460d ..s..._p..F.F.F
10000344: 221cd111 f0004621 b108f811 bd70200a ..."!F....... p.
10000354: 0220f1a5 0120f104 0020f106 f806f000 .. ... ... .....
10000364: d0f42800 460ae7f2 e7f74621 0301ea40 .(.....F!F..@...
10000374: b570079b 4604d10c 2a03460b 46204619 ..p....F.F.*.F F
10000384: 6806d906 3404680d f10342ae d0040304 ...h.h.4.B......
10000394: 4291440a 2000d103 3a04e008 f810e7ed .D.B... ...:....
100003A4: f8113b01 42a34b01 1b18d0f3 0000bd70 .;...K.B....p...
100003B4: 00000000 00000000 00000000 00000000 ................
100003C4: 00000000 00000000 00000000 00000000 ................
100003D4: 00000000 00000000 ........
Driver code in memory:
10000184: 00000007 00000007 00000007 00010001 ................
10000194: 90000001 3703e9c4 462060a6 f104682b .......7.` F+h..
100001A4: 47980118 e8bd69a0 bf0083f8 100003b8 ...G.i..........
100001B4: 10400100 100003b4 41f0e92d f7ff4607 ..@.....-..A.F..
100001C4: 280eff8d d8424680 4c222335 5fd8f1b7 ...(.FB.5#"L..._
100001D4: 3000e9c4 2300bf34 39012301 60e3180d ...04..#.#.9...`
100001E4: 4b1e4e1d f1a660a5 681b0018 47984631 .N.K.`.....h1F.G
100001F4: 280869a0 2332d129 5fd8f1b7 3c18f846 .i.().2#..._F..<
10000204: 2300bf34 e9c42301 60e38501 4b134912 4..#.#.....`.I.K
10000214: 0018f1a1 4798681b b9b069a0 f8462334 .....h.G.i..4#F.
10000224: 4b0f3c18 5fd8f1b7 e9c4681b 60e38501 .<.K..._.h.....`
10000234: 2301bf28 bf284908 4b086123 6120bf38 (..#.I(.#a.K8. a
10000244: f1a1681b 47980018 e8bd69a0 200181f0 .h.....G.i.....
10000254: bf00e7fb 100003b8 100003d0 10400100 ..............@.
10000264: 100003b4 47f0e92d 460e4605 46074690 ....-..G.F.F.F.F
10000274: f8df4c2b 463890b8 ff30f7ff d84d280e +L....8F..0..(M.
10000284: f1b52332 e9c45fd8 bf343000 23012300 2#..._...04..#.#
10000294: 60a04924 f1a160e3 f8d90018 47983000 $I.`.`.......0.G
100002A4: 280069a0 2333d136 3700e9c4 0305eba8 .i.(6.3#...7....
100002B4: 60a3443b 5380f44f 60e34a1b f1b56813 ;D.`O..S.J.`.h..
100002C4: 61235fd8 2301bf28 bf344916 61636160 ._#a(..#.I4.`aca
100002D4: 0018f1a1 3000f8d9 47984692 b9c869a0 .......0.F.G.i..
100002E4: 5f80f5b6 f44fbf38 f5b65680 f5075080 ..._8.O..V...P..
100002F4: d1115780 5fd0f1b5 233cd10c 3000e9c4 .W....._..<#...0
10000304: 3000f8da 60a34907 0018f1a1 3000f8d9 ...0.I.`.......0
10000314: 69a04798 87f0e8bd e7ac4606 e7f92001 .G.i.....F... ..
10000324: 100003b8 100003d0 100003b4 10400100 ..............@.
10000334: 7380f020 5fd0f1b3 4606b570 4614460d ..s..._p..F.F.F
10000344: 221cd111 f0004621 b108f811 bd70200a ..."!F....... p.
10000354: 0220f1a5 0120f104 0020f106 f806f000 .. ... ... .....
10000364: d0f42800 460ae7f2 e7f74621 0301ea40 .(.....F!F..@...
10000374: b570079b 4604d10c 2a03460b 46204619 ..p....F.F.*.F F
10000384: 6806d906 3404680d f10342ae d0040304 ...h.h.4.B......
10000394: 4291440a 2000d103 3a04e008 f810e7ed .D.B... ...:....
100003A4: f8113b01 42a34b01 1b18d0f3 0000bd70 .;...K.B....p...
100003B4: 00000000 00000000 00000000 00000000 ................
100003C4: 00000000 00000000 00000000 00000000 ................
100003D4: 00000000 00000000 ........
(100) Writing Flash ended with an error.
Target error from Write Flash: Ef(50): Flash driver failed to initialize
GDB stub (crt_emu_cm_redlink) terminating - GDB protocol problem: Pipe has been closed by GDB.
What would be the reson as I am also refering the forum
https://community.nxp.com/thread/491549
But still no success, Please let me know what is missing.
Thanks
Gaurav More