Failed to perform FX3 Debug through J-Link

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
ChRO_4339966
Level 3
Level 3

Hello,

I am trying to perform FX3 Debug through Segger J-Link module.

I followed EzUsbSuite_UG.pdf recommandations and most of the process is OK.

I then face following error message from Eclipse :

"Error in final launch sequence

Failed to execute MI command:

symbol-file C:\\Users\\XXX\\dev\\en_cours\\directC\\FX3\\Debug\\katsu.elf

Error message from debugger back end:

value has been optimized out

value has been optimized out

"

Can you help ?

Thanks for support

Below is Eclipse log

********************************

SEGGER J-Link GDB Server V6.70 Command Line Version

JLinkARM.dll V6.70 (DLL compiled Mar 27 2020 14:35:04)

Command line: -if jtag -device ARM9 -endian little -speed 1000 -port 2331 -swoport 2332 -telnetport 2333 -vd -ir -localhostonly 1 -s

-----GDB Server start settings-----

GDBInit file:                  none

GDB Server Listening port:     2331

SWO raw output listening port: 2332

Terminal I/O port:             2333

Accept remote connection:      localhost only

Generate logfile:              off

Verify download:               on

Init regs on start:            on

Silent mode:                   off

Single run mode:               on

Target connection timeout:     0 ms

------J-Link related settings------

J-Link Host interface:         USB

J-Link script:                 none

J-Link settings file:          none

------Target related settings------

Target device:                 ARM9

Target interface:              JTAG

Target interface speed:        1000kHz

Target endian:                 little

Connecting to J-Link...

J-Link is connected.

Firmware: J-Link V10 compiled Mar 19 2020 11:10:39

Hardware: V10.10

S/N: 260105459

OEM: SEGGER-EDU

Feature(s): FlashBP, GDB

Checking target voltage...

Target voltage: 2.40 V

Listening on TCP/IP port 2331

Connecting to target...

J-Link found 1 JTAG device, Total IRLen = 4

JTAG ID: 0x07926069 (ARM9)

Connected to target

Waiting for GDB connection...Connected to 127.0.0.1

Reading all registers

Read 1 bytes @ address 0x00000000 (Data = 0xB4)

Read 1 bytes @ address 0x00000000 (Data = 0xB4)

Reading 64 bytes @ address 0x00000000

Received monitor command: speed 1000

Target interface speed set to 1000 kHz

Received monitor command: clrbp

Received monitor command: reset

WARNING: PC of target system has unexpected value of 0xF01386D0 after reset.

Resetting target

Received monitor command: halt

Halting target CPU...

...Target halted (PC = 0x00000000)

Received monitor command: regs

PC = 00000000, CPSR = 000000D3 (SVC mode, ARM FIQ dis. IRQ dis.)

R0 = 00000000, R1 = 00000000, R2 = 00000000, R3 = 00000000

R4 = 00000000, R5 = 00000000, R6 = 00000000, R7 = 00000000

USR: R8 =00000000, R9 =00000000, R10=00000000, R11 =00000000, R12 =00000000

     R13=00000000, R14=00000000

FIQ: R8 =00000000, R9 =00000000, R10=00000000, R11 =00000000, R12 =00000000

     R13=00000000, R14=00000000, SPSR=00000010

SVC: R13=00000000, R14=00000000, SPSR=00000010

ABT: R13=00000000, R14=00000000, SPSR=00000010

IRQ: R13=00000000, R14=00000000, SPSR=00000010

UND: R13=00000000, R14=00000000, SPSR=00000010

Reading all registers

Received monitor command: speed auto

Select auto target interface speed (7827 kHz)

Received monitor command: flash breakpoints 0

Flash breakpoints disabled

Read 1 bytes @ address 0x00000000 (Data = 0xB4)

Downloading 9512 bytes @ address 0x00000100 - Verified OK

Downloading 16304 bytes @ address 0x40003000 - Verified OK

