[U-Boot-Users] Au1550 U-boot debugging - a newbie question
Vlad Lungu
vlad at comsys.ro
Tue Feb 19 10:52:26 CET 2008
RadekFisera wrote:
> I'm using U-boot 1.3.0. The hardware breakpoint option is set in BDI2000
> configuration file in target part (initial memory controller registers
> settings is also in this file)
> [TARGET]
> JTAGCLOCK 0 ;use 16 MHz JTAG clock
> CPUTYPE AU1000 ;AU1000 ;the used target CPU type
> ENDIAN LITTLE ;target is little endian
> STARTUP RESET
> RESET JTAG ;the reset type (NONE, JTAG, HARD)
> BDIMODE AGENT ;the BDI working mode (LOADONLY | AGENT)
> BREAKMODE HARD ;SOFT or HARD, HARD uses PPC hardware breakpoints
> STEPMODE JTAG ;JTAG, HWBP or SWBP
> VECTOR CATCH ;catch unhandled exceptions
>
> I know that during debugging program in flash only HW breakpoints are
> enabled. I tried to set breakpoint in gdb via command "break" and "hbreak"
> also. In both case I have observeeed the same behaviour (SIGABRT after stepi
> and "*** TARGET: all hardware breakpoints in use " in the telnet session
> window). I've tried HWBP option instead of JTAG when chosing the stepmode
> for BDI 2000.
>
Are you sure you have hardware breakpoints on that target? And if you
do, isn't that breakpoint (it's probably only one available)
already used maybe? Check the BDI and Au1000 docs.
Also, maybe you should try commenting VECTOR CATCH. That signal looks
funny to me.
Vlad
More information about the U-Boot
mailing list