Skip to contentSkip to conversation

CFI-Read-Command

DISCUSSION Markus Thiesmeyer 1 participant 1 message Aug 1, 2000 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hello,

after I've integrated the cfi-support (from mtd-20000704.tar.gz) I noticed a problem when I was tying to read bytes from odd addresses. It it seems as if I've located the problem:

Before the flash ís read, the read-function tries to read the cfi-statemachine. And this operation must be an aligned 16-bit read. But the read-operation uses the given, odd address and gets confused. As a fast bugfix I wrote a wrapper which handles unaligned accesses and forwards aligned accesses to the given read-command.

regards

Markus Thiesmeyer