hi,
I designed a board which apply with LogicPD OMAPL138_EVM, On my board ,this is a 512MB nandflash, but when I test the nandflash use nand_test.out,some errors
occurs below:
------------------------------------------------------------
Starting DA8xx_NANDWriter.
DA850/OMAP-L138 part detected. Its an ARM boot device
You require two images to boot this device
1) ARM UBL in AIS file format.
2) U-Boot image in raw binary format
To generate the AIS format file, you need to run the ARM/DSP .out (??le generated from CCS build through the AISGen tool.
Enter the image type (one of "armais" "uboot" "other")
The CIO command cmd:(168) in the CIO buffer at address (0xc101bfb0) was not recognized. Please check the device and program memory maps.
Enter the file Name
The CIO command cmd:(40) in the CIO buffer at address (0xc101bfb0) was not recognized. Please check the device and program memory maps.
The CIO command cmd:(160) in the CIO buffer at address (0xc101bfb0) was not recognized. Please check the device and program memory maps.
The CIO command cmd:(168) in the CIO buffer at address (0xc101bfb0) was not recognized. Please check the device and program memory maps.
The CIO command cmd:(168) in the CIO buffer at address (0xc101bfb0) was not recognized. Please check the device and program memory maps.
The CIO command cmd:(176) in the CIO buffer at address (0xc101bfb0) was not recognized. Please check the device and program memory maps.
The CIO command cmd:(168) in the CIO buffer at address (0xc101bfb0) was not recognized. Please check the device and program memory maps.
Number of blocks needed for data: 0x1
Size out of range. Cannot write upto block number 0xFFFFBFFF
ERROR: Write failed.
NAND flashing failed!
The CIO command cmd:(176) in the CIO buffer at address (0xc101bfb0) was not recognized. Please check the device and program memory maps.
The CIO command cmd:(40) in the CIO buffer at address (0xc101bfb0) was not recognized. Please check the device and program memory maps.
The CIO command cmd:(160) in the CIO buffer at address (0xc101bfb0) was not recognized. Please check the device and program memory maps.
The CIO command cmd:(168) in the CIO buffer at address (0xc101bfb0) was not recognized. Please check the device and program memory maps.
OMAP-L138 NAND Test
Test Description
----------------
This code will configure the EMIFA to interface with NAND
flash on the UI board. Once configured, the code will read
and write a block of NAND.
------------------------------------------------------------
Initialize the Required BSL Modules
-----------------------------------
dev_id[0]: 0xEC
dev_id[1]: 0xDC
dev_id[2]: 0x10
dev_id[3]: 0x95
dev_id[4]: 0x54
Execute Test
------------
--- check bad block ---
block: 2 good
--- read/print a chunk of nand flash ---
Print Data
----------
address 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
...
000007F0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
nand flash read passed
--- erase a block of nand flash ---
data does not match! nand flash erase failed
********** OMAP-L138 TEST FAILED **********
I test address 0xc101bfb0 of DDR2 ,test passed. I load program to DDR2 ,It run ok. So I check the Nandflash hardware design ,it is ok, I don't know why,
please give me a hand ,thanks very much!