[ECOS] Support for AT49BV6416 Flash Device

John Eigelaar jeigelaar@yahoo.co.uk
Mon Nov 7 15:51:00 GMT 2005


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



More information about the Ecos-discuss mailing list