Downloading 16288 bytes @ address 0x40006FB0 - Verified OK

Downloading 15244 bytes @ address 0x4000AF50 - Verified OK

Downloading 228 bytes @ address 0x4000EADC - Verified OK

Downloading 332 bytes @ address 0x4000EBC0 - Verified OK

Downloading 452 bytes @ address 0x4000ED0C - Verified OK

Downloading 240 bytes @ address 0x4000EED0 - Verified OK

Downloading 216 bytes @ address 0x4000EFC0 - Verified OK

Downloading 132 bytes @ address 0x4000F098 - Verified OK

Downloading 16 bytes @ address 0x4000F11C - Verified OK

Downloading 16 bytes @ address 0x4000F12C - Verified OK

Downloading 160 bytes @ address 0x4000F13C - Verified OK

Downloading 92 bytes @ address 0x4000F1DC - Verified OK

Downloading 232 bytes @ address 0x4000F238 - Verified OK

Downloading 212 bytes @ address 0x4000F320 - Verified OK

Downloading 68 bytes @ address 0x4000F3F4 - Verified OK

Downloading 80 bytes @ address 0x4000F438 - Verified OK

Downloading 536 bytes @ address 0x4000F488 - Verified OK

Downloading 80 bytes @ address 0x4000F6A0 - Verified OK

Downloading 404 bytes @ address 0x4000F6F0 - Verified OK

Downloading 92 bytes @ address 0x4000F884 - Verified OK

Downloading 280 bytes @ address 0x4000F8E0 - Verified OK

Downloading 240 bytes @ address 0x4000F9F8 - Verified OK

Downloading 444 bytes @ address 0x4000FAE8 - Verified OK

Downloading 68 bytes @ address 0x4000FCA4 - Verified OK

Downloading 172 bytes @ address 0x4000FCE8 - Verified OK

Downloading 544 bytes @ address 0x4000FD94 - Verified OK

Downloading 552 bytes @ address 0x4000FFB4 - Verified OK

Downloading 324 bytes @ address 0x400101DC - Verified OK

Downloading 16 bytes @ address 0x40010320 - Verified OK

Downloading 304 bytes @ address 0x40010330 - Verified OK

Downloading 132 bytes @ address 0x40010460 - Verified OK

Downloading 84 bytes @ address 0x400104E4 - Verified OK

Downloading 752 bytes @ address 0x40010538 - Verified OK

Downloading 152 bytes @ address 0x40010828 - Verified OK

Downloading 620 bytes @ address 0x400108C0 - Verified OK

Downloading 1016 bytes @ address 0x40010B2C - Verified OK

Downloading 180 bytes @ address 0x40010F24 - Verified OK

Downloading 212 bytes @ address 0x40010FD8 - Verified OK

Downloading 436 bytes @ address 0x400110AC - Verified OK

Downloading 820 bytes @ address 0x40011260 - Verified OK

Downloading 288 bytes @ address 0x40011594 - Verified OK

Downloading 140 bytes @ address 0x400116B4 - Verified OK

Downloading 248 bytes @ address 0x40011740 - Verified OK

Downloading 100 bytes @ address 0x40011838 - Verified OK

Downloading 436 bytes @ address 0x4001189C - Verified OK

Downloading 220 bytes @ address 0x40011A50 - Verified OK

Downloading 416 bytes @ address 0x40011B2C - Verified OK

Downloading 492 bytes @ address 0x40011CCC - Verified OK

Downloading 544 bytes @ address 0x40011EB8 - Verified OK

Downloading 236 bytes @ address 0x400120D8 - Verified OK

Downloading 304 bytes @ address 0x400121C4 - Verified OK

Downloading 420 bytes @ address 0x400122F4 - Verified OK

Downloading 268 bytes @ address 0x40012498 - Verified OK

Downloading 276 bytes @ address 0x400125A4 - Verified OK

Downloading 220 bytes @ address 0x400126B8 - Verified OK

Downloading 52 bytes @ address 0x40012794 - Verified OK

Downloading 104 bytes @ address 0x400127C8 - Verified OK

Downloading 412 bytes @ address 0x40012830 - Verified OK

Downloading 128 bytes @ address 0x400129CC - Verified OK

Downloading 16 bytes @ address 0x40012A4C - Verified OK

Downloading 576 bytes @ address 0x40012A5C - Verified OK

Downloading 228 bytes @ address 0x40012C9C - Verified OK

Downloading 664 bytes @ address 0x40012D80 - Verified OK

Downloading 108 bytes @ address 0x40013018 - Verified OK

Downloading 152 bytes @ address 0x40013084 - Verified OK

Downloading 336 bytes @ address 0x4001311C - Verified OK

Downloading 152 bytes @ address 0x4001326C - Verified OK

Downloading 1168 bytes @ address 0x40013304 - Verified OK

Downloading 44 bytes @ address 0x40013794 - Verified OK

Downloading 244 bytes @ address 0x400137C0 - Verified OK

Downloading 192 bytes @ address 0x400138B4 - Verified OK

Downloading 156 bytes @ address 0x40013974 - Verified OK

Downloading 64 bytes @ address 0x40013A10 - Verified OK

Downloading 156 bytes @ address 0x40013A50 - Verified OK

Downloading 960 bytes @ address 0x40013AEC - Verified OK

Downloading 1536 bytes @ address 0x40013EAC - Verified OK

Downloading 1516 bytes @ address 0x400144AC - Verified OK

Downloading 1684 bytes @ address 0x40014A98 - Verified OK

Downloading 80 bytes @ address 0x4001512C - Verified OK

Downloading 248 bytes @ address 0x4001517C - Verified OK

Downloading 64 bytes @ address 0x40015274 - Verified OK

Downloading 276 bytes @ address 0x400152B4 - Verified OK

Downloading 60 bytes @ address 0x400153C8 - Verified OK

Downloading 60 bytes @ address 0x40015404 - Verified OK

Downloading 112 bytes @ address 0x40015440 - Verified OK

Downloading 336 bytes @ address 0x400154B0 - Verified OK

Downloading 140 bytes @ address 0x40015600 - Verified OK

Downloading 224 bytes @ address 0x4001568C - Verified OK

Downloading 16 bytes @ address 0x4001576C - Verified OK

Downloading 84 bytes @ address 0x4001577C - Verified OK

Downloading 156 bytes @ address 0x400157D0 - Verified OK

Downloading 256 bytes @ address 0x4001586C - Verified OK

Downloading 164 bytes @ address 0x4001596C - Verified OK

Downloading 144 bytes @ address 0x40015A10 - Verified OK

Downloading 628 bytes @ address 0x40015AA0 - Verified OK

Downloading 340 bytes @ address 0x40015D14 - Verified OK

Downloading 192 bytes @ address 0x40015E68 - Verified OK

Downloading 56 bytes @ address 0x40015F28 - Verified OK

Downloading 52 bytes @ address 0x40015F60 - Verified OK

Downloading 48 bytes @ address 0x40015F94 - Verified OK

Downloading 24 bytes @ address 0x40015FC4 - Verified OK

Downloading 24 bytes @ address 0x40015FDC - Verified OK

Downloading 28 bytes @ address 0x40015FF4 - Verified OK

Downloading 132 bytes @ address 0x40016010 - Verified OK

Downloading 252 bytes @ address 0x40016094 - Verified OK

Downloading 176 bytes @ address 0x40016190 - Verified OK

Downloading 140 bytes @ address 0x40016240 - Verified OK

Downloading 156 bytes @ address 0x400162CC - Verified OK

Downloading 40 bytes @ address 0x40016368 - Verified OK

