[ECOS] Different flash
Thu Jul 3 13:11:00 GMT 2008
> 1) Are there specific drivers for the AT49 or will the AM29 driver be OK.
Im too lazy to go look at the data sheet, so i will skip 1)
My mind reading capabilities is also off line, so i will skip 2) as well.
> 3) If there are specific drivers (or I have to modify/write my own) then do
> I populate the cyg_dev_flash_funs with the appropriate function set at
> startup or do I have two of these structures?
> If 2 structures where/how do I tie them into eCos?
Flash v2 makes this easy. Just register both drivers. The flash
infrastructure will run the probe function to see if the flash
actually exist. So you would expect one to fail to probe and one to
work. The flash infrastructure will then direct all operations through
the working driver.
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