[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Source level debug over JTAG (ie. not ethernet) for applications



Hi Olof,
Olof Backing wrote:
On Wed, July 30, 2008 11:10, Olof Backing wrote:

I have a running kernel and wants to debug applications running on the target. Since
we only have a JTAG connection I'd like to skip the kernel download every time and
just download the application. I have read old postings about debugging u-boot and
so, but this scenario differs a bit.

I have been reading all the documentation on Petalogix developer website about
debugging. Sadly we don't have en ethernet port on our microblaze processor node -
but we have a JTAG... :)
I can connect the the microblaze over the JTAG connection from the host side and
also start microblaze-uclinux-gdb for remote target connection to localhost:1234.
But what about the target side? Usually the gdbserver connects over the ethernet
port but I have to stick with the JTAG port.
I have succesfully done this with Altera Nios II and "debug" on the target side but
with the microblaze I must do something else - but what?

This just struck me:

Is it possible to use the debug application (found for instance in the nios2
uclinux) to achieve user application debugging? Or is the kernel lacking some
important stuff that will make this solution impossible?

There is no direct support for using JTAG to debug userapplications, however gdbserver / mb-uclinuc-gdb can work over a serial port. In principal you could debug over the MDM-uart. I seem to recall this was discussed previously on the list, see what the archives have to say.

Regards,

John

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/