Downloading 16 bytes @ address 0x40016390 - Verified OK

Downloading 416 bytes @ address 0x400163A0 - Verified OK

Downloading 296 bytes @ address 0x40016540 - Verified OK

Downloading 80 bytes @ address 0x40016668 - Verified OK

Downloading 304 bytes @ address 0x400166B8 - Verified OK

Downloading 216 bytes @ address 0x400167E8 - Verified OK

Downloading 32 bytes @ address 0x400168C0 - Verified OK

Downloading 132 bytes @ address 0x400168E0 - Verified OK

Downloading 12 bytes @ address 0x40016964 - Verified OK

Downloading 12 bytes @ address 0x40016970 - Verified OK

Downloading 16 bytes @ address 0x4001697C - Verified OK

Downloading 16 bytes @ address 0x4001698C - Verified OK

Downloading 20 bytes @ address 0x4001699C - Verified OK

Downloading 16 bytes @ address 0x400169B0 - Verified OK

Downloading 12 bytes @ address 0x400169C0 - Verified OK

Downloading 20 bytes @ address 0x400169CC - Verified OK

Downloading 60 bytes @ address 0x400169E0 - Verified OK

Downloading 40 bytes @ address 0x40016A1C - Verified OK

Downloading 124 bytes @ address 0x40016A44 - Verified OK

Downloading 316 bytes @ address 0x40016AC0 - Verified OK

Downloading 112 bytes @ address 0x40016BFC - Verified OK

Downloading 356 bytes @ address 0x40016C6C - Verified OK

Downloading 80 bytes @ address 0x40016DD0 - Verified OK

Downloading 688 bytes @ address 0x40016E20 - Verified OK

Downloading 388 bytes @ address 0x400170D0 - Verified OK

Downloading 96 bytes @ address 0x40017254 - Verified OK

Downloading 160 bytes @ address 0x400172B4 - Verified OK

Downloading 224 bytes @ address 0x40017354 - Verified OK

Downloading 224 bytes @ address 0x40017434 - Verified OK

Downloading 72 bytes @ address 0x40017514 - Verified OK

Downloading 172 bytes @ address 0x4001755C - Verified OK

Downloading 116 bytes @ address 0x40017608 - Verified OK

Downloading 212 bytes @ address 0x4001767C - Verified OK

Downloading 356 bytes @ address 0x40017750 - Verified OK

Downloading 200 bytes @ address 0x400178B4 - Verified OK

Downloading 160 bytes @ address 0x4001797C - Verified OK

Downloading 16 bytes @ address 0x40017A1C - Verified OK

Downloading 36 bytes @ address 0x40017A2C - Verified OK

Downloading 104 bytes @ address 0x40017A50 - Verified OK

Downloading 4 bytes @ address 0x40017AB8 - Verified OK

Downloading 584 bytes @ address 0x40017ABC - Verified OK

Downloading 16 bytes @ address 0x40017D04 - Verified OK

Downloading 204 bytes @ address 0x40017D14 - Verified OK

Downloading 192 bytes @ address 0x40017DE0 - Verified OK

Downloading 16 bytes @ address 0x40017EA0 - Verified OK

Downloading 1360 bytes @ address 0x40017EB0 - Verified OK

Downloading 132 bytes @ address 0x40018400 - Verified OK

Downloading 456 bytes @ address 0x40018484 - Verified OK

Downloading 344 bytes @ address 0x4001864C - Verified OK

Downloading 248 bytes @ address 0x400187A4 - Verified OK

Downloading 372 bytes @ address 0x4001889C - Verified OK

Downloading 188 bytes @ address 0x40018A10 - Verified OK

Downloading 440 bytes @ address 0x40018ACC - Verified OK

Downloading 180 bytes @ address 0x40018C84 - Verified OK

Downloading 4 bytes @ address 0x40018D38 - Verified OK

Downloading 16 bytes @ address 0x40018D3C - Verified OK

