Re: Rookie needs help on MPC555 PMM

Eric McRae <[email protected]>
Newsgroups gmane.comp.hardware.motorola.microcontrollers
Message-ID <[email protected]>
It's not that hard.  Someone outlined the process here a while back.

The PMM source code is available from Freescale .  The assembler is out 
there too (go to their site and search for "mask a", "mask g" and "tpu 
assembler").  However, you should consider getting Bannoura and Dyson's  
TPU book from http://www.amtpublishing.com.  It comes with the 
production assembler.  Then you can assemble PMM and other functions of 
your choice together into a microcode set.  The way you do this 
determines the function ID's which the CPU uses to tell the TPU which 
code to assign to which TPU channel.

The assembler produces an S-record file which you can manually load into 
emulation RAM with most savvy debuggers.  You can also go to my site at 
http://www.elmi.com and click on the "Free Software" button and download 
source for a program which will eat the S-record file and produce an 
array of unsigned longs which you can compile into your code and load 
into the emulation RAM at boot time.  Just like any machine code, 
microcode looks pretty much like data to anything besides a TPU.

If you're thinking of programming the TPU yourself, get the book and get 
ASH WARE's simulator.  Both are worth their weight in gold if you value 
your time at all.  Sorry if this looks like commercialism but the TPU is 
a complicated device and these two products will drastically shorten 
your learning curve.

You don't however, have to do any TPU programming to run PMM or any of 
the other free functions.

cj2xk wrote:

> Hello all!
>     I'm new to mpc555.
>     Here is my understanding of TPU3 PMM function and something about
> PMM I got confused of when I learned it. I'm not sure wether it is
> correct or not so I need you guys' help.
>     PMM function is not a pre-programmed function(or ROM function) of
> TPU3, not like the 16 standard ROM functions, right? It means the
> microcode of PMM function is not loaded into the ROM, it must be run in
> the TPU emulation mode, right? So, the function mask needs to be
> installed into the TPU and the microcode of PMM function needs to be
> loaded into the emulation RAM, right? What is this microcode? Is it a
> Hex code,asm code or anything else? DO I need to write the microcode of
> PMM myself or it is a standard function libarary which can be
> downloaded from freescale site? It seems complicated to me to run PMM.


-- 
Eric McRae, Electro-Logic Machines, Inc.
511 Root St., Port Townsend WA, 98368
Phone/Fax: 360.379.0969, http://www.elmi.com



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/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.