Hi Andy,
The extra space in lvp was added automatically by this forum's editor software. The space is not there in the actual program. Otherwise, the program would not compile. Thanks for the observation.
Richard
Hi Andy,
The extra space in lvp was added automatically by this forum's editor software. The space is not there in the actual program. Otherwise, the program would not compile. Thanks for the observation.
Richard
Update: I think the error message I'm getting is an anomaly of the PICkit firmware. Reason: The programmed 819's work correctly in my application even though the above programming error message appears at programming time.
I'll check with Microchip Support for their advice.
Richard
I still use the PICKIT1 for little things. If I use the PICKIT and import the hex the same happens, but the device works.
If I use MPLAB and the PICKIT everything works like it should.
Maybe the same with 2.
Dave
Always wear safety glasses while programming.
Dave, Thanks for your input. When I get a chance I'll try the MPLAB assembler, just out of curiosity. Microcode Studio has a box to check to use MPLAB.... I never used it before. Please help a little. I think the configuration lines have to be written differently...right? Anything else?
Richard
Well... I do not use MicroCode Studio very often. In fact the version I have is copyright 2001,2003. I could never get it to work correctly with my programmer (PICKIT1 when I started and soon after PICSTART PLUS). Would use MicroCode Studio set up to compile with with Micro Chip MPASM, then use MPLAB to burn the chip. A pain but...
Then MPLAB 7.00 came out and microEngineering Labs came out with this
http://melabs.com/support/mplab.htm
All was well now, PBP inside of MPLAB!!
As for the configuration, I make the changes I need in the PBP *.inc file for that chip. Most often for me on any given chip this will stay the same and if a change is needed for a certain project I will make a note of it.
In the PBP *.inc file you will find a line for the PM header and another line for the MPASM header.
Thats how I do it, but I am sure there are other ways. Here is an interesting thread. http://www.picbasic.co.uk/forum/show...ighlight=MPLAB
Let us know how it goes.
Dave
Always wear safety glasses while programming.
Bookmarks