GSoC'18-Introduction

Chris Johns chrisj at rtems.org
Mon Feb 26 21:17:32 UTC 2018


On 25/02/2018 21:32, Christian Mauderer wrote:
> Regarding debugging the application: I would strongly recommend to use
> some kind of hardware JTAG debugger. Some Beagle Bone variants have an
> on-board debugger (I think mainly the older white one). For others you
> can use hardware debuggers like quite a number of adapters supported by
> OpenOCD (FlySwatter2, simple FTDI-based ones, ...), Segger J-Link (in
> your case the EDU version) or whatever you find that can debug the BBB.

I am currently working on getting a git master OpenOCD and a FlySwatter2 on a
BBB working. I have the FlySwatter2 adaptor soldered to a BBB per
https://www.tincantools.com/wiki/Flyswatter2_BeagleBone_Black_How_To.

It is not working at the moment and getting the board to halt on a 'reset halt'
is not that simple.

> It may be possible to use the libdebugger as a serial debugger. But I
> never used it so I'm not sure how well you can debug through the libbsd
> with it. I'm also not sure whether it works for the BBB. Chris Johns
> added the ARM support some time back. Maybe he can give you any hints if
> you want to try libdebugger.

Currently the only ARM I know is working is a Cortex-A9, ie Zynq. Adding BBB is
next. The ARM backend needs to match the specific ARM and there are lots of
small differences.

Libdebugger currently only has TCP as a transport so adding a termios transport
so a UART could be used would be great.

Chris



More information about the users mailing list