ESP8266 Developer Zone The Official ESP8266 Forum 2016-01-14T15:39:43+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=1625 2016-01-14T15:39:43+08:00 2016-01-14T15:39:43+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1625&p=5376#p5376 <![CDATA[Re: error when running gdbstub_init()]]>
The above happens when instead of launching gdb like this:

Code:

$ xtensa-lx106-elf-gdb -x gdbcmds -b 115200


you connect directly to uart, like before:

Code:

$ minicom -D /dev/ttyUSB0

Statistics: Posted by esp03madness — Thu Jan 14, 2016 3:39 pm


]]>
2016-01-14T13:44:12+08:00 2016-01-14T13:44:12+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1625&p=5375#p5375 <![CDATA[error when running gdbstub_init()]]>
But now, I added support to a more serious project. When running gdbstub_init() in user_init() i get the following output on the uart, and the system hangs.

Code:

<garbage>

SDK version:1.3.0(68c9e7b)
EspMsgMutex created
$T05#b9


If gdbstub_init() is not called, execution proceeds as expected. What could be happening?

Statistics: Posted by esp03madness — Thu Jan 14, 2016 1:44 pm


]]>