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.

pserial.exe versus Flash Tool v1.6.0.0 Problems

Hello,

when I flash my RAW image file AM35x-nand.raw over pserial.exe (with XLDRUART.nb0 and xmodem) its starting from NAND and everything is okay.

If I try it with the Flash Tool 1.6 (HW ECC, 1bit ECC, ECC-Layout: X-Loader), it did not work. I have a 8bit flash and changed the flash configuration line to following values:

memory NANDINFO1BITBOOT   driver Targets\Flash-Drivers\nand_onfi_16bit_8bit.bin parameters gpmc 0x6E000000 cs 0 address 0x30000000 bberase 1 onfi 0 bpp 2048 sbpp 64 ppb 64 bpl 2048 l 1 acv 0x23 f 0x0018 eccoffset 2

Thanks ahead!

  • Greg:

    You also need to change GPMC to 8-bit interface:

    Change from:

    WRITE         GPMC_CONFIG1_0       0x00001800   /* For x16 NAND */

    Change to:

    WRITE         GPMC_CONFIG1_0       0x00000800  /* For x8 NAND */

    Also "berase 1" is dangerous.  It removes factory set bad block

     

    regards,

    Michael T

  • Hello Michael,

    I missed it - many thanks, now it does its work :-)

    I used "berase", because there was a Linux versus before in the flash and when I erased it the first time, there where so many bad blocks that I couldn't believe it.

    After I set "berase 1", most blocks seem to be okay and I have only 5 bad blocks left.

    Thanks again!