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 08 Aug 2003 10:37 AM by  Anonymous
Recover from an erased flash
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages
graloubou@yahoo.com
New Member
New Member
Posts:


--
07 Aug 2003 07:27 PM
    Hi,

    We have about 25 LH79520 Zoom SDK with RAVEN JTAGs in an educational environment. One of the board gets the flash completely erased.

    I have tried the recovery procedure "readme_rebuild_bolo.rtf" but it not worked.

    Then I have tried to use a flash tool "OCDemon Flash Memory Programmer" to copy flash image from an healty board to the dead one.

    In all cases, the JTAG refuses to connect to the dead one, saying that "cable is disconnected".

    In the production environment, you at LogicPD might have a procedure to install the very first image from scratch. Do the LH79520 need some initialization before the JTAG interface work?

    Thank you in advance.
    Anonymous
    Posts:


    --
    08 Aug 2003 10:37 AM
    Hello,

    Sorry to hear you are having difficulty restoring the bootloader to the LH79520. The Raven has been verified to work using both OCDCommander and OCDLibRemote (through a Cygwin environment) software. Logic has not verified the OCDemon Flash Memory Programmer.

    We always welcome feedback on our products and documentation. How far along did you get in the rebuild readme procedure? Is Cygwin properly installed? Can you connect successfully using OCDLibRemote?

    A couple of suggestions:
    1. verify the Raven is plugged in. (the power LED will be lit up)
    2. verify pin 1 of the Raven (designated by arrow, darker blue wire on ribbon cable) is connected to pin 1 of the J36 JTAG header.
    3. configure the paralllel port to EPP mode. Configuration is done by entering the BIOS setup after rebooting the PC.
    4. change the speed settings in the OCDLibRemote Command line. Default is 5. try 4 and/or 3.

    Below are instructions for reburning Flash using OCDCommander. OCDCommander is available for free download through http://www.macraigor.com. The instructions were sent to Logic from a customer and have been modified to work through Tera-term.

    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_79520_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_LLH79520_10_LCE_strip_RAM // load RAM version of bolo
    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'. select the most current bolo flash file available for download from http://www.logicpd.com
    10. losh> burn
    11. Enter 'y' and 'confirm' when asked if you really want to
    do this.
    12. losh> load elf
    13. from 'file' menu, select 'send file'. select the most current lolo flash file available for download from http://www.logicpd.com
    14. losh> burn

    If you reset the board now, you should see the Lolo header and
    losh prompt.

    Please let me know if this works, or if it doesn't how far along you can get in the procedure using both OCDLibRemote and OCDCommander.

    Regards,

    Andrew Wawra
    Tech Support
    Logic Product Development
    You are not authorized to post a reply.