Downloading 16 bytes @ address 0x40018D4C - Verified OK

Downloading 76 bytes @ address 0x40018D5C - Verified OK

Downloading 104 bytes @ address 0x40018DA8 - Verified OK

Downloading 108 bytes @ address 0x40018E10 - Verified OK

Downloading 124 bytes @ address 0x40018E7C - Verified OK

Downloading 180 bytes @ address 0x40018EF8 - Verified OK

Downloading 588 bytes @ address 0x40018FAC - Verified OK

Downloading 892 bytes @ address 0x400191F8 - Verified OK

Downloading 12 bytes @ address 0x40019574 - Verified OK

Downloading 4 bytes @ address 0x40019580 - Verified OK

Downloading 800 bytes @ address 0x40019584 - Verified OK

Downloading 212 bytes @ address 0x400198A4 - Verified OK

Downloading 120 bytes @ address 0x40019978 - Verified OK

Downloading 592 bytes @ address 0x400199F0 - Verified OK

Downloading 244 bytes @ address 0x40019C40 - Verified OK

Downloading 456 bytes @ address 0x40019D34 - Verified OK

Downloading 436 bytes @ address 0x40019EFC - Verified OK

Downloading 168 bytes @ address 0x4001A0B0 - Verified OK

Downloading 340 bytes @ address 0x4001A158 - Verified OK

Downloading 1008 bytes @ address 0x4001A2AC - Verified OK

Downloading 940 bytes @ address 0x4001A69C - Verified OK

Downloading 128 bytes @ address 0x4001AA48 - Verified OK

Downloading 128 bytes @ address 0x4001AAC8 - Verified OK

Downloading 120 bytes @ address 0x4001AB48 - Verified OK

Downloading 420 bytes @ address 0x4001ABC0 - Verified OK

Downloading 528 bytes @ address 0x4001AD64 - Verified OK

Downloading 640 bytes @ address 0x4001AF74 - Verified OK

Downloading 208 bytes @ address 0x4001B1F4 - Verified OK

Downloading 60 bytes @ address 0x4001B2C4 - Verified OK

Downloading 160 bytes @ address 0x4001B300 - Verified OK

Downloading 160 bytes @ address 0x4001B3A0 - Verified OK

Downloading 1272 bytes @ address 0x4001B440 - Verified OK

Downloading 316 bytes @ address 0x4001B938 - Verified OK

Downloading 1572 bytes @ address 0x4001BA74 - Verified OK

Downloading 196 bytes @ address 0x4001C098 - Verified OK

Downloading 164 bytes @ address 0x4001C15C - Verified OK

Downloading 124 bytes @ address 0x4001C200 - Verified OK

Downloading 360 bytes @ address 0x4001C27C - Verified OK

Downloading 132 bytes @ address 0x4001C3E4 - Verified OK

Downloading 608 bytes @ address 0x4001C468 - Verified OK

Downloading 28 bytes @ address 0x4001C6C8 - Verified OK

Downloading 544 bytes @ address 0x4001C6E4 - Verified OK

Downloading 696 bytes @ address 0x4001C904 - Verified OK

Downloading 184 bytes @ address 0x4001CBBC - Verified OK

Downloading 280 bytes @ address 0x4001CC74 - Verified OK

Downloading 1204 bytes @ address 0x4001CD8C - Verified OK

Downloading 248 bytes @ address 0x4001D240 - Verified OK

Downloading 304 bytes @ address 0x4001D338 - Verified OK

Downloading 540 bytes @ address 0x4001D468 - Verified OK

Downloading 84 bytes @ address 0x4001D684 - Verified OK

Downloading 16 bytes @ address 0x4001D6D8 - Verified OK

Downloading 96 bytes @ address 0x4001D6E8 - Verified OK

Downloading 376 bytes @ address 0x4001D748 - Verified OK

