PDA

View Full Version : Using MPLAB SIM



Charles Linquis
- 4th July 2006, 14:58
Does anyone have any experience using MPLAB SIM on the output from PBP? Could you please give a very short explanation about how to go about using it?

Bruce
- 6th July 2006, 19:00
Hi Charles,

I use MPLAB/MPSIM all the time with PBP. In your PBP installation directory
there's a text file mplab.txt that explains how to setup & use PBP with MPSIM.

If you have specific questions let me know.

Charles Linquis
- 7th July 2006, 02:39
OK. I got everything loaded. I did a compile from within MPLAB. So far, so good. I clicked on the "source files" tab, and my .BAS program appeared in the window. In the Project Tree on the left there were no "Other files".

I brought up the "Special Function Registers" and the "Program Memory" with the appropriate tabs. One line in the Program Memory window had a green arrow by it.

I pressed the RUN button, and I got a moving bar on the bottom left that stated that something was "Running".

But nothing moved. No pointers moved, no registers updated. Nothing.

What am I doing wrong?

Bruce
- 7th July 2006, 03:51
If you want to watch things happen, use the Animate button.

Charles Linquis
- 7th July 2006, 04:20
That works ! Thanks !