Altera_Forum
Honored Contributor
21 years agoCFI with multiple chips
Hello,
I'm working with the Microtronix Stratix Development board and have the SODIMM Flash (4M x 16) mapped to the address range 0x00800000-0x00FFFFFF. I'm trying to upload a uClinux filesystem into the SODIMM Flash memory beginning at address 0xA00000 using the nios2-flash-programmer. When I try this I get the error message "File too large to fit in flash memory". I posted another message on this topic a while back (old topic (http://www.niosforum.com/forum/index.php?act=st&f=2&t=483)) and received no response. After thinking about this a while I believe I've figured out the cause of this problem. The Microtronix SODIMM Flash is two 2Mx16 chips stacked to create a 4M x 16 bank of flash. The CFI drivers query the Flash memory for size and other information at startup. Is it possible that the CFI drivers are only querying the first flash chip and therefore only seeing the lower half of the Flash bank? -- Terry