hi, I check in sst_init function but my prog don't reach there. so, i debug whole code and findout from where it generates error.
it returns from cyg_"flash_init function" from "ecos-3.0/packages/io/flash/v3_0/src/flash.c". In cyg_flash_init() function: #if (1 == CYGHWR_IO_FLASH_DEVICE) // Make sure there is one device, otherwise we could end up // accessing a non-existent cyg_flash_dev structure. if (&(cyg_flashdevtab[0]) == &cyg_flashdevtab_end) { return CYG_FLASH_ERR_INVALID; } >From above loop, it always return CYG_FLASH_ERR_INVALID. so that's why i get error given below. FLASH: driver init failed: Invalid FLASH address. how to solve this error? please reply me. Thanks, Viren > Hi, > > the EA2468 target uses the generic CYGPKG_DEVS_FLASH_SST_39VF3201 flash > driver. You should check, if the flash device returns the proper > manufacturer ID (0x00BF) and device ID (0x235B) in function sst_init() > in flash_sst_39vfxxx.inl. Maybe the flash part changed? > > Uwe > > -- > Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos > and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss > > -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss