Forums » Software Development »
mtd->read() returned ECC error
Added by Chris Coonan almost 10 years ago
I know this issue was addressed earlier in this forum. I followed the instructions given regarding the need to use the pre-fill memory and write in page sizes to keep the jffs2 filesystem correct. This, however does not seem to solve the issue for me. I have attached the process followed from file system flash through rebooting of the system.
Am I missing a step? Is the file size incorrect?
Thanks,
Chris
mitydsp.log (44.5 KB) mitydsp.log |
Replies (5)
RE: mtd->read() returned ECC error - Added by Jonathan Cormier almost 10 years ago
Chris,
Your flash commands seem reasonable though it is unusual that your file happens to already be exactly 0x800 byte aligned. So perhaps this would be something to investigate, doubtful though.
Its also possible you have some bad blocks on this SOM although unlikely to have so many. If you can boot from SD then you can use the nandtest tool to check your nand.
How did you make your jffs image? Maybe the problem is there?
RE: mtd->read() returned ECC error - Added by Chris Coonan almost 10 years ago
I am using the mityomap-full.jffs2 supplied with the MDK. I "assumed" the filesize was the number of bytes transferred via tftp. Perhaps that is incorrect.
RE: mtd->read() returned ECC error - Added by Jonathan Cormier almost 10 years ago
Which MDK version?
RE: mtd->read() returned ECC error - Added by Jonathan Cormier almost 10 years ago
You may have better luck with the latest MDK. MDK_2014-01-13 is the newest.
Download release_2014-01-13.run from https://support.criticallink.com/redmine/projects/arm9-platforms/files
To install:- Make executable
chmod +x release_2014-01-13.run - Run
./release_2014-01-13.run
Follow directions for updating SOM to latest MDK.
Updating_devkit_to_latest_MDK