Downloading 80 bytes @ address 0x4001D8C0 - Verified OK

Downloading 568 bytes @ address 0x4001D910 - Verified OK

Downloading 480 bytes @ address 0x4001DB48 - Verified OK

Downloading 424 bytes @ address 0x4001DD28 - Verified OK

Downloading 528 bytes @ address 0x4001DED0 - Verified OK

Downloading 2128 bytes @ address 0x4001E0E0 - Verified OK

Downloading 80 bytes @ address 0x4001E930 - Verified OK

Downloading 304 bytes @ address 0x4001E980 - Verified OK

Downloading 824 bytes @ address 0x4001EAB0 - Verified OK

Downloading 92 bytes @ address 0x4001EDE8 - Verified OK

Downloading 32 bytes @ address 0x4001EE44 - Verified OK

Downloading 104 bytes @ address 0x4001EE64 - Verified OK

Downloading 40 bytes @ address 0x4001EECC - Verified OK

Downloading 32 bytes @ address 0x4001EEF4 - Verified OK

Downloading 276 bytes @ address 0x4001EF14 - Verified OK

Downloading 12 bytes @ address 0x4001F028 - Verified OK

Downloading 16 bytes @ address 0x4001F034 - Verified OK

Downloading 20 bytes @ address 0x4001F044 - Verified OK

Downloading 20 bytes @ address 0x4001F058 - Verified OK

Downloading 12 bytes @ address 0x4001F06C - Verified OK

Downloading 64 bytes @ address 0x4001F078 - Verified OK

Downloading 64 bytes @ address 0x4001F0B8 - Verified OK

Downloading 24 bytes @ address 0x4001F0F8 - Verified OK

Downloading 404 bytes @ address 0x4001F110 - Verified OK

Downloading 64 bytes @ address 0x4001F2A4 - Verified OK

Downloading 16 bytes @ address 0x4001F2E4 - Verified OK

Downloading 16 bytes @ address 0x4001F2F4 - Verified OK

Downloading 16 bytes @ address 0x4001F304 - Verified OK

Downloading 16 bytes @ address 0x4001F314 - Verified OK

Downloading 208 bytes @ address 0x4001F324 - Verified OK

Downloading 628 bytes @ address 0x4001F3F4 - Verified OK

Downloading 168 bytes @ address 0x4001F668 - Verified OK

Downloading 116 bytes @ address 0x4001F710 - Verified OK

Downloading 40 bytes @ address 0x4001F784 - Verified OK

Downloading 40 bytes @ address 0x4001F7AC - Verified OK

Downloading 40 bytes @ address 0x4001F7D4 - Verified OK

Downloading 40 bytes @ address 0x4001F7FC - Verified OK

Downloading 40 bytes @ address 0x4001F824 - Verified OK

Downloading 40 bytes @ address 0x4001F84C - Verified OK

Downloading 40 bytes @ address 0x4001F874 - Verified OK

Downloading 48 bytes @ address 0x4001F89C - Verified OK

Downloading 104 bytes @ address 0x4001F8CC - Verified OK

Downloading 20 bytes @ address 0x4001F934 - Verified OK

Downloading 20 bytes @ address 0x4001F948 - Verified OK

Downloading 84 bytes @ address 0x4001F95C - Verified OK

Downloading 48 bytes @ address 0x4001F9B0 - Verified OK

Downloading 24 bytes @ address 0x4001F9E0 - Verified OK

Downloading 24 bytes @ address 0x4001F9F8 - Verified OK

Downloading 68 bytes @ address 0x4001FA10 - Verified OK

Downloading 48 bytes @ address 0x4001FA54 - Verified OK

Downloading 44 bytes @ address 0x4001FA84 - Verified OK

Downloading 128 bytes @ address 0x4001FAB0 - Verified OK

Downloading 148 bytes @ address 0x4001FB30 - Verified OK

Downloading 168 bytes @ address 0x4001FBC4 - Verified OK

