[U-Boot-Users] Problem Erase/Program Flash using BDI2000 on PQ2FADS-ZU (8280) board

KokHow Teh KokHow.Teh at marconi.com
Tue Mar 29 06:23:34 CEST 2005


Hi;
      I am using PQ2FADS-ZU board with MPC8280 processor. I have problem
erasing the flash sector from 0xfff00100 to 0xfff0028f. As a result, I am
not able to program the U-Boot into this reset vector. Anybody able to help
me with this? Attached below is my BDI2000 output as well as the
PQ2FADS-ZU.cfg that I use with BDI2000.
      Thanks for any insight.
8280>res
- TARGET: processing user reset request
- BDI asserts HRESET
- Reset JTAG controller passed
- Bypass check: 0x000000001 => 0x00000001
- Bypass check: 0x000000001 => 0x00000001
- JTAG exists check passed
- COP status is 0x01
- Check running state passed
- BDI scans COP freeze command
- BDI removes HRESET
- Target PVR is 0x80822013
- Target SVR is 0x00000000
- COP status is 0x05
- Check stopped state passed
- Check LSRL length passed
- BDI sets breakpoint at 0xFFF00100
- BDI resumes program execution
- Waiting for target stop passed
- TARGET: Target PVR is 0x80822013
- TARGET: resetting target passed
- TARGET: processing target startup ....
- TARGET: processing target startup passed
8280>flash
  Flash type = I28BX8
  Chip size  = 0x00200000
  Bus width  = 32
  Workspace  = 0x04700000
8280>info
    Target CPU        : MPC8280/8220/5200 (Zeppo)
    Target state      : debug mode
    Debug entry cause : COP freeze (startup)
    Current PC        : 0xfff00100
    Current CR        : 0x00000000
    Current MSR       : 0x00001002
    Current LR        : 0x00000000
8280>erase
Erasing flash at 0xff800000
Erasing flash at 0xffa00000
Erasing flash at 0xffc00000
Erasing flash at 0xffe00000
Erasing flash passed
8280>md 0xfff00000
fff00000 : 0effffff ffffffff ffffffff ffffffff  ................
fff00010 : ffffffff ffffffff ffffffff ffffffff  ................
fff00020 : ffffffff ffffffff ffffffff ffffffff  ................
fff00030 : ffffffff ffffffff ffffffff ffffffff  ................
fff00040 : ffffffff ffffffff ffffffff ffffffff  ................
fff00050 : ffffffff ffffffff ffffffff ffffffff  ................
fff00060 : ffffffff ffffffff ffffffff ffffffff  ................
fff00070 : ffffffff ffffffff ffffffff ffffffff  ................
fff00080 : ffffffff ffffffff ffffffff ffffffff  ................
fff00090 : ffffffff ffffffff ffffffff ffffffff  ................
fff000a0 : ffffffff ffffffff ffffffff ffffffff  ................
fff000b0 : ffffffff ffffffff ffffffff ffffffff  ................
fff000c0 : ffffffff ffffffff ffffffff ffffffff  ................
fff000d0 : ffffffff ffffffff ffffffff ffffffff  ................
fff000e0 : ffffffff ffffffff ffffffff ffffffff  ................
fff000f0 : ffffffff ffffffff ffffffff ffffffff  ................
8280>md 0xfff00100
fff00100 : ff0000ff ff0000ff ffffffff ffffffff  ................
fff00110 : ff0000ff ff0000ff ff0000ff ff0000ff  ................
fff00120 : ff0000ff ff0000ff ff0000ff ff0000ff  ................
fff00130 : ff0000ff ff0000ff ff0000ff ff0000ff  ................
fff00140 : ff0000ff ff0000ff ff0000ff ff0000ff  ................
fff00150 : ff0000ff ff0000ff ff0000ff ff0000ff  ................
fff00160 : ff0000ff ff0000ff ff0000ff ff0000ff  ................
fff00170 : ff0000ff ff0000ff ff0000ff ff0000ff  ................
fff00180 : ff0000ff ff0000ff ff0000ff ff0000ff  ................
fff00190 : ff0000ff ff0000ff ff0000ff ff0000ff  ................
fff001a0 : ff0000ff ff0000ff ff0000ff ff0000ff  ................
fff001b0 : ff0000ff ff0000ff ff0000ff ff0000ff  ................
fff001c0 : ff0000ff ff0000ff ff0000ff ff0000ff  ................
fff001d0 : ff0000ff ff0000ff ff0000ff ff0000ff  ................
fff001e0 : ff0000ff ff0000ff ff0000ff ff0000ff  ................
fff001f0 : ff0000ff ff0000ff ff0000ff ff0000ff  ................
8280>md 0xfff00200
fff00200 : ff0000ff ff0000ff ff0000ff ff0000ff  ................
fff00210 : ff0000ff ff0000ff ff0000ff ff0000ff  ................
fff00220 : ff0000ff ff0000ff ff0000ff ff0000ff  ................
fff00230 : ff0000ff ff0000ff ff0000ff ff0000ff  ................
fff00240 : ff0000ff ff0000ff ff0000ff ff0000ff  ................
fff00250 : ff0000ff ff0000ff ff0000ff ff0000ff  ................
fff00260 : ff0000ff ff0000ff ff0000ff ff0000ff  ................
fff00270 : ff0000ff ff0000ff ff0000ff ff0000ff  ................
fff00280 : ff0000ff ff0000ff ff0000ff ff0000ff  ................
fff00290 : ffffffff ffffffff ffffffff ffffffff  ................
fff002a0 : ffffffff ffffffff ffffffff ffffffff  ................
fff002b0 : ffffffff ffffffff ffffffff ffffffff  ................
fff002c0 : ffffffff ffffffff ffffffff ffffffff  ................
fff002d0 : ffffffff ffffffff ffffffff ffffffff  ................
fff002e0 : ffffffff ffffffff ffffffff ffffffff  ................
fff002f0 : ffffffff ffffffff ffffffff ffffffff  ................
8280>prog
Programming u-boot , please wait ....
- File offset 0x00000078 to address 0xFFF00000 size 201804
# Programming flash memory failed at 0xfff00000
8280>

(See attached file: PQ2FADS.cfg)

Regards,
TEH
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PQ2FADS.cfg
Type: application/octet-stream
Size: 4225 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20050329/b743243b/attachment.obj 


More information about the U-Boot mailing list