pyOCD icon indicating copy to clipboard operation
pyOCD copied to clipboard

LPC1768: Timeout waiting for gdb server to start

Open avotolato opened this issue 2 years ago • 4 comments

I am using MBED Studio 1.4.1 to try to debug a problem with an LPC1768 processor and every time I try to start the debugger I get the message "Timeout waiting for gdb server to start". Yet, when I start the debugger with "pyocd gdb --target lpc1768" it starts and keeps running. I looked up the problem and there was some discussion around 1.11.1 but nothing for 1.4.1.. They suggested that that person run pyocd with a supplied pyocd.yaml file, which I did and got the following: pyocd_jlink_log.txt

Can you help me get the debugger working?

avotolato avatar Jul 20 '21 13:07 avotolato

Fyi, I believe GitHub timed out because the issue comment was so large with the inlined log. It was timing out even as I tried to close the duplicate issues!

flit avatar Aug 02 '21 20:08 flit

The short answer is that Mbed Studio doesn't yet support the LPC1768. It's a known issue but unfortunately hasn't been resolved yet afaik.

Are you using the Mbed LPC1768 board? Doesn't seem like it since it looks like you're using a J-Link, but I wanted to check.

Anyway, I'll take a look at the log and see if anything stands out.

flit avatar Aug 02 '21 20:08 flit

Thanks Chris,

No, I'm using a custom board. When do you think the LPC1768 might be ready? When do you think Mbed Studio might support individual debuggers since some designs have to go to custom boards eventually?

Thanks, again,

On Mon, Aug 2, 2021 at 4:58 PM Chris Reed @.***> wrote:

The short answer is that Mbed Studio doesn't yet support the LPC1768. It's a known issue but unfortunately hasn't been resolved yet afaik.

Are you using the Mbed LPC1768 board? Doesn't seem like it since it looks like you're using a J-Link, but I wanted to check.

Anyway, I'll take a look at the log and see if anything stands out.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pyocd/pyOCD/issues/1182#issuecomment-891327405, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOPRETBNR7A2C44KQCRIRBDT24BF7ANCNFSM5AV2BEDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

--

Alfred Votolato

Embedded Software Engineer

AndPlus

o: 508.425. 7533 m: 401.477.3211

w: andplus.com e: @.***

Subscribe https://www.andplus.com/newsletter-signup to the AndPlus newsletter

avotolato avatar Aug 03 '21 13:08 avotolato

Sorry, I can't really answer questions about Mbed Studio since I'm not a member of that team, meaning I don't know what their plans are.

I'm looking at LPC1768 support, but don't have a timeline.

flit avatar Aug 19 '21 18:08 flit