Go to previous topic
Go to next topic
Last Post 08 Apr 2008 10:36 AM by  sampath
Flash programming in MPC8360E-RDK
 5 Replies
Author Messages
sampath
New Member
New Member
Posts:


--
07 Apr 2008 03:50 PM
    Hi,

    I am unable to program the flash for my MPC8360E-RDK. I need to boot with my software from flash rather than from U-BOOT. I used 8360RDK_NOR_FLASH.xml and 8360RDK_init.cfg. The message is:
    Can not read target memory at location: 0x00002000. Please make sure that the chip selects are properly configured. The CWPP response code is: 0x0.

    Please let me know which configuration files I ought to be using.

    Sampath
    peter.barada@logicpd.com
    New Member
    New Member
    Posts:72


    --
    08 Apr 2008 07:56 AM
    Sampath,

    How are you trying to program the flash? Through u-boot? If so, then you'll find that the NOR flash is at the *last* eight MB of address space (since it contains interrrupt vector tables, etc), so from u-boot's perspective, flash starts at 0xfff80000. Look at the output of "flinfo".
    sampath
    New Member
    New Member
    Posts:


    --
    08 Apr 2008 10:08 AM
    Peter,

    Thanks for your reply. I attempted to program flash using the codeWarrior. The init files I mentioned are that of CodeWarrior for the RDK.

    Sampath
    sampath
    New Member
    New Member
    Posts:


    --
    08 Apr 2008 10:08 AM
    Peter,

    Thanks for your reply. I attempted to program flash using the codeWarrior. The init files I mentioned are that of CodeWarrior for the RDK.

    Sampath
    peter.barada@logicpd.com
    New Member
    New Member
    Posts:72


    --
    08 Apr 2008 10:19 AM
    Hmm, I've never worked with Code Warrior, so I don't have a clue how to set it up to rpgram flash. You'll want to ask Freescale about that.

    Going back to you original posting, are you trying replace u-boot, or have your software startup on power-up automagically?
    sampath
    New Member
    New Member
    Posts:


    --
    08 Apr 2008 10:36 AM
    Peter,

    I am sorry for wasting your time. I should have guessed this question is for freescale. I am trying to replace U-BOOT with a pSOS based boot PROM that will ventually be used in the target hardware which is based on RDK.

    Sampath


    ---