This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Support for AT49BV6416 Flash Device
- From: John Eigelaar <jeigelaar at yahoo dot co dot uk>
- To: ecos-discuss at sources dot redhat dot com
- Date: Mon, 07 Nov 2005 17:46:02 +0200
- Subject: [ECOS] Support for AT49BV6416 Flash Device
Hi,
I have been fiddeling with Redboot on a board that has one AT89BV6416
flash device. The AT49XXXX device driver does not support the AT89BV6416
device, so I put it into the at49xxxxx device list like so:
#if defined(CYGHWR_DEVS_FLASH_ATMEL_AT49BV6416)
{ // AT49BV6416
device_id : FLASHWORD(0xD6),
block_size : 0x10000 * CYGNUM_FLASH_INTERLEAVE,
block_count: 128,
device_size: 0x800000 * CYGNUM_FLASH_INTERLEAVE,
base_mask : ~(0x800000 * CYGNUM_FLASH_INTERLEAVE - 1),
bootblock : true,
bootblocks : { 0x000000 * CYGNUM_FLASH_INTERLEAVE,
0x002000 * CYGNUM_FLASH_INTERLEAVE,
0x002000 * CYGNUM_FLASH_INTERLEAVE,
0x002000 * CYGNUM_FLASH_INTERLEAVE,
0x002000 * CYGNUM_FLASH_INTERLEAVE,
0x002000 * CYGNUM_FLASH_INTERLEAVE,
0x002000 * CYGNUM_FLASH_INTERLEAVE,
0x002000 * CYGNUM_FLASH_INTERLEAVE,
0x002000 * CYGNUM_FLASH_INTERLEAVE,
_LAST_BOOTBLOCK
}
},
#endif
Everything compiles Redboot starts up and finds the device; but it cannot
erase or write to the device. Always ends up with a timeout.
Any ideas are welcome, maybe somebody already tried this device and has
some feedback ....
Thankx
John Eigelaar
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss