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.

waiting for SFT on OMAP-L138... command failed

Other Parts Discussed in Thread: OMAP-L138, OMAPL138

Hi,

I am trying to erase nand flash  using commands "sfh_omap_l38.exe -erase -flashType NAND" on the omap-l138 board.

The information output is as follows:

If there is some problem with the nand flash ?Even the nand flash is not working.

thank you

Regards

  • I don't know if this will help you as I am new to the OMAP-L138, but using the targetType worked for me. For example, I used -targetType OMAPL138_LCDK on my LCDK board. Maybe adding the appropriate targetType for your project will work.

    good luck

    --dave

  • Hi Dave

        It is not the answer, because the default is OMAPL138,but thank you very.

    switch (cmdParams.CMDMagicFlag)
    {

       case MagicFlags.UBL_MAGIC_ERASE:

        {

            status = TransmitErase();
            break;
        }

    }

     if (!status)

    {

            Console.Write("\nCommand failed\n");
            return;

    }

    private static Boolean TransmitErase()
    {
    string a1;
    uint flashSize;
    try
    {
    // Receive size of flash to be erased.
    // First get keyword SIZE followed by the number of bytes

    if (!SerialIO.waitForSequence(" SIZE\0", " FAIL\0", MySP, cmdParams.verbose))
    {
    return false;
    }

    ......

    }

    into the source code and found the error, but could not find cause of the error.

    I do not know the reasons of software or hardware.

  • What is the version of the flashing tools you are using and is this a custom hardware or the OMAPL138 EVM

    Regards,

    Rahul

  • Hi,

    Rahul,what i use of version is 1.67

    It is achieved in accordance with the OMAPL138 EVM hardware.Different flash only nand flash, is directly connected to the omapl138 chip, rather than through the logic board is connected to the logic PC.
    Hardware checked no problem, so I do not know where is the problem.
    thank you

    Regards
  • Hi Feng,

    I am not quite sure why you are seeing this error message. Can you connect to the device using an emulator? If yes, you might be better served to use the NAND writer CCS project provided in the FLash and boot uitlities package. Using that code you will be able to single step through the flashing process and will know exactly where code stopped executing.

    Regards,

    Rahul