Re: Problem Programming Flash using BDI2000 on MPC8260ADS board
From: Wolfgang Denk <hidden>
Date: 2003-08-15 17:17:01
Dear Joao, in message [ref] you wrote:
### Problem #1 Again after erasing the whole flash, the prog command (see below) shows progress and returns a valid response
This doesn't sound like a problem to me :-)
BDI>prog 0xff800000 u-boot.srec SREC Programming u-boot.srec , please wait .... Programming flash passed however, when reading back the flash the contents of the flash still display all FF's
Note that the "prog" command does not list a load address, but an
OFFSET. The u-boot.srec file already contains a load address, which
matches the TEXT_BASE defined in your board/*/config.mk file - if you
add a offset of 0xff800000 you are programming the image to a
different location than you expect.
Also, I don;t think that 0xff800000 is where you want to burn the
image to. For the MPC8260ADS board, TEXT_BASE is set to 0xFFF00000,
so this is what you should try.
Finally, it makes little sense to waste your time with a S-Record
file - programming a binary image will be much faster.
So try:
prog 0xFFF00000 u-boot.bin BIN
[untested, as I don't have such a board]
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
I'm a programmer: I don't buy software, I write it.
-- Tom Christiansen
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/