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 28 Sep 2006 09:15 AM by  Anonymous
Fried LogicLoader
 5 Replies
Sort:
You are not authorized to post a reply.
Author Messages
joy@zeuslearning.com
New Member
New Member
Posts:


--
19 Sep 2006 01:43 AM
    Hi,

    I was trying to attempt to modify the Apex bootloader to boot over the network and somewhere issued a 'delete $env' command. Now the SDK can't seem to boot up.

    I have a JTAG-ICE but that doesn't seem to work with the kit. Any ideas on how I can restore logic loader without using the Jtag interface?

    Thanks,
    Joy.
    Anonymous
    Posts:


    --
    19 Sep 2006 10:00 AM
    Hi Joy,

    What kind of JTAG do you have?

    Thanks,
    joy@zeuslearning.com
    New Member
    New Member
    Posts:


    --
    20 Sep 2006 01:39 AM
    Hi Aaron,

    I have an AT91SAM-ICE (http://www.atmel.com/dyn/...rs&tool_id=3892) which I think is a derivative of the Segger J-Link ICE (http://www.segger.com/jlink.html)

    Thanks for your assistance.

    Regards,
    Joy.
    Anonymous
    Posts:


    --
    20 Sep 2006 11:09 AM
    If your JTAG isn't working then I'm not sure what to tell you other than to contact the manufacturer of your tools and they might be able to get you up and talking to the processor. Are you able to connect to the board at all?

    If you have corrupted flash on the card engine it isn't possible to restore LogicLoader or flash on the board without using a JTAG.
    joy@zeuslearning.com
    New Member
    New Member
    Posts:


    --
    28 Sep 2006 08:55 AM
    Hi,

    We finally managed to restore LoLo without an ICE and using a simple and extremly cheap wiggler clone. Just for everybody's benefit, here are the basic steps outlined.

    1. Get a wiggler clone (if you already have Wiggler jump to Step 2) schmatic. Make a PCB and solder the components/ connectors. (Total Cost < USD 15).

    2. Set the board into JTAG mode by setting the appropriate jumpers.

    3. Connect the clone to the board and then to the PCs Parallel port. Connect the serial cable to the board for use with Tera Term.

    4. Start Tera Term. Start ODC Commander (download for free from macraigor.com) with options -
    target processor : ARM 7 or appropriate, interface device : Wiggler, Connection Port : LPT1 or appropriate

    5. Type "download" on ODC Commander and select lolo_<VER>_<DEVICE>_R_strip.elf (RAM File for Logic Loader). It will copy the file into SRAM.

    6. To execute the file, we need to set the program counter to the starting address of the file. ODC commander will pritn the starting address <address> of the executable after the completion of the download. So,
    type PC <address> on ODC commander.


    7. Type GO on ODC Commander to begin execution. You should now see the logic loader prompt on the Tera Term Terminal.

    8. On the Tera Term terminal, type update. Click file -> send & select the update file lolo_<VER>_<DEVICE>_F.upd. Be sure to see that the Binary checkbox is checked. It will update the flash.

    9. Now type load elf in Tera Term and select lolo binary file lolo_<VER>_<DEVICE>_F_strip.elf (File->Send and Binary checkbox checked).

    10. Type burn on Tera Term to update the image into the Flash.

    12. Disconnect power to the board, remove the wiggler clone, and reset the jumpers on the board for normal operation. Restart the system. You should now be able to get the losh prompt as before.

    Hope this is helpful and happy debugging .
    Anonymous
    Posts:


    --
    28 Sep 2006 09:15 AM
    This is great to hear. Thank you so much for sharing your insightful solution!
    You are not authorized to post a reply.