All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] BDI2000 mpc8315e
@ 2011-06-01 13:46 Eder Ruiz Maria
  0 siblings, 0 replies; only message in thread
From: Eder Ruiz Maria @ 2011-06-01 13:46 UTC (permalink / raw)
  To: u-boot

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 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-06-01 13:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-01 13:46 [U-Boot] BDI2000 mpc8315e Eder Ruiz Maria

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.