Re: Rookie needs help on MPC555 PMM
"murphynetuk" <[email protected]>
| Newsgroups | gmane.comp.hardware.motorola.microcontrollers |
|---|---|
| Message-ID | <[email protected]> |
Also, the Freescale MPC5XX 'QuickStart' app will allow you to mix and match TPU functions from all sources using a GUI, automatically assemble a RAM image and includes both GUI and source code functions to initialise the TPU parameters correctly. Using 'QuickStart' I have PMM and PSP running off a simulated signal generated by QOM with no problems. It really is quite easy to do, but also has the dangerous side-effect of allowing you to get in way over your head very quickly indeed....:) Following Eric's advice will ensure you have a well- founded education in the nitty-gritty of the TPU. Ian --- In [email protected], Eric McRae <eric@e...> wrote: > 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/