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 11 Feb 2008 10:14 AM by  serkam
serial eeprom: how to erase it? URGENT!
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages
serkam
New Member
New Member
Posts:


--
11 Feb 2008 06:28 AM
    I have a Litekit loaned from Future Electronics Brazil. This Litekit came with a script to boot Windows CE on power-on, probably done by a previous customer. I did try to erase the serial eeprom using:

    erase 0 128 /dev/serial_imx31_ff

    but the command didn't operate. I got an error:

    error: erase: erase failed ((0) start=0x0: len=0x80)

    and the Litekit continues to try to boot Windows CE.
    I did try also:

    erase 0 128 /dev/serial_eeprom

    as listed in the operating manual, but this device doesn't exist in the Litekit:

    error: erase:failed to open(/dev/serial_eeprom)

    Probably, this manual is a generic one to all kits from LogicPD.

    So, my question: how to erase this serial eeprom?

    Second question: if I erase this serial eeprom, can I loose some vital information of this Litekit, such serial number, initialization of some kind ou something else?

    Thanks in advance

    Sergio Kamakura
    Warp Tecnologia
    richard.laborde@logicpd.com
    Basic Member
    Basic Member
    Posts:247


    --
    11 Feb 2008 09:26 AM
    Sergio,

    There is no serial_eeprom support in the current LoLo. The script is in the config block.

    You can view it with

    cat /dev/config

    If you just wish to disable the script you can remove the first letter from the script with

    echo "" /dev/config

    You can also erase the config block with

    config CREATE

    but this will delete everything in the config block.

    The kits ship with an uninitialized config block, so you will only delete the information put in by your coworkers.

    Thanks

    Richard
    serkam
    New Member
    New Member
    Posts:


    --
    11 Feb 2008 10:14 AM
    Hi Richard

    Thank you for your advice. I did as you mentioned and voilá, I can boot my Litekit to default losh> prompt.

    Only as a sugestion, may be LogicPD could print a LoLo User Manual specific for each kit, to avoid such kind of misunderstands that I did. This leave us in a high stress condition, mainly when we just powered on the kit for the first time and we are scared to NOT see some kind of "smoke" coming from the board... you see? And, what I can say when, in place of a lovely prompt losh>, what I can see is a lot of prints of an abnormal abort! Terrible...

    Anyway, problem solved.

    Thanks a lot.

    Sergio Kamakura
    Warp Tecnologia
    You are not authorized to post a reply.