All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eder Ruiz Maria <holoturoide@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] BDI2000 mpc8315e
Date: Wed, 1 Jun 2011 10:46:04 -0300	[thread overview]
Message-ID: <BANLkTimvNuj=kLiPFvsJH7oHryA=b5WQLg@mail.gmail.com> (raw)

Hi,

I try put a brakpoint in function cpu_init_f, but is not working

my config in BDI is:

8315-uhet>reset
- TARGET: processing user reset request
- BDI asserts HRESET
- Reset JTAG controller passed
- Bypass check: 0x00000001 => 0x00000001
- JTAG exists check passed
- IDCODE is 0x268B401D
- BDI overrides HRCW (0x84600C00 0x42050000)
- BDI removes HRESET
- PVR is 0x80850020
- SVR is 0x80B40012
- BDI sets breakpoint at 0xFFF00100
- BDI resumes program execution
- Waiting for target stop passed
- TARGET: Target PVR is 0x80850020
- TARGET: resetting target passed
- TARGET: processing target startup ....
- TARGET: processing target startup passed
8315-uhet>
8315-uhet>config
    BDI Firmware: 1.29
    BDI MAC     : 00-0c-01-11-13-89
    BDI IP      : 192.168.163.110
    BDI Subnet  : 255.255.248.0
    BDI Gateway : 192.168.160.1
    Config IP   : 192.168.173.196
    Config File : mpc8315e_atmx.cfg
8315-uhet>
8315-uhet>i
    Target CPU        : MPC83xx (e300c3)
    Target state      : debug mode
    Debug entry cause : instruction address breakpoint
    Current PC        : 0xfff00100
    Current CR        : 0x00000000
    Current MSR       : 0x00001002
    Current LR        : 0x00000000
8315-uhet>

If I try TI command:

8315-uhet>ti
    Target CPU        : MPC83xx (e300c3)
    Target state      : debug mode
    Debug entry cause : COP halt
    Current PC        : 0xfff00100
    Current CR        : 0x00000000
    Current MSR       : 0x00000000
    Current LR        : 0x00000000
# Step timeout detected

if I try read the entry point:

8315-uhet>mdh 0xfff00100
# SAP: read access failed

using sap command:

8315-uhet>mdh 0xfff00100
fff00100 : 0000 0000 0000 0000 0000 0000 0000 0000  ................
fff00110 : 0000 0000 0000 0000 0000 0000 0000 0000  ................
fff00120 : 0000 0000 0000 0000 0000 0000 0000 0000  ................
fff00130 : 0000 0000 0000 0000 0000 0000 0000 0000  ................
fff00140 : 0000 0000 0000 0000 0000 0000 0000 0000  ................
fff00150 : 0000 0000 0000 0000 0000 0000 0000 0000  ................
fff00160 : 0000 0000 0000 0000 0000 0000 0000 0000  ................

There are nothing in flash?
But when I take out the BDI, I start uboot, I can read de memory:

ATMX> md.b 0xfff00100
fff00100: 78 5e 52 c8 4f 53 28 49 4c 2f 56 c8 cc 53 c8 48    x^R.OS(IL/V..S.H
fff00110: 4d 4c 49 2d 2a d6 51 e0 52 20 00 ac 81 ca 4b 52    MLI-*.Q.R ....KR
fff00120: 8b f2 12 4b 32 f3 f3 12 73 14 92 33 12 8b 12 93    ...K2...s..3....

Anybody can help me?

[]'s
Eder Ruiz Maria


I put the BDI conf file attached,
Anybody
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpc8315e_atmx.cfg
Type: application/octet-stream
Size: 4991 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20110601/33a27641/attachment.obj 

                 reply	other threads:[~2011-06-01 13:46 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='BANLkTimvNuj=kLiPFvsJH7oHryA=b5WQLg@mail.gmail.com' \
    --to=holoturoide@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.