Forum Discussion
Altera_Forum
Honored Contributor
20 years ago16-bit flash WR/Erase problems
I have a board where the flash, ethernet and SDRAM all share a common databus. The flash device is the AM29LV128 in word mode, i.e. 16-bit interface. On power-up, linux boots fine from the flash ch...
Altera_Forum
Honored Contributor
20 years agoHi thosburke,
> If we just run a simple C application program out of SDRAM, and don't use > uClinux, we can rd/wr/erase the flash just fine, in both byte and word mode. Then it's a software issue -- which is good ;-) > is there any specific setting we need to make in the kernel configuration > that you can think of? Enable MTD debugging -- make it as verbose as possible. The boot can get a bit tiresome ... but you might find some useful clues when you attempt to erase/write. BTW: how exactly are you erasing/writing via the kernel? mtd-utils? Or are you using JFFS2 and doing a cp, cat, etc? --Scott