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 27 Apr 2004 04:57 PM by  codeusj@earthlink.net
unable to open /dev/flash0 for burn
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages
codeusj@earthlink.net
New Member
New Member
Posts:


--
24 Apr 2004 05:03 PM
    in an attemp to restore bolo I have encountered the following:

    ----------------------------------------------

    elf file type : 0x0002
    machine type: 0028 version: 1
    prog start addr : 0x00000000
    num prog headers: 1
    num sect headers: 7
    offset : 0x00000054 disk length: 0x0000f944 mem len: 0x0000f944
    phyaddr: 0x00000000 vaddr : 0x00000000 dl addr: 0xc0180000
    ignoring rest of file... 35 bytes. done
    running md5sum on the _loaded_ portion of the file:
    2dd5d2111385d7292aa8116e203651d1 - addr: c0180000 len: 0000f944
    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 overwrite flash block zero: confirm

    Overwriting flash block zero.
    unable to open /dev/flash0 for burn
    command failed
    usage:
    burn [device]
    burns the already-loaded image into flash device 'device'
    example:
    losh>

    ---------------------------------------------------


    Can some one enlighten me to what may be the problem

    Kind regards

    John D.G. Codeus[/b]
    mikee@logicpd.com
    New Member
    New Member
    Posts:


    --
    27 Apr 2004 03:14 PM
    Hi,

    Can you please tell me what version of the LogicLoader you are using. You may very well need to use the "update" command.

    Thanks,
    --mikee
    codeusj@earthlink.net
    New Member
    New Member
    Posts:


    --
    27 Apr 2004 04:57 PM
    I am following these instructions with the images named below:

    OCD Commander instructions to reinstall the bootloader to flash:


    1. Open OCD Commander and connect to your board via the
    CONNection dialog.
    2. Halt the system by pressing <Halt> button.
    3. Download bs_7400_dbg.elf
    4. Press <Go> button to run the bootstrap code just loaded.
    Give it a couple seconds.
    5. Halt the system again.
    6. Download bolo_LLH7a400_10_LCE_strip_RAM
    7. a. open up a tera-term window
    b. Press <Go> button. You should see the Bolo header and
    losh prompt on tera-term.

    Through a tera-term window:

    8. losh> load elf
    9. from 'file' menu, select 'send file'. with bolo_LLH7a400_10_LCE_strip_FLA image
    10. losh> burn
    11. Enter 'y' and 'confirm' when asked if you really want to
    do this.

    THEN:

    Overwriting flash block zero.
    unable to open /dev/flash0 for burn
    command failed
    usage:
    burn [device]
    burns the already-loaded image into flash device 'device'
    example:
    losh>
    You are not authorized to post a reply.