RE: mpc555 internal flash programming

prathamesh patki <[email protected]> Mon, 24 Sep 2007 11:28:48 -0700 (PDT)
Newsgroups gmane.comp.hardware.motorola.microcontrollers
Message-ID <[email protected]>
Hi Dees,
  Thanks a lot.
  Pulling D20 to high and /RSTCONF to low worked. I could write into internal flash. 
  But now a new problem i am getting that is if i remove the debug probe, And then power on the target, The code doesnot start to execute. 
  If through debuger i give run command it executes.
   
  In my program, I have given a jump to main at location 0x100 which is the reset location of mpc555. 
  This same code i have tested on phycore mpc555 evaluation board it works over there. So is there anything specific we need to do in the hardware to start executing from internal flash.
   
  - Prathamesh 

Dees Randy-rsaf30 <[email protected]> wrote:
          Actually, all you have to do is set the FLEN in the IMMR (SPR 638) to
enable the access to the flash from the debugger. This is easier than
setting the the external hardware config word. But if you want to force
the external reset config word, pull RSTCFG low and put a pull up on
D20. the internal pull downs on the data bus will take care of the other
bits of the reset config word. Note the internal pull downs may not pull
low fast enough in all situations (short application of reset over
temperature), but will work for development.

be sure to program HC bit in the flash reset config word to a zero (0b0)
to enable the flash in normal boot mode.

________________________________

From: [email protected] [mailto:[email protected]] On Behalf
Of Prathamesh
Sent: Monday, September 24, 2007 11:13 AM
To: [email protected]
Subject: [MPC500] mpc555 internal flash programming

Hi,
I am working with mpc555 with Greenhills C compiler. On my board i 
have pulled /RSTCONF to high, i.e hard reset configuration word is 
being read as default 0x00000000. 
I need to write into internal flash of mpc555. For that bit 20 of hard 
reset configuration word should be 1 ie. FLEN should be set.

How can i achieve this with this configuration?

Or the only option in this case is making /RSTCONF as low and read the 
hard reset configuration word from the data lines. Here i will need to 
pull down all the data lines except D20 which i will need to pull up.

.

<http://geo.yahoo.com/serv?s=97359714/grpId=6276387/grpspId=1706554205/m
sgId=3892/stime=1190650415/nc1=3848607/nc2=4507179/nc3=4025338> 


[Non-text portions of this message have been removed]



                         

       
---------------------------------
Luggage? GPS? Comic books? 
Check out fitting  gifts for grads at Yahoo! Search.

[Non-text portions of this message have been removed]