[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
On Tue, August 19, 2008 01:34, John Williams wrote:
> 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.
>>> we only have a JTAG connection I'd like to skip the kernel download every time
>>> just download the application. I have read old postings about debugging u-boot
>>> 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
>>> 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.
Is this to say that it's for ever impossible, or just currently a not supported
option for debugging for the petalinux/microblaze combo? The reason why I stress
this question is I still can achieve this by support from the Altera/Nios uClinux
community when understanding how they did make it work on that softcore?
CAG Contactor AB Office: +46 (0)8 752 81 00
Finlandsgatan 14 Mobile: +46 (0)70 995 98 99
SE-164 74 KISTA Fax: +46 (0)8 752 05 30
microblaze-uclinux mailing list
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/