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.

Error in loading IBL on EEPROM at EVM C6678 in big endian mode

Hello all,

I'm trying to run NAND over I2C and its working fine in little endian mode. But i want to run same thing in big endian and DSP got stuck after loading the file C:\ti\mcsdk_2_01_02_05\tools\boot_loader\ibl\src\make\bin\i2crom_0x51_c6678_be.bin file into EEPROM. After loading the file When i change the boot mode from Noboot to I2C mode DEVSTAT: 0x0000080A, i believe it must show DEVSTAT: 0x0000082A.

pls help me guys to resolve this issue...

thanks in advance.

rgds,

Gourav

  • Hi Gourav,
    1. Please ensure to select the Big endian mode selected on boot mode switches. (SW3,1)
    processors.wiki.ti.com/.../TMDXEVM6678L_EVM_Hardware_Setup

    2. Please re-build the eeprom writer utility in big endian mode.

    3. Upon step 2 completion, use the eeprom writer to load the i2crom_0x51_c6678_be.bin.

    Thank you.
  • hi Rajasekaran,

    Thanks for your attention on my query... i have done in the same way only. But it didnt work for me.

    But when i enabled  "swap" option during loading into memory it worked. i guess " i2crom_0x51_c6678_be.bin" file needs swapping option but dont know why ???

    can you pls answer this if you have come across ever ???

    another thing its regarding NAND write, im able to write data into NAND flash in little endian but getting below error with big endian....

    Flashing block 1 (0 bytes of 511101)

    Flashing block 2 (16384 bytes of 511101)

    Flashing block 3 (32768 bytes of 511101)

    Flashing block 4 (49152 bytes of 511101)

    Flashing block 5 (65536 bytes of 511101)

    Flashing block 6 (81920 bytes of 511101)

    Flashing block 7 (98304 bytes of 511101)

    Flashing block 8 (114688 bytes of 511101)

    Flashing block 9 (131072 bytes of 511101)

    Flashing block 10 (147456 bytes of 511101)

    Flashing block 11 (163840 bytes of 511101)

    Flashing block 12 (180224 bytes of 511101)

    Flashing block 13 (196608 bytes of 511101)

    Flashing block 14 (212992 bytes of 511101)

    Flashing block 15 (229376 bytes of 511101)

    Flashing block 16 (245760 bytes of 511101)

    Flashing block 17 (262144 bytes of 511101)

    Flashing block 18 (278528 bytes of 511101)

    Flashing block 19 (294912 bytes of 511101)

    Flashing block 20 (311296 bytes of 511101)

    Flashing block 21 (327680 bytes of 511101)

    Flashing block 22 (344064 bytes of 511101)

    Flashing block 23 (360448 bytes of 511101)

    Flashing block 24 (376832 bytes of 511101)

    Flashing block 25 (393216 bytes of 511101)

    Flashing block 26 (409600 bytes of 511101)

    Flashing block 27 (425984 bytes of 511101)

    Flashing block 28 (442368 bytes of 511101)

    Flashing block 29 (458752 bytes of 511101)

    Flashing block 30 (475136 bytes of 511101)

    Flashing block 31 (491520 bytes of 511101)

    Flashing block 32 (507904 bytes of 511101)

    Reading and verifying block 1 (0 bytes of 511101)

    Failure in reading block 1

    Returned platform error number is 0

    Flashing block 1 (0 bytes of 511101)

    Flashing block 2 (16384 bytes of 511101)

    Flashing block 3 (32768 bytes of 511101)

    Flashing block 4 (49152 bytes of 511101)

    Flashing block 5 (65536 bytes of 511101)

    Flashing block 6 (81920 bytes of 511101)

    Flashing block 7 (98304 bytes of 511101)

    Flashing block 8 (114688 bytes of 511101)

    Flashing block 9 (131072 bytes of 511101)

    Flashing block 10 (147456 bytes of 511101)

    Flashing block 11 (163840 bytes of 511101)

    Flashing block 12 (180224 bytes of 511101)

    Flashing block 13 (196608 bytes of 511101)

    Flashing block 14 (212992 bytes of 511101)

    Flashing block 15 (229376 bytes of 511101)

    Flashing block 16 (245760 bytes of 511101)

    Flashing block 17 (262144 bytes of 511101)

    Flashing block 18 (278528 bytes of 511101)

    Flashing block 19 (294912 bytes of 511101)

    Flashing block 20 (311296 bytes of 511101)

    Flashing block 21 (327680 bytes of 511101)

    Flashing block 22 (344064 bytes of 511101)

    Flashing block 23 (360448 bytes of 511101)

    Flashing block 24 (376832 bytes of 511101)

    Flashing block 25 (393216 bytes of 511101)

    Flashing block 26 (409600 bytes of 511101)

    Flashing block 27 (425984 bytes of 511101)

    Flashing block 28 (442368 bytes of 511101)

    Flashing block 29 (458752 bytes of 511101)

    Flashing block 30 (475136 bytes of 511101)

    Flashing block 31 (491520 bytes of 511101)

    Flashing block 32 (507904 bytes of 511101)

    Reading and verifying block 1 (0 bytes of 511101)

    Failure in reading block 1

    Returned platform error number is 0

    Flashing block 1 (0 bytes of 511101)

    Flashing block 2 (16384 bytes of 511101)

    Flashing block 3 (32768 bytes of 511101)

    Flashing block 4 (49152 bytes of 511101)

    Flashing block 5 (65536 bytes of 511101)

    Flashing block 6 (81920 bytes of 511101)

    Flashing block 7 (98304 bytes of 511101)

    Flashing block 8 (114688 bytes of 511101)

    Flashing block 9 (131072 bytes of 511101)

    Flashing block 10 (147456 bytes of 511101)

    Flashing block 11 (163840 bytes of 511101)

    Flashing block 12 (180224 bytes of 511101)

    Flashing block 13 (196608 bytes of 511101)

    Flashing block 14 (212992 bytes of 511101)

    Flashing block 15 (229376 bytes of 511101)

    Flashing block 16 (245760 bytes of 511101)

    Flashing block 17 (262144 bytes of 511101)

    Flashing block 18 (278528 bytes of 511101)

    Flashing block 19 (294912 bytes of 511101)

    Flashing block 20 (311296 bytes of 511101)

    Flashing block 21 (327680 bytes of 511101)

    Flashing block 22 (344064 bytes of 511101)

    Flashing block 23 (360448 bytes of 511101)

    Flashing block 24 (376832 bytes of 511101)

    Flashing block 25 (393216 bytes of 511101)

    Flashing block 26 (409600 bytes of 511101)

    Flashing block 27 (425984 bytes of 511101)

    Flashing block 28 (442368 bytes of 511101)

    Flashing block 29 (458752 bytes of 511101)

    Flashing block 30 (475136 bytes of 511101)

    Flashing block 31 (491520 bytes of 511101)

    Flashing block 32 (507904 bytes of 511101)

    Reading and verifying block 1 (0 bytes of 511101)

    Failure in reading block 1

    Returned platform error number is 0

    NAND write failed (maximum retries reached)

    can you run my files in your EVM and let me know the output?

     Bin file and nand writer .out file is attached 

    bin.rar

    thanks,

    Gourav

  • Hi Rajasekaran,

    Waiting for your reply...
    do u have any working code for NAND flash in big endian????
    rgds,
    Gourav