Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 12 Jun 2007 08:29 AM by  jesus.ruizdeinfante@hale.at
Cannot mount Compact Flash using LOLO
 13 Replies
Sort:
You are not authorized to post a reply.
Author Messages
dadawan@gmail.com
New Member
New Member
Posts:


--
05 Jun 2007 10:21 AM
    I just got our MIMXC31SOM Zoom kit today.

    I have tried several Compact Flash cards in the slot, including the one that works fine with our PXA270 kit. However, when us the LOLO command

    mount fatfs /cf

    I get the following error:
    timeout resetting cf card
    error: mount: failed to open (ATA)

    I have successfully updated to version 2.3.5 of Lolo, but this did not help.

    Thanks for your time,
    -Kevin
    richard.laborde@logicpd.com
    Basic Member
    Basic Member
    Posts:247


    --
    05 Jun 2007 10:47 AM
    dadawan -

    What is the part number of your kit? It can be found on a sticker on the SOM. It should be 1006XXX Rev. X

    Thanks
    dadawan@gmail.com
    New Member
    New Member
    Posts:


    --
    05 Jun 2007 10:49 AM
    Quote:
    What is the part number of your kit? It can be found on a sticker on the SOM. It should be 1006XXX Rev. X


    It is 1006581 Rev 2

    -Kevin
    kurtl@logicpd.com
    New Member
    New Member
    Posts:


    --
    05 Jun 2007 03:04 PM
    What type of partition do you have setup on the card?
    dadawan@gmail.com
    New Member
    New Member
    Posts:


    --
    05 Jun 2007 03:12 PM
    They are formatted as FAT partitions. The one card is the same one which we use in our LPD PXA270 kit. I assume that the command to mount the card using Lolo is the same whether you are using the IMX31 board or the PXA270 board:

    mount fatfs /cf

    -Kevin
    kurtl@logicpd.com
    New Member
    New Member
    Posts:


    --
    05 Jun 2007 03:16 PM
    Yep, commands are the same.

    Hopefully our SW guys will chime in, I am pretty sure FAT16 should work, FAT32 may not. I have seen issues in the past were customers used winCE to format the cards, but then upon rebooting the system Lolo stopped recognizing the partitions....

    For our records can you post the CF card brand, density, any model numbers if applicable?
    jesus.ruizdeinfante@hale.at
    New Member
    New Member
    Posts:


    --
    06 Jun 2007 02:02 AM
    Same here


    *****************************************************************

    LogicLoader

    (c) Copyright 2002-2006, Logic Product Development, Inc.
    All Rights Reserved.
    Version pre2.4-IMX31_10 0001
    *****************************************************************

    losh>
    losh> mount fatfs /cf
    timeout resetting cf card
    error: mount: failed to open (ATA)
    error: mount: failed to open
    losh>


    LITEKIT P/N: 10062XX REV 1
    CF card formated as FAT16
    ThomasHill
    New Member
    New Member
    Posts:


    --
    06 Jun 2007 07:14 AM
    I don't know if this is your problem, but the partition not only must be a FAT partition, but must also be a primary partition. An extended partition will not work.

    We've had problems with Windows (PC or CE) always trying to format the partitions as extended rather than primary.
    kurtl@logicpd.com
    New Member
    New Member
    Posts:


    --
    06 Jun 2007 08:40 AM
    jesrui,

    For you kit revision, you must change to Lolo version 2.3.3 which is available on the LogicPD website in order to make compact flash interface work. Version 2.3.5 will NOT work for your product.

    This is a direct link if you are logged in already:
    http://www.logicpd.com/do...ves/1998/1007306.zip

    -K
    dadawan@gmail.com
    New Member
    New Member
    Posts:


    --
    06 Jun 2007 12:23 PM
    My compact flash mounted fine on the first try this morning. I went through and tried all the cards that failed yesterday, and they all work.

    I've been working with it all day, and the original problem has not recurred. It is a mystery.


    -Kevin
    dadawan@gmail.com
    New Member
    New Member
    Posts:


    --
    07 Jun 2007 10:01 AM
    OK, the mounting of the CF card just failed again. I am using the same CF card that worked all day yesterday. The sequence was:

    1.) I push the CF card securely in the slot.
    2.) Pressed the On power button on the Dev board
    3.) see the following:

    *****************************************************************

    LogicLoader

    (c) Copyright 2002-2006, Logic Product Development, Inc.
    All Rights Reserved.
    Version 2.3.5-IMX31_10 0001
    *****************************************************************

    losh> mount fatfs /cf
    timeout resetting cf card
    error: mount: failed to open (ATA)
    losh>

    After that I power cycled and tried again without touching the CF card, and it worked fine.


    -Kevin
    rbunce
    New Member
    New Member
    Posts:


    --
    08 Jun 2007 03:14 AM
    I can't get CF to work either. I've followed all the suggestions in this thread, but no luck. As well as the errors reported by others, I also sometimes get an ata_read error as shown below.

    Baseboard 1007052 Rev 1
    SOM 1006581 Rev 2
    128Mb Fuji CF
    LoLo 2.3.5 (also tried 2.3.3, same results)

    Any further suggestions would be very welcome!

    - Roy -


    losh> mount fatfs /cf
    timeout resetting cf card
    error: mount: failed to open (ATA)
    losh>
    losh>
    losh> mount fatfs /cf
    ata_read: lba too big, 1 at lba:-471859200
    read_partition_info: read failed
    error: mount: unable to mount (/)
    losh> mount fatfs /cf
    error: mount: unable to mount (/)
    losh>
    rbunce
    New Member
    New Member
    Posts:


    --
    08 Jun 2007 04:40 AM
    Aha! It didn't like the Fuji CF card. I've now tried a Kingston 1Gb "elite pro" and it works - at least for now,

    - Roy -
    jesus.ruizdeinfante@hale.at
    New Member
    New Member
    Posts:


    --
    12 Jun 2007 08:29 AM
    So, I burned Lolo-2.3.3 on my REV 1 LITEKIT and the cf works now, but sometimes I must power cycle the board just as commented by dadawan.

    NOTE: Flashing the new LOLO version didn't go without suspense:

    I first tried the easy way: 1007306_lolo.upd

    *****************************************************************

    LogicLoader

    (c) Copyright 2002-2006, Logic Product Development, Inc.
    All Rights Reserved.
    Version pre2.4-IMX31_10 0001
    *****************************************************************

    losh>
    losh> update
    send update file:
    update failed
    error: update: file for wrong platform
    losh> update
    send update file:
    update failed
    error: update: file for wrong platform
    losh>


    I tried then with the elf file: 1007306_lolo.elf

    *****************************************************************

    LogicLoader

    (c) Copyright 2002-2006, Logic Product Development, Inc.
    All Rights Reserved.
    Version pre2.4-IMX31_10 0001
    *****************************************************************

    losh> load elf
    loading from stdin:
    ...............................
    ELF section 0: download address: 0x80200060 load address: 0xa0000000
    loaded 253500 @ 0xa0000000 Flash
    ...done
    file loaded to ram buffer, destined for flash addr: 0xa0000000
    losh> burn


    *****************************************************************
    *****************************************************************

    Warning

    You are about to overwrite flash block zero.

    Flash block zero is the default boot sector for this device.
    If programming fails for any reason (power loss, bad image, etc.)
    your system may no longer boot.
    Even if programming completes successfully, if the new image
    does not boot properly your system may become useless.

    Confirmation is required before continuing.

    *****************************************************************
    *****************************************************************

    Do you wish to continue? (y/n)
    Please type "confirm" to confirm: confirm

    burning 253500 bytes from 80200000 to /dev/flash0
    erasing flash: 100%
    burning flash: 100%
    burn good (253500 bytes)
    losh>

    *****************************************************************

    LogicLoader

    (c) Copyright 2002-2006, Logic Product Development, Inc.
    All Rights Reserved.
    Version 2.3.3-IMX31_10 0001
    *****************************************************************
    losh>
    You are not authorized to post a reply.