Pulse Width Modulation w/ CodeWarrior IDE and MPC 555

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Pulse Width Modulation w/ CodeWarrior IDE and MPC 555

2,466 Views
newlearner
Contributor I
Hi,

I’m trying to run example 1 from the document number AN2375 about multichannel pulse width modulation with CodeWarrior IDE Version 5.0 with MPC555. However, when I run the program (assuming that I have the setup correctly), I kept getting program exception 0x0700 and didn’t see anything on the oscilloscope. Anybody knows what this exception mean and why am I not seeing any signal on the oscilloscope. Any help would be greatly appreciated!

Thank you,
New Learner

AN2375.pdf
Message Edited by t.dowe on 2009-09-16 10:45 AM
Labels (1)
0 Kudos
1 Reply

312 Views
J2MEJediMaster
Specialist I
Have you gone to the MPC555 page and downloaded the RCPU reference manual? (The file name is RCPURM.pdf.) It provides an exception vector table and the meaning of various exceptions. The 0x0700 exception covers a variety of programming errors, such as:

1) Floating-point exception -- Are you doing any FP math?

2) Executing a privileged instruction -- Typically means the program got lost and is trying to execute some random data as an instruction. Have you configured and tested your interrupt handler code?

3) Trap instruction -- These can be used to manage your own exception handling or implement OS calls. Usually what's happened here is the same as in 2).

I'm not familiar with the tech note in question, but perhaps with the reference manual in hand you can sort things out. HTH.

---Tom
0 Kudos