Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHi mountain8848,
Something that just caught my eye: cmd=(vu_char *)0x555;//20051018:according AM29LV128 CFI commands writeb (cmd, 0xaa); If you're using the device in 16-bit mode, you have to change a few things. When you port from the 065 to the 128, you have to change to vu_char to vu_short, writeb()/readb() to writew()/readw(), etc. But you might find it easier to grab an existing implementation (e.g. from the tqm5200 or xsengine board tree). If you're not using a data cache you won't have to worry about using writew/readw. Regards, --Scott