Downloading 88 bytes @ address 0x4001FC6C - Verified OK

Downloading 112 bytes @ address 0x4001FCC4 - Verified OK

Downloading 100 bytes @ address 0x4001FD34 - Verified OK

Downloading 264 bytes @ address 0x4001FD98 - Verified OK

Downloading 376 bytes @ address 0x4001FEA0 - Verified OK

Downloading 132 bytes @ address 0x40020018 - Verified OK

Downloading 104 bytes @ address 0x4002009C - Verified OK

Downloading 276 bytes @ address 0x40020104 - Verified OK

Downloading 256 bytes @ address 0x40020218 - Verified OK

Downloading 452 bytes @ address 0x40020318 - Verified OK

Downloading 1540 bytes @ address 0x400204DC - Verified OK

Downloading 324 bytes @ address 0x40020AE0 - Verified OK

Downloading 236 bytes @ address 0x40020C24 - Verified OK

Downloading 580 bytes @ address 0x40020D10 - Verified OK

Downloading 80 bytes @ address 0x40020F54 - Verified OK

Downloading 272 bytes @ address 0x40020FA4 - Verified OK

Downloading 400 bytes @ address 0x400210B4 - Verified OK

Downloading 320 bytes @ address 0x40021244 - Verified OK

Downloading 128 bytes @ address 0x40021384 - Verified OK

Downloading 192 bytes @ address 0x40021404 - Verified OK

Downloading 104 bytes @ address 0x400214C4 - Verified OK

Downloading 376 bytes @ address 0x4002152C - Verified OK

Downloading 128 bytes @ address 0x400216A4 - Verified OK

Downloading 212 bytes @ address 0x40021724 - Verified OK

Downloading 160 bytes @ address 0x400217F8 - Verified OK

Downloading 440 bytes @ address 0x40021898 - Verified OK

Downloading 160 bytes @ address 0x40021A50 - Verified OK

Downloading 160 bytes @ address 0x40021AF0 - Verified OK

Downloading 160 bytes @ address 0x40021B90 - Verified OK

Downloading 612 bytes @ address 0x40021C30 - Verified OK

Downloading 116 bytes @ address 0x40021E94 - Verified OK

Downloading 160 bytes @ address 0x40021F08 - Verified OK

Downloading 52 bytes @ address 0x40021FA8 - Verified OK

Downloading 64 bytes @ address 0x40021FDC - Verified OK

Downloading 64 bytes @ address 0x4002201C - Verified OK

Downloading 136 bytes @ address 0x4002205C - Verified OK

Downloading 456 bytes @ address 0x400220E4 - Verified OK

Downloading 64 bytes @ address 0x400222AC - Verified OK

Downloading 712 bytes @ address 0x400222EC - Verified OK

Downloading 208 bytes @ address 0x400225B4 - Verified OK

Downloading 600 bytes @ address 0x40022684 - Verified OK

Downloading 440 bytes @ address 0x400228DC - Verified OK

Downloading 460 bytes @ address 0x40022A94 - Verified OK

Downloading 588 bytes @ address 0x40022C60 - Verified OK

Downloading 720 bytes @ address 0x40022EAC - Verified OK

Downloading 1512 bytes @ address 0x4002317C - Verified OK

Downloading 168 bytes @ address 0x40023764 - Verified OK

Downloading 472 bytes @ address 0x4002380C - Verified OK

Downloading 732 bytes @ address 0x400239E4 - Verified OK

Downloading 756 bytes @ address 0x40023CC0 - Verified OK

Downloading 136 bytes @ address 0x40023FB4 - Verified OK

Downloading 1236 bytes @ address 0x4002403C - Verified OK

Downloading 524 bytes @ address 0x40024510 - Verified OK

Downloading 956 bytes @ address 0x4002471C - Verified OK

Downloading 1120 bytes @ address 0x40024AD8 - Verified OK

