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 agoWe're using mtd_debug erase, which hits the MTD driver. The filesystem we want to use is JFFS2 . We have verified that we are correctly getting into the MTD driver code that actually flips the bits on the CFI interface.
Another clue: when we do an erase sector command, the processor hard crashes. But, once we power cycle the board, we see that the erase command was executed by the flash chip. And, sometimes the flash write works, but most times it crashes hard too. Total CPU lockup. Did you have to make any modifications to the drivers or kernel to make your shared bus implementation work? Thanks!