igor ferrara

CW & u-boot debug

Discussion created by igor ferrara on Apr 30, 2008
Latest reply on May 18, 2009 by Ashish Agarwal
Hi all,
I have installed CW Dev Studio (Power architecture, Professional edition & Linux Application edition, v8.8, Build 70921) on a WinXp based computer. Secondly, on a Fedora core based host computer, I have cross compiled u-boot 1.1.6 for mpc8313rdb board (toolchain gcc-4.0.2+e30c3/glibc-2.3.6).
The issue is that I want to debug u-boot using CW (and USB TAP) but breakpoints "do not work".
This is what I've done:
Within CW, I have done a "File | Open" on the u-boot elf image.
CW has created a project for that elf file (it has not found libgcc2.c file so it gives me a "warning" message).
Once the project is created I have set the target CPU type in the EPPC Debugger Settings panel and a register init file (8313RDB_uboot_init_Linux.cfg).
Any Advice? Do I have to compile u-boot in a particular manner?
Thanks a lot in advance,