Hi,

I'm using AVNET MCF5282EVB , I'd like to program the Flash of the board
by BDM-P&E interface. I am logged as root.
I installed GDB 6.7.1 (download from http://sourceware.org/gdb/) in this
way:
./configure --target=m68k-elf
make
make install

Then I installed m68k-BDM-1.4.0 package (http://bdm.sourceforge.net).

In this package (among other utilities) there is BDMFLASH, a program to
load the software to flash; it is very easy to use so I dediced to give
it a try, but it doesn't seem work correctly:
It detects the BDM connection
It detects the board
It can read the Flash correctly
It seems that it can't write Flash because it can't determinate the
“style” of the flash (Micron/AMD)
Flash is Micron 28F640J3RG-12ETB.

I checked BDM connection in other ways as well
Start gdb : # m68k-elf-gbd
Then (following BDM instruction): (gdb) target remote
|m68k-bdm-gdbserver pipe /dev/bdmcf0
It replies correctly
But I don't know if it is possible to program the flash from here, and
more important, how to do it !!

Some other questions:
I tried the above steps with BDM module loaded in the kernel and with
/dev/bdmcf0 device. When I remove BDM module and without a device I get
the same results. Is this normal?


Any suggestions?
Thanks.

Kristijan


_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to