Help with MPLAB X please.

Status
Not open for further replies.

ljcox

Full Member level 5
Joined
Feb 1, 2006
Messages
253
Helped
25
Reputation
50
Reaction score
23
Trophy points
1,298
Location
Melbourne Australia
Activity points
3,118
I recently downloaded MPLAB X since the PIC I'm currently using (16F1708) cannot be fully tested in MPLAB 8.92 since that PIC is not fully supported in 8.92.

I have been able to import the programme into MPLAB x, but I can't see how to test it. There is a daunting array of info available but I can't find anything relevant to answer my question.

In MPLAB 8.92, I used the function keys F7 & F9 to step through the programme so I could test it.

But with MPLAB X, I cannot find the equivalent facilities.

So I think that I need to interface an actual PIC via Pickit3. Is that correct?

Any assistance will be appreciated.

Len
 

It still has the simulator as before but it's a bit harder to configure it.

1. import the original project as a "v8" project, it should create a new MPLABX project with the same name. The original is untouched.
2. under 'project/properties' select the simulator as the hardware tool. You can also select hardware debuggers here too.
3. under 'window' you should then see various simulation tools, much as in MPLAB v8.
4. use the hammer icon (or F11) to build the files.

If the build is successful you should see 'reset', 'step', 'step over' and all the old debugging icons at the top of source window. You can select which registers to display and the display format in the output window and you can set/disable breakpoints by clicking on the source line number in the left margin.

Brian.
 

Thanks Brian, I have added some comments in red to your post in order to help anyone like me who may be trying to learn MPLAB X.


However, as you can see in the attachment, I could not find the 'reset', 'step', 'step over' icons. I must be missing something. Please advise.
Len
 

Attachments

  • MPLAB X window.jpg
    334.2 KB · Views: 79

I'll have to throw this open for others to reply as I use the Linux version and the screen layout is slightly different.
This is what I see but I am using XC8 rather than the assembler:


Brian.
 
Reactions: ljcox

    ljcox

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…