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.

DM8148 EVK NAND Flash issue

Hi, All,

Currently I am working on DM8148 EVK from MistralSolutions. I always got the failure when I tried to burn image to NAND flash. I am using CCS5.3 and JTAG emulator (Ashling's Opella-XDS100v2) coming with DM8148 EVK.  I followed the instructions in DM814x PSP Flashing Tools Guide. The switch S1 all set to OFF. Switch SW2 set to NAND boot.

My DM8148 EVK is Rev D. I also tried to set switch S1.8 (BTMODE[12]: 0 for GPMC 8-bit data bus, 1 for 16-bit) and SW11.3 to ON to enable GPMC_nWP. However, I still got the same error.

Any idea what is wrong? Thank you for your help!

Followed is error message after running "nand-flash-writer.out" program:
===========================

[CortexA8] Welcome to CCS Nand Flash Utility

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:\ti\bin\ti814x\u-boot.min.nand
Enter offset (in hex):
0x0
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 NETRA NAND writer

The NAND Flash is ONFI compatible
----------------------
  NAND FLASH DETAILS
----------------------
 Device ID : 0xca
 Manufacture ID : 0x2c
 Page Size : 2048 Bytes
 Spare Size : 64 Bytes
 Pages_Per_Block : 64
 Number_of_Blocks : 2048
 Device_width : 2 Byte
 DeviceSize : 256 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]...Done
Flashing image ...
Number of blocks needed for header and data: 0x1
Attempting to start write in block number 0x0.
Writing image data to Block 0 Page0x0
Verify failed. Attempting to clear page
Attempting to start write in block number 0x1.
Writing image data to Block 1 Page0x0
Verify failed. Attempting to clear page
Attempting to start write in block number 0x2.
Writing image data to Block 2 Page0x0
Verify failed. Attempting to clear page
Attempting to start write in block number 0x3.
Writing image data to Block 3 Page0x0
Verify failed. Attempting to clear page
==================================

Thanks,
Shunnian