Well, I just installed MPLABX 4.0.5 and all the settings for the Toolchain.
All well up to the point I started the simulator. And... nothing!
Seems that can only compile but not simulate.
Ioannis
Well, I just installed MPLABX 4.0.5 and all the settings for the Toolchain.
All well up to the point I started the simulator. And... nothing!
Seems that can only compile but not simulate.
Ioannis
What tool are you trying to simulate with? MPLABX does not simulate with PBP. Rumor has it that 3.60 has some sort of connection with PBP, but subsequent versions do not.
Happy new year to all the forum members and to all the developers!
I have finally succeeded in building my old projects developed with MPLAB 8 under MPLAB X.
The key points were:
- Rebuilt the project from the old sources (asm and pbp). Remove all other files generated under MPLAB 8
- Do not use upper case names! Even if we are under Windows, with PBP not case-sensitive, MPLAB-X has been developed for C programmers and is case sensitive. So, rename every file name in lower case, including in the #include instructions in the pbp files.
- In the last step of the New Project process Tick the box “Use project location as the project folder” to obtain a project structure comparable to what we have with MPLAB 8.
- If necessary tick the box LONG (Project Properties)
- The PBP file had to be inserted into Project > Source Files but in my case since my asm files contained only data, nothing else had to be done. I imagine that my asm files are automatically inserted into the PBP file during the build process.
- The project was ready for compiling which was done by the broom and hammer button.
- My PicKit 2 and my target were already connected. I had only to push the green downside arrow button to get my target programmed.
The next step will be to migrate to the 18F27K40. It will take some time, including with electronics.
Coming back to MPLAB 8, I know that I must use mpasmx and PBP3.1 for working with 18F27K40. My question was about the IDE itself since I cannot find this PIC in the Project Wizard list. Is there a way to include it ?
MikeBZH
What version of MPLABX are you using? I had v3.60 installed but had to update to 4.0 to work with the 18FxxK40. If you can't find the chip, your MPLABX is probably too old.
@MikeBZH,
If you're asking about a way of using the K40 with MPLAB8 the answer is you can't. There's no way of extending the devices supported in the MPLAB8 IDE.
I doubt you'll be able to use the PICKIT2 and the K40 with any of the MPLAB versions. MPLAB8 doesn't support it, and MPLABX with the PICKIT2 doesn't even allow some devices that are supported with v8.
I am currently working with a 18F2685 (my old design) . My purpose was to validate the PBP 3.1 + MPLABX + mpasmx with this PIC I know quite well before making a jump to the 18F27K40.
I understand I will have to go to MPLAB X + PikKit 3 with no chance to stay with MPLAB 8, unfortunately.
My current MPLAB X version is 4.05, the last one available.
My next step is to understand the particularities of the 18F27K40 as explained in the .txt files delivered with PBP 3.1. It seems to imply PPS...
MikeBZH
Here in this Melabs Link one can visually see what to do for the setup of PBP in MPLABX.
I was able to follow up to the 2.19 of the video. Then, simulator did nothing for the PORTB. Hoped that the new 4.0.5 version would work...
Ioannis
Bookmarks