Skip to contentSkip to conversation

Add another FLASH to my board

U-Boot-Users CG 1 participant 1 message May 12, 2004

lore
Share & tools
lore

CG

author
#0 lore raw

Hello,

I ordered a Strataflash from Intel (E28F128J3C), 128 Mbits. I would like to add it to the AT91RM9200 development board.

Is there any document to explain how to proceed to add a new flash memory? So I will have two flashes to initialize. But the first flash, it works.

The base address of the first flash (AT49BV162A - 2 MB) is 0x1000000

The base address of the strataflash memory : 0x30000000

To do?

1. In lib_arm\board.c, I have to call a strataflash_init() routine in order to initialize the flash_info_t structure.

2. call display_flash_config to print out the flash size.

3. I don't know what to do with these routines: flash_erase, write_word,
write_buff. The content of these routines are different if we access to the strataflash or AT49 flash. So, how can I manage it correctly?

Best regards

Christian