[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [microblaze-uclinux] Source level debug for Microblaze in Xilinx FPGA.
On Wednesday, February 07, 2007 9:46 PM Celia Lee wrote:
> I am using EDK 8.1, but my source code and build environment is on
> Fedora 5 machine (2.6.15-1.2054_FC5) with
microblaze-elf-tools-20060213
> toolchain.
I have same setup and same toolchain, but Fedora Core version is 4.
Where your EDK/XMD is running? Mine is on Windows XP machine connected
to the same L2 switch.
> Since my preference is command line interface, I don't usually use the
> graphic interface.
So do I.
> Below is a sample log of my debug session. I can list the source
code,
> set break points on routine name, step thru source code, and display
both
> local and global variables.
Well, mine allows me to connect, set one break point and continue. But
as soon as breakpoint is reached, any further command (next, step,
continue) kills the session and target doest run either:
[leonid@mylinux u-boot]$ /opt/mb/bin/mb-uclinux-gdb -nw u-boot
GNU gdb 5.3Xilinx EDK 8.1 Build EDK_I.17
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "--host=i686-pc-linux-gnu
--target=microblaze"...
(gdb) target remote 192.168.0.121:1234
Remote debugging using 192.168.0.121:1234
_start () at
/home/leonid/lm125b/uClinux/petalinux-v0.10-rc1/software/petalinux-dist/
u-boot/cpu/microblaze/start.S:37
37 mts rmsr, r0
(gdb) b do_help
Breakpoint 1 at 0x23fcb830: file command.c, line 239.
(gdb) c
Continuing.
Breakpoint 1, do_help (cmdtp=0x1, flag=0, argc=603192316, argv=0x0) at
command.c:239
239 {
(gdb) c
Continuing.
Target doesn't do anything after this "continue".
Can you think of any other differences between our setups? Some special
EDK settings you had to do? BTW, what card you are working with? Mine is
Spartan-3e Starter Kit (though I also tried on proprietary Spartan-2e
based board with same success) connected via USB ) speed up to 24000000
bps.
Thanks,
Leonid.
___________________________
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/