# 8devices: Lima Boards - Failed to enter debug mode

**URL:** <https://community.sparkfun.com/t/8devices-lima-boards-failed-to-enter-debug-mode/35868>\
**Category:** MicroMod\
**Tags:** arm-lpc\
**Created:** [September 24, 2018, 2:32am UTC](https://community.sparkfun.com/t/8devices-lima-boards-failed-to-enter-debug-mode/35868 "2018-09-24T02:32:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sivakumar](https://avatars.discourse-cdn.com/v4/letter/s/bb73d2/32.png) [@sivakumar](https://community.sparkfun.com/u/sivakumar)\
**Post date:** [September 24, 2018, 2:32am UTC](https://community.sparkfun.com/t/8devices-lima-boards-failed-to-enter-debug-mode/35868/1 "2018-09-24T02:32:59Z")

</div>

Hi All,

We have got a product which is based on the 8devices Lima boards with some customization’s. In the process of updating the U-boot with some custom changes we ended up bricking few boards. Based on the information’s from the internet we decided to use openOCD with the FTDI interface to revive these boards. The version of FTDI cable that we have got is C232HM-DDHSL-0.

So far we haven’t had any luck in communicating the device using openOCD over EJTAG. From the logs it seems that the openOCD is not being able to put the device into the debug mode.

There are no TRST and SRST pins connected to the FTDI cable and the openOCD configuration file for these board seems to handle that. Now we have ran out of ideas to figure out what the problem is. I have added the excerpts from the logs below and the commands used.

I would really appreciate if someone could help us figure out what the problem is.

Server Side

============

Debug: 381 13139 mips\_m4k.c:316 mips\_m4k\_assert\_reset(): target-\>state: running

Debug: 382 13140 core.c:725 jtag\_add\_reset(): SRST line asserted

Debug: 383 13140 core.c:742 jtag\_add\_reset(): JTAG reset with TLR instead of TRST

Debug: 384 13141 core.c:327 jtag\_call\_event\_callbacks(): jtag event: TAP reset

Debug: 410 13339 mips\_ejtag.c:226 mips\_ejtag\_enter\_debug(): ejtag\_ctrl: 0x000dc000

Error: 411 13339 mips\_ejtag.c:232 mips\_ejtag\_enter\_debug(): Failed to enter Debug Mode!

Debug: 381 13139 mips\_m4k.c:316 mips\_m4k\_assert\_reset(): target-\>state: running

Debug: 382 13140 core.c:725 jtag\_add\_reset(): SRST line asserted

Debug: 383 13140 core.c:742 jtag\_add\_reset(): JTAG reset with TLR instead of TRST

Debug: 384 13141 core.c:327 jtag\_call\_event\_callbacks(): jtag event: TAP reset

Client Side

=============

> reset halt /reset init /full\_reset (All of these commands are showing the exact same behavior)

srst\_only srst\_pulls\_trst srst\_gates\_jtag srst\_open\_drain connect\_deassert\_srst

JTAG tap: qca4531.cpu tap/device found: 0x00000001 (mfg: 0x000 (), part: 0x0000, ver: 0x0)

Failed to enter Debug Mode!

Halt timed out, wake up GDB.

timed out while waiting for target halted

Command Used:

============

openocd -f interface/ftdi/um232h.cfg -f board/8devices-lima.cfg -c “adapter\_khz 6000” -d3

Thanks in advance.

-Siva
