Forum Discussion
Altera_Forum
Honored Contributor
20 years agoProblem with jssf2
Could someone help me to start working with jffs2 file system?. I use following code: # include <cyg/hal/io.h># include <cyg/kernel/kapi.h># include <cyg/io/io.h># include <cyg/fileio/fileio.h...
Altera_Forum
Honored Contributor
20 years agoHi Mell,
Have you configured ecos to use your flash memory, and set aside a block of memory for JFFS2? You need to set the "Instantiate in I/O block device API" property in the flash drivers section. I had a problem with JFFS2 on my Altera Cyclone II 2C35 based Dev Board because the flash memory is connected as 8-bit and the ecos driver expects it to be in 16-bit mode. I can send you code to fix this if you need it. I found JFFS2 quite tricky to get started with, but once it starts working it's great! Mike