Article 5Q055 FlexSPI erase and write issue on NXP 2160A-TCD platform

FlexSPI erase and write issue on NXP 2160A-TCD platform

by
AndyUeng
from LinuxQuestions.org on (#5Q055)
We encounter FLEXSPI erase and write issue. We use the following commands to test FLEXSPI read, write, and erase.
mtd_debug erase /dev/mtd2 0x0000000 0x10000
dd if=/dev/zero of=data.hex count=1 bs=65536
mtd_debug write /dev/mtd2 0x0000000 0x10000 data.hex
mtd_debug read /dev/mtd2 0x0000000 0x10000 dump

The contents of data.hex and dump files should be same. But unfortunately the contents of these two files are not identical.

PS
spi-nxp-fspi.c is FLEXSPI driver source file.latest?d=yIl2AUoC8zA latest?i=HHOTzaYsTME:Hla5VzA0wLo:F7zBnMy latest?i=HHOTzaYsTME:Hla5VzA0wLo:V_sGLiP latest?d=qj6IDK7rITs latest?i=HHOTzaYsTME:Hla5VzA0wLo:gIN9vFwHHOTzaYsTME
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments