This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x EVM NAND programming error

Other Parts Discussed in Thread: TMDXEVM3358

Hi,

We are having trouble in Flashing Binary image file(bootloader and application) to the AM335x EVM's NAND Flash.
We are using the Flash writer"nand_flash_writer_AM335x.out" on CCS to write the
image file to the NAND device on the EVM(TMDXEVM3358),
but we get the error message saying "FAIL!! to erase block number".
The jumper settings and the procedure are as per the EVM Wiki page, and the flash_writer also
seems to be working fine, but there is a problem in the NAND write.
is this a indication that the NAND device on the EVM is bad?


[CortxA8] Welcome to CCS Nand Flash Utility
Psc 3 scll 53 sclh 55
EEPROM detected 51
aa-55-33-ee-41-33-33-35-47-50-42-44-31-2e-32-41-34-30-31-32-34-50-31-33-30-32-38-35-53-4b-55-23-30-31-46-46-46-46-46-46-46-46-46-46-46-46-46-46-


Choose your operation
Enter 1 ---> To Flash an Image
Enter 2 ---> To ERASE the whole NAND
Enter 3 ---> To EXIT
1
Enter image file path
c:\boot_ti.bin
Enter offset to be flashed (in hex):
0x000000
Choose the ECC scheme from given options :
Enter 1 ---> BCH 8 bit
Enter 2 ---> HAM
Enter 3 ---> T0 EXIT
Please enter ECC scheme type :
1
Starting AM335X NAND writer

----------------------
NAND FLASH DETAILS
----------------------
Device ID : 0xf
Manufacture ID : 0xf
Page Size : 8192 Bytes
Spare Size : 256 Bytes
Pages_Per_Block : 8
Number_of_Blocks : 1345749071
Device_width : 1 Byte
DeviceSize : 2052 MB

Setting the ECC scheme
Set the BCH 8 bit ECC scheme .... done
Preparing to Flash image ....
Opening image ... done.
Erasing Required Blocks [start = 0, count = 1]...FAIL!! to erase block number 0x0
Done
Flashing image ...
Number of blocks needed for header and data: 0x1
Attempting to start write in block number 0x0.
FAIL!! to erase block number 0x0
Writing image data to Block 0 Page0x0
Write failed
Attempting to start write in block number 0x1.
FAIL!! to erase block number 0x1
Writing image data to Block 1 Page0x0
Write failed
Attempting to start write in block number 0x2.
FAIL!! to erase block number 0x2
Writing image data to Block 2 Page0x0
Write failed
Attempting to start write in block number 0x3.
FAIL!! to erase block number 0x3
Writing image data to Block 3 Page0x0
Write failed
-
-
-

Regards
Prad