Search

Technical Discussion Group Forum

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

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

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

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 13 Jul 2007 12:49 AM by  osa@elara.ru
Restoring Logic Loader
 10 Replies
Sort:
You are not authorized to post a reply.
Author Messages
rrobbins6111
New Member
New Member
Posts:


--
01 Dec 2005 07:05 AM
    I am using the Rowley CrossStudio and CrossConnect. Everyting was going well until I tried to execute a program out of flash. Now whenever I try and do anything with the JTAG I get a message "Cannot Stop Target", and I cannot load any of the .ELF files provided for restoring Logic Loader. Are there any specific instructions on how to do this or do you have any other suggestions ?
    rrobbins6111
    New Member
    New Member
    Posts:


    --
    01 Dec 2005 10:10 AM
    After looking in topic of the LH79520, I pull the Mode3 pin low and reset the board. After doing that I can download files but I keep getting a verify error. Still stumped.
    Anonymous
    Posts:


    --
    01 Dec 2005 10:18 AM
    Hello,

    Have you refered to this document?

    http://www.logicpd.com/do...N_70000248_Rev_B.pdf

    You'll want to use the files found here:

    http://www.logicpd.com/do...oads/573/1003682.zip

    1003682_boot.elf:

    These files are destined for internal SRAM. They are used with a JTAG emulator to restore LogicLoader to your module. They are loaded into internal SRAM and are run to intialize DRAM.

    1003682_lolo_ram.elf:

    These files are destined for DRAM. They are used with a JTAG emulator to restore LogicLoader to your module. They are loaded into DRAM after it has been initialized with a PN_boot.* file. They are run to produce a 'losh>' prompt, from which you can restore LogicLoader to flash on your module.

    While your JTAG may not be the same, the process of loading the bootstrap file and then loading the RAM version of LogicLoader should work the same.

    Please let me know if this solves the issues that you're seeing.

    Thanks,
    rrobbins6111
    New Member
    New Member
    Posts:


    --
    01 Dec 2005 11:15 AM
    I still have the mode3 pin pulled low. If I use the build and debug command in CrossWorks with there LED program it loads into ram and executes. But when I stop the target and download the PN_BOOT.ELF it says it is erasing but then I get a download failed message.
    Anonymous
    Posts:


    --
    01 Dec 2005 11:17 AM
    Hello,

    You shouldn't need to have the MODE_3 pin pulled low for this process to work but it shouldn't hurt.

    Are you making sure to run and then break out of the boostrap code before you run the RAM version of LogicLoader?

    Thanks,
    rrobbins6111
    New Member
    New Member
    Posts:


    --
    01 Dec 2005 02:17 PM
    I am still having problems. When I try to load any of the .ELF files I get a verify error. One of the things I notice that seems to be different from before yesterday is that as soon as I power on the board, with the reset button held down, the display comes on with vertical white bars and colored lines. Does this mean the video controller is running ?
    Anonymous
    Posts:


    --
    01 Dec 2005 05:38 PM
    Can you verify that you have the J6 JTAG jumpers set for JTAG operation? They should be set as 1 3 positive, 4 6 negative.

    Also have you contacted the JTAG manufacturer? They will probably have more information about the specific errors that you are encountering.

    Thanks,
    rrobbins6111
    New Member
    New Member
    Posts:


    --
    02 Dec 2005 07:33 AM
    Yes they are set correctly. Everything was working OK untill several days ago. I cannot seem to be able to program the Flash. I am able to download some programs that execute out of sram, but not consistently. I don't know if it is a warmup issue or something else. I have spent several days on this problem so I think I will return the Target board to you to verify that it is not the problem. It will be worth the cost compared to the amount of time I have struggled to resolve it.
    kurtl@logicpd.com
    New Member
    New Member
    Posts:


    --
    02 Dec 2005 12:54 PM
    rrobbins6111

    One more thing you might want to check. Tie uP_MODE3 low, then use the debugger to connect to the CPU. Follow the steps provided in the document Aaronlpd refered to:
    http://www.logicpd.com/do...N_70000248_Rev_B.pdf

    But Tie uP_MODE3 high again before doing step 10. That should solve your flash verifying issues.

    Also regarding your question about the LCD, at reset the LCD is not running, however, there is a signal out of the CPU that controls the back light enable signal of the LCD. So when you hold down RESET, the state of the signal may be causing the LCD backlight to turn on, but the data shown on the screen is invalid so you will see any king of garbage.

    -Kurt
    Anonymous
    Posts:


    --
    02 Dec 2005 03:00 PM
    Hi Robert,

    Just out of curiousity can you detail the process for how you got this failure to happen?

    Thanks,
    osa@elara.ru
    New Member
    New Member
    Posts:


    --
    13 Jul 2007 12:49 AM
    Hi, all.

    I'm using J-LINK JTAG emulator (with J-Flash software) and want to restore corrupt LoLo on my KIT (LH79524), but it does not support .elf - files? only:
    .mot, .bin, .hex, .srec - files.

    Please advise me what todo to restore LoLo on my KIT.

    or pls giveme .bin, .hex - files to restore Lolo or link (url) to those files.

    /cry
    You are not authorized to post a reply.