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 24 Sep 2007 10:52 PM by  OradFarez
Restoring LoLo Without JTAG
 4 Replies
Sort:
You are not authorized to post a reply.
Author Messages
dvona
New Member
New Member
Posts:


--
10 Jul 2007 08:37 AM
    Greetings,

    Is it possible to restore the LogicLoader in the IMX31 litekit without a JTAG emulator. I'm wondering if the Freescale HAB toolkit can be used with the Logic Board?

    Thanks,
    -Dan
    davek
    New Member
    New Member
    Posts:


    --
    17 Jul 2007 11:27 AM
    Dan, if you find out the answer to your question, I would LOVE to know. I'm fighting with this right now too.
    mikee@logicpd.com
    New Member
    New Member
    Posts:


    --
    18 Jul 2007 04:24 PM
    Dave and Dan,

    Unfortunately, we at Logic have never tried to use the HAB kit to burn flash. Thus, I'm not sure if it will work or not.

    You are certainly welcome to contact our support team and we can look into this for you.

    Best regards,
    --mikee
    davek
    New Member
    New Member
    Posts:


    --
    24 Jul 2007 11:19 AM
    In order to use the HAB toolkit, the BOOT bits on the processor must be configured appropriately. Though there are configurable resistors on the SOM, it's not an easy mod to make. Once the programming is done, the resistors would need to be mod'ed back to boot normally again. Not easy...
    OradFarez
    New Member
    New Member
    Posts:


    --
    24 Sep 2007 10:52 PM
    I've been looking into this further and there are even more complications to using the HABToolkit.

    If you have the 2.0 version of the i.MX31 silicon, I think this is easier since the power supply for the FUSE VCC is not routed externally but with earlier revisions that most of us have, I believe this to be the full procedure:

    -Remove R175 and put it in R149 to power fuse supply at 3.3V
    -Reprogram the 1.8V_DDR supply to 1.95V to reduce voltage drop across internal ESD diode
    -Burn fuse register HAB_TYPE (0x5001c810) to 0x00000001 to make the chip a development part
    -Remove R149 and put back in R175
    -Remove code that changed 1.8V_DDR so that it stays at 1.8V
    -Place zero ohm resistors in R57 and R63 to start chip in internal bootloader
    -Power up and run HABToolkit
    -change the code
    -Remove resistors R57, R63

    As you can see it is not easy and not something this devkit was intended to be used for. It is probably easier to make an elf file that runs in RAM and just flashes the NOR chip with new code. Just be careful that this new code works!

    EDIT: By the way, I have not tested all of this. I added the resistors R57 and R63 but HABToolkit does not communicate with the board because, as I found out later, the fuse is not blown on the litekit. Use this information at your own discretion!
    You are not authorized to post a reply.