public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Felix Radensky <felix@embedded-sol.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] U-boot debugging on Canyonlands using BDI3000
Date: Tue, 05 Jan 2010 16:49:15 +0200	[thread overview]
Message-ID: <4B43516B.70708@embedded-sol.com> (raw)

Hi,

Can someone please share BDI3000 configuration file suitable for
u-boot debugging on 460EX evaluation board (Canyonlands). I
use the following file, which doesn't work

[TARGET]
JTAGCLOCK   1                   ;use 16 MHz JTAG clock
CPUTYPE     440                 ;the used target CPU type
WAKEUP      500                 ;wakeup time after reset
BREAKMODE   HARD                ;SOFT or HARD, HARD uses PPC hardware 
breakpoint
STEPMODE    HWBP                ;JTAG or HWBP, HWBP uses one or two 
hardware breakpoints
;MMU         XLAT                ;MMU support enabled
;PTBASE     0x000000f0          ;pointer to the page table pointers

[HOST]
IP          10.0.0.10
PROMPT      460EX>

[REGS]
IDCR1   0x010   0x011   ;MCIF0_CFGADDR  and MCIF0_CFGDATA
IDCR2   0x012   0x013   ;EBC0_CFGADDR   and EBC0_CFGDATA
IDCR3   0x014   0x015   ;EBM0_CFGADDR   and EBM0_CFGDATA
IDCR4   0x016   0x017   ;PPM0_CFGADDR   and PPM0_CFGDATA
IDCR5   0x00C   0x00D   ;CPR0_CFGADDR   and CPR0_CFGDATA
IDCR6   0x00E   0x00F   ;SDR0_CFGADDR   and SDR0_CFGDATA
PMM1    0x40000         ;Peripheral (base addr 4_0000_0000)
PMM2    0xC0000         ;PCI        (base addr C_0000_0000)
FILE    $reg460ex.def

I get the following errors:

460EX>reset
- TARGET: processing user reset request
- TARGET: resetting target passed
- TARGET: processing target startup ....
- TARGET: core #0 PVR is 0x130218A2
- TARGET: processing target startup passed
460EX>ti
    Core number       : 0
    Core state        : debug mode
    Debug entry cause : JTAG stop request
    Current PC        : 0x00040190
    Current CR        : 0x010ff7f5
    Current MSR       : 0x00000000
    Current LR        : 0x395cc044
# Step timeout detected
460EX>ti 0xfffffffc
    Core number       : 0
    Core state        : debug mode
    Debug entry cause : JTAG stop request
    Current PC        : 0xfffffffc
    Current CR        : 0x00004009
    Current MSR       : 0x00000000
    Current LR        : 0x644e4009
# PPC: JTAG instruction stuff overrun
460EX>bi 0xfffff000
Breakpoint identification is 0
460EX>go
# PPC: JTAG instruction stuff overrun

I had a feeling that my Canyonlands is broken, but maybe I'm doing 
something dumb.
BTW, I can program u-boot on NOR using this BDI3000 and different 
configuration
file.

Thanks a lot.

Felix.

                 reply	other threads:[~2010-01-05 14:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B43516B.70708@embedded-sol.com \
    --to=felix@embedded-sol.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox