This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RedBoot to program flash on ARM Integrator
- To: <ecos-discuss at sources dot redhat dot com>
- Subject: [ECOS] RedBoot to program flash on ARM Integrator
- From: =?big5?B?Um9jIENoZW4gs6+mYsRQ?= <rocchen at incomm dot com dot tw>
- Date: Mon, 22 Oct 2001 15:33:22 +0800
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.