There is a version of MPLAB on the CD when you purchased PBP. Why not use that.
There is a version of MPLAB on the CD when you purchased PBP. Why not use that.
Dave
Always wear safety glasses while programming.
You can work with MPLAB 8.20 and latest 8.30 but it will have some serious limitations about the debugger MPSIM, not sure for PICKIT 2.
For PIC18, you need to add the linker file. In your case 18F4550.lkr to your project.
And then you go to, Project> Build Option > Project PicBasic Pro tab. There you select Use MPASM assembler and Use Linker /COFF debugging. Not much. BUT it will sucks, you can't monitor your variable, but only some PIC registers.
Not a so easy task to create reliable COFF files.... even if the reference book for it is quite small
Finally mpswitch seems to suffer a little bit with the latest release, so it's not a viable option yet (well last time I tried it)... If you only use PBP in MPLAB, there's no real advantage to use the latest 8.20 or 8.30 version.
Last edited by mister_e; - 1st April 2009 at 04:42.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
It compile, but lack most feature, so useless
For PIC18, you add the linker file, for none 18F you don't use MPASM assembler... yeah that's pain![]()
Last edited by mister_e; - 1st April 2009 at 16:19.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
I now have the 8.15a version installed and that cured the errors.
I am now trying to get MCS easyhid to work. I have copied the 18f4550.bal plus most all files from the USB18 folder to my c:\projects folder and am now getting the usual "error:Macro USBNIT? Not found in macro file" together with the other three errors usbservice, usbin, usbout.
Reading a thread 10409? keymuu had similar problems. Don't think PBPUSB18.MAC is required? As an idea I commented out the line LIBRARY PBPPL18L in the PBP/18f4550.bal file. This gave the following errors:
Error:No library statement or library parameter
Error:No library statement or MACRO parameter
Error:Unable to open file PBPMAC.INC
I have done a search for PBPMAC.INC but can't find it.
Any suggestions appreciated-thanks.
Bookmarks