Downloading 940 bytes @ address 0x40024F38 - Verified OK

Downloading 828 bytes @ address 0x400252E4 - Verified OK

Downloading 424 bytes @ address 0x40025620 - Verified OK

Downloading 416 bytes @ address 0x400257C8 - Verified OK

Downloading 752 bytes @ address 0x40025968 - Verified OK

Downloading 464 bytes @ address 0x40025C58 - Verified OK

Downloading 156 bytes @ address 0x40025E28 - Verified OK

Downloading 212 bytes @ address 0x40025EC4 - Verified OK

Downloading 76 bytes @ address 0x40025F98 - Verified OK

Downloading 176 bytes @ address 0x40025FE4 - Verified OK

Downloading 968 bytes @ address 0x40026094 - Verified OK

Downloading 360 bytes @ address 0x4002645C - Verified OK

Downloading 108 bytes @ address 0x400265C4 - Verified OK

Downloading 320 bytes @ address 0x40026630 - Verified OK

Downloading 300 bytes @ address 0x40026770 - Verified OK

Downloading 508 bytes @ address 0x4002689C - Verified OK

Downloading 628 bytes @ address 0x40026A98 - Verified OK

Downloading 60 bytes @ address 0x40026D0C - Verified OK

Downloading 164 bytes @ address 0x40026D48 - Verified OK

Downloading 428 bytes @ address 0x40026DEC - Verified OK

Downloading 148 bytes @ address 0x40026F98 - Verified OK

Downloading 208 bytes @ address 0x4002702C - Verified OK

Downloading 208 bytes @ address 0x400270FC - Verified OK

Downloading 628 bytes @ address 0x400271CC - Verified OK

Downloading 232 bytes @ address 0x40027440 - Verified OK

Downloading 2068 bytes @ address 0x40030000 - Verified OK

Writing register (R8 = 0x40015928)

GDB closed TCP/IP connection

0 Likes
1 Solution

Hello Christophe,

Please try replacing {cross_prefix} by arm-none-eabi-

arm.PNG

Please try this and let me know the results. If this doesn't work share the snippet of Debugger tab again

Regards,

Rashi

Regards,
Rashi

View solution in original post

0 Likes
6 Replies
Rashi_Vatsa
Moderator
Moderator
Moderator
5 likes given 500 solutions authored 1000 replies posted

Hello Christophe,

Please refer to this thread with similar query Error in final launch sequence. Failed to execute MI command.

Please share the snippets of the debug configurations for us to check.

Please try to debug some default firmware example (usbbulksrcsink.elf ) and let me know the results. This is to know where the problem is.

Regards,

Rashi

Regards,
Rashi
0 Likes

Hi Rashi,

Thanks for feedback.

I checked at the link you sent me. It looks slightly different since what I see is not a timeout but a specific error regarding "value optimization" (see below)

Eclipse-Debug.png

Also, I checked with USBBulkSourceSink project and I get exactly the same error message.

You can find below my Debug Configuration

pastedImage_2.png

pastedImage_3.png

pastedImage_4.png

0 Likes

Hello Christophe,

There is one that i found which doesn't seem correct is in GDB Client setup > Executable

The default settings are as follows:

debug.PNG

Please refer to point 5 of section 3.1 of EzUSBSuite_UG.pdf in the SDK

Let me know the results after the changes

Regards,

Rashi

Regards,
Rashi
0 Likes

Hi Rashi,

I now get following error message :

pastedImage_0.png

Regards
Christophe

0 Likes

Hello Christophe,

Please try replacing {cross_prefix} by arm-none-eabi-

arm.PNG

Please try this and let me know the results. If this doesn't work share the snippet of Debugger tab again

Regards,

Rashi

Regards,
Rashi
0 Likes

Hi Rashi,

This solved my issue. Sorry for mistakes

Many thanks

Christophe

0 Likes