AT91SAM9G20-EK error loading demo: NAND: Hamming ECC error!

Moderator: nferre

turbosree
Posts: 2
Joined: Thu Sep 22, 2011 11:36 am

AT91SAM9G20-EK error loading demo: NAND: Hamming ECC error!

Tue Dec 03, 2013 9:05 am

Hi,
I am having the following error after flashing the Linux demo to NAND flash. Details below,

Board: AT91SAM9G20-EK Rev.C
Development Environment: Win 7 64 Bit
SAM-BA Tool: sam-ba_2.12.exe + sam-ba_2.12_patch5.exe
Demo used: ftp://www.at91.com/pub/demo/linux4sam_4 ... ek-4.2.zip
demo_linux_nandflash.bat

Error:
------
AT91Bootstrap 3.6.0-00034-gbfd71bd (Fri Oct 18 10:56:30 CST 2013)
NAND: ONFI not supported
NAND: Manufacturer ID: 0xec Chip ID: 0xda
NAND: Disable On-Die ECC
NAND: Press the recovery button (BP4) to recovery
NAND: Using Software ECC
NAND: Image: Copy 0x80000 bytes from 0x40000 to 0x21f00000
NAND: Hamming ECC error!
NAND: Failed to load image

I have attached the NAND flashing log file herewith.

Any help is much appreciated.

Thanks
Sreejith
Attachments
logfile.zip
SAM-BA NAND Flashing log file.
(2.66 KiB) Downloaded 59 times
turbosree
Posts: 2
Joined: Thu Sep 22, 2011 11:36 am

Re: AT91SAM9G20-EK error loading demo: NAND: Hamming ECC err

Tue Dec 03, 2013 12:01 pm

The issue is resolved. I have connected a daughter board to the AT91SAM9G20-EK using PIOC D22-25 lines. According to board user guide (Rev 6413C, Page 3-9 of the Atmel AT91SAM9G20-EK user guide, 3.14 PIO Usage), PIOC D22-25 lines are not used for any function. However looking through the schematics now I find (Sheet 4 of 7) that they are used for the SDRAM.
So the manual needs little correction.
CptTitanic
Posts: 871
Joined: Sat Oct 30, 2010 6:04 pm

Re: AT91SAM9G20-EK error loading demo: NAND: Hamming ECC err

Tue Dec 03, 2013 7:15 pm

turbosree wrote:So the manual needs little correction.
See the note on the PC16 pin, describing the use of PC16 thru PC31 being the EBI Data Bus. Perhaps it could have been clearer, or you could have been more attentive?

Return to “SAM9-based”

Who is online

Users browsing this forum: No registered users and 2 guests