Go to previous topic
Go to next topic
Last Post 24 Nov 2004 09:46 AM by  mikee@logicpd.com
Codewarrior's Flash Programmer issue
 1 Replies
Author Messages
kiran
New Member
New Member
Posts:


--
19 Nov 2004 08:26 AM
    Hello,
    I am trying to Flash simple standalone application into the boot flash memory but I am running into problem with codewarrior Flash programmer.

    Following steps I did:
    1. At Codewarrior IDE-> Flash Programmer, loaded the settings "M5485EVB_BootFlash.xml" found in Codewarrior's directory chain[Metrowerks\CodeWarrior\E68K_Support\Initialization_Files ]

    2.When I tried to Program the ELF to Flash, I get the message that it is programming but it stays there even after 20-25 minutes !!!.

    3. Here is log of "Flash Programmer"

    *****************************************************
    Unkown Error.



    ======================================================================
    === Target Configuration Settings
    === Connection: PEMICRO_USB
    === Target Processor: 548x
    === Target Init File: D:\Metrowerks\CodeWarrior\E68K_Support\Initialization_Files\MCF5485EVB.cfg
    ======================================================================
    Connecting......Connected


    ======================================================================
    === Execute: Program
    === Timestamp: Fri Nov 19 10:19:54 2004
    === Flash Device: TE28F160C3B
    === Flash Organization: 1Mx16x1
    === Flash Mem Start Addr: 0xFFE00000
    === Flash Mem End Addr: 0xFFFFFFFF
    ======================================================================
    Using Algorithm: Intel_TE28F160C3B.elf

    Loading Flash Device Driver at: 0x00000000
    Flash Driver Buffer is at: 0x00001800
    Flash Driver Buffer Size is: 0x00004800
    Done

    Initialization Command Succeeded
    Programming file E:\devlp\test\mcf547x-8x\obj\mwerks\m5485evb\m5485evb_eth-tx_flash.elf
    Trying auto-detect...
    File is NOT of type Binary/Raw Format.
    Auto-detection is successful.
    File is of type Elf Format.

    Programming 0x000076B0 bytes of Target Memory at 0xFFE00000
    *******************************************************************************

    Let me know what I am missing here !. Any help is appreciated.

    Thanks in advance.

    -Kiran
    Embedded systems engineer
    Northern Power systems
    Waitsfield, VT
    mikee@logicpd.com
    New Member
    New Member
    Posts:


    --
    24 Nov 2004 09:46 AM
    kiran,

    I can't speak for the CodeWarrier tools as we don't use them in house.

    Freescale provides a flash programming utility for download on their web page. Go to http://www.freescale.com and search their site for the string "M54X5EVBUPDATER." I found it about 2/3 of the way down this page under the title "Programmers":

    http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=M5485EVB&nodeId=018rH3YTLC00M9

    Internally, we use that to program dBUG and the LogicLoader on to the device. It should work for your application as well.

    Hope that helps,
    --mikee


    ---