Did you run the file from Melabs before you set the environment variable?
And why are you compiling in MCS and then moving it to MPLAB?
Did you run the file from Melabs before you set the environment variable?
And why are you compiling in MCS and then moving it to MPLAB?
Dave
Always wear safety glasses while programming.
Hi Dave,
Think you helped me before with PIC stuff
I'd read to set the environment path as it didn't have c:\pbp in there, and rebooted.
I thought that I had to compile in mcs and load the ASM in MPLAB. I wasn't doing the 'build a project', rather just a quick compile. Was/is working fine on laptop, but not on this pc for some reason [annoyingly so :P]
Cheers
In MCS under compiler options somewhere in the toolbar you can setup for MCS to use MPASM to generate the HEX. MPLAB is not needed.
If you have a programmer like the PicStart+ then you will need MPLAB to work with that.
If you want to use MPLAB as the IDE then the instructions from Melabs needes to be followed exactly. Sounds like you have done this.
To compile the ASM from inside MPLAB you should not have to do anything other than build the MPLAB project with ASM as the language and build. But that is a lot of extra steps just to get a HEX.
Dave
Always wear safety glasses while programming.
Hi again,
Cheers for reply. I'm still a bit lost as to how these programs interact, but I'd returned to other room to go to bed and found your prompt reply. Shot back upstairs and switched PC back on. Ran up MCS and found MPASM wasn't selected there. Also, it was grizzeling about having a path length of more than 60 odd characters! I relocated it to the root of the drive and voila! It now works! So once again, you've pushed me in the correct direction.
In the meantime, I read with some fascination a thread a few below this one intrigued me, regarding IR recording using a sound card - such a simple but clever idea! Love these forums!!! Keep up the excellent help! I hope one day to contribute some help myself when [if] I become proficient at it all!
Best regards
Jimbo
Dave Houston has a lot of good tricks on his site. Spend some time there if you can.
Dave
Always wear safety glasses while programming.
Hi,
Yup, that was the site I stumbled across from a link in someone's IR post
Cheers
J.
Bookmarks