Re: Programming PB-0555 flash with Codewarrior

"bobbyc800" <[email protected]>
Newsgroups gmane.comp.hardware.motorola.microcontrollers
Message-ID <[email protected]>
Ian,

Thanks for your quick reply and suggestions.  I really appreciate it.

The codewarrior flash programmer tells me my programming attempt is 
successful.  It also performs a successful verification.  The fact 
that I did erase the flash and that I'm not getting any errors when 
programming has left me puzzled.


You mentioned shadow flash, which I never had to program on the 
phyCORE-565 and hadn't even thought about.  Perhaps the phyCORE 
shadow flash already contained the correct values and the PB-0555 
does not.  I'm going to read up on the shadow and see if that's my 
problem.  Any advice you can give on the subject would be helpful.


As for your other suggestions... I've been programming the internal 
flash on the MPC565 with no problems.  I've modified my linker and 
settings from that project to use the internal flash and ram of the 
555.  I verified with Axiom that my jumpers are correct.  By 
selecting the 555 in the flash programmer, the algorithms should be 
correct unless codewarrior has the wrong ones.  I've checked the 
initialization file and the register settings appear to be correct 
for the 555 (Axiom says the most important ones are the FLEN bit and 
Clock speed).

Hopefully I'll solve my problem by learning about the shadow flash.  
If you have any other advice or think looking at any of my files 
would help, please let me know.

Best Regards,

Robert




--- In [email protected], "murphynetuk" <murphynetuk@y...> 
wrote:
>
> Programming the PB-0555 with the CW flash programmer to boot from 
> reset does work OK but there are a lot of hoops to jump through. 
You 
> need all the following to be right or the process will fail:
> 
> Linker config file & application memory map.
> Reset config word in shadow flash.
> Hardware jumpers.
> CW flash programmer algorithm and TRD file (to program both shadow 
> flash and main flash).
> Application initialisation (clock, IRQs, watchdog etc.)
> 
> All are documented (separately) so have a good read.
> 
> Overwriting the PB-0555 monitor has limited your options a bit, 
> although it does make your linker file & application memory map 
more 
> MPC555 'generic'.
> 
> Regards, Ian
> 
> 
> --- In [email protected], "bobbyc800" <bobbyc800@y...> wrote:
> >
> > 
> > I'm using the Codewarrior Flash Programmer with the PB-0555 
(MPC555 
> > with no external memory).  I can use the flash programmer to 
erase 
> > and program without codewarrior generating any errors.  However, 
> the 
> > program does not run when I reset the processor.  I can load my 
> > Debug target to ram (no problems with that) and examine the 
flash 
> > addresses and there is no code there.  I know that I was able to 
> > erase the flash because the monitor utility that came installed 
on 
> > the board is now gone.
> > 
> > Does anyone know what could cause this?  Is it a problem with my 
> > board, wiggler, or a memory protection issue?  I thought it 
might 
> be 
> > my initialization file, which is modified from a phyCORE-MPC565 
> > project I've been using.  Does anyone have an initialization 
file 
> > for the PB-0555 I could look at?
> > 
> > I appreciate any help I can get.  I'm trying to get a basic 
project 
> > running for a professor before I leave town in a couple weeks.  
> He'd 
> > like to use the 555 as a teaching tool next semester.
> > 
> > Thanks,
> > Robert
> >
>







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/I258zB/QnQLAA/TtwFAA/dN_tlB/TM
--------------------------------------------------------------------~-> 

-----------------------------------------------------------
To learn more about Freescale Microcontrollers, please visit
http://www.freescale.com/mcu


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/MPC500/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.