[ECOS] RedBoot to program flash on ARM Integrator
Roc Chen 陳在鵬
rocchen@incomm.com.tw
Mon Oct 22 00:32:00 GMT 2001
Dear All,
My platform is the ARM INTEGRATOR/7TDMI board.
The eCos source code was download from the anonymous CVS.
The RedBoot is running on my INTEGRATOR board successfully now.
However, I can not use the "fis create" command to write a loaded image into
flash memory.
I traced the source code and found that the header file
packages/devs/flash/arm/integrator/current/src/flash.h
defines the following terms:
#define FLASH_Read_ID 0x90909090
#define FLASH_Read_Status 0x70707070
#define FLASH_Clear_Status 0x50505050
#define FLASH_Status_Ready 0x80808080
#define FLASH_Program 0x10101010
#define FLASH_Block_Erase 0x20202020
#define FLASH_Confirm 0xD0D0D0D0
#define FLASH_Reset 0xFFFFFFFF
Some of these terms are used by the function flash_program_buf() in
packages/devs/flash/arm/integrator/current/src/flash_program_buf.c
However, the values for these term seems very strange and I believe they are
not true
for the flash memory on my INTEGRATOR board.
Could anybody give me the right address for these FLASH_Xxxx terms ?
The flash chips on my INTEGRATOR are Intel 28F320S3.
Thank you very much.
/ Roc Chen.
More information about the Ecos-discuss
mailing list