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.

TMS320DM368: UBL Booting From NAND Flash Failed

Part Number: TMS320DM368


Hi,

We are using Leopard DM368 TB-02 EVM hardware and Appro IPNC RDK V5.1.0 for the development. We are able to bring up Kernel and File system build using IPNC 5.1 on Leopard Board

We want to build and boot the board using new UBL (IPNC UBL). We have built the UBL using the CCSv5 and database provided in Utils folder in IPNC5.1.0. UBL Version is 1.50

I am using dm3xx_sd_boot-6 application provided by the Leopard to flash the UBL to NAND.

But booting using UBL build from IPNC is failed. I have added some debug prints in the UBL and found out that NAND Get ID command is giving wrong bytes which contains manufacturing ID and device ID

Get ID command is getting different bytes each time as follows :

Trail 1:
Byte 0x00000000:0x00000020
Byte 0x00000001:0x000000FE
Byte 0x00000002:0x000000FE
Byte 0x00000003:0x00000020
Byte 0x00000004:0x000000FE

Trail 2:
Byte 0x00000000:0x000000FE
Byte 0x00000001:0x00000020
Byte 0x00000002:0x000000FE
Byte 0x00000003:0x00000020
Byte 0x00000004:0x000000FE

Trail 3:
Byte 0x00000000:0x000000FE
Byte 0x00000001:0x0000004F
Byte 0x00000002:0x0000004E
Byte 0x00000003:0x00000046
Byte 0x00000004:0x00000049

This behaviour looks like some timing related issues.

My Async EMIF Timing register values are as follows:

AWCCR : 0x000000FF (Asynchronous Wait Cycle Configuration Register)
A1CR : 0x40400204 (Asynchronous Configuration Register 1)
A2CR : 0x00A00505 (Asynchronous Configuration Register 2)

I think above timing values are proper. Because Leopard also has same values(read from Uboot and confirmed)

APPRO IPNC uses 128 MB NAND (Part Number: K9F1G08U0B-PCB0). Leopard Hardware uses 265MB NAND (Part Number: MT29F2G08AADWP). Apart from size difference I did not find any other differences between the NANDs.

Am I missing anything ?? Should I change any other timings or clock related settings ??

Regards,
Pranay kumar