|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||||
|
|||||
|
MPLABS Question
Hi all,
Well the season is over, but MPLABS still hasnt quit giving me problems. Every time I re-install MPLABS, it gives me a error which goes something like this, "MPlab.exe has created errors and will be closed by Windows. You will need to restart the program." I have tried many things to solve that problem. I has hapenned both on my XP and 2000. I once re-installed XP on my computer for the sake of programming. Now, could anybody help with that problem? Also, If any of you use something else for programming the controllers, please let me know what you use, and how do you use it? I am not a great programmer or anything.. just learning... Thanks for the help. |
|
#2
|
|||||
|
|||||
|
Re: MPLABS Question
Quote:
Also, what version of MPLAB are you using? I have 6.4, which I downloaded from the Microchip web site. This may be one of the problems they addressed in a later release than the one you have. |
|
#3
|
|||||
|
|||||
|
Re: MPLABS Question
I've never seen this error before. Did you follow the exact instructions on the IFI website pertaining to the installation, because there are some specifics you have to check.
gwross: When which file is write protected? The project file, or something like user_routines.c? I know that some files (such as main.c) are write-protected by default, and I have not heard of any problems dealing with that. |
|
#4
|
|||||
|
|||||
|
Re: MPLABS Question
I tried the version on the CD given by FIRST, and also tried downloading the version from microchip saying "MPLAB C18".
Yes, I followed word for word instructions given in the documents. I never even modified any of the code and it gave me this error. I hardly touch any setup files either. |
|
#5
|
|||||
|
|||||
|
Re: MPLABS Question
Odd. I use the CD version, and it installs fine on XP, 2000, and 98. And even if you don't follow IFI's directions to the letter, it should still install fine. You'll just have to reinstall to make it work with the RC.
(I think he's talking about the installation, not compiling or opening.) oops, my bad. Last edited by Astronouth7303 : 14-05-2004 at 20:26. |
|
#6
|
|||||
|
|||||
|
Re: MPLABS Question
Quote:
sorry for being un-clear |
|
#7
|
|||||
|
|||||
|
Re: MPLAB Question
Quote:
|
|
#8
|
|||||
|
|||||
|
Re: MPLAB Question
Quote:
I just tried reproducing the "file protected" problem with my version 6.4, and couldn't get it to fail. |
|
#9
|
|||||
|
|||||
|
Re: MPLAB Question
Write protect hasn't been a problem for me. Can you be more specific? like, when the splash screen comes up, when the main window appears, when you open a file, etc.
|
|
#10
|
|||||
|
|||||
|
Re: MPLABS Question
Thanks for all the help. I got it working, but with another problem. Everytime I hit "Build all" it does this....
Last edited by Bharat Nain : 14-05-2004 at 20:36. |
|
#11
|
|||||
|
|||||
|
Re: MPLABS Question
Check your build options (and toolsuite). I would also say tell it to keep going (Configure > Settings > Projects > Halt on first build failure).
Adc.h should NEVER get an error. Even I don't touch it. |
|
#12
|
|||||
|
|||||
|
Re: MPLABS Question
It's set like that. I applied all defaults also. Its still the same problem. I have never had a problem with adc.h ever. I am sick of it now.. any mind IMing me for some help: TeknoBramha .
|
|
#13
|
|||||
|
|||||
|
got it fixed in a long IM session. transcript is attached.
Basically, there was a 'j' at the beginning of user_routines.c and _FRC_BOARD wasn't defined. |
|
#14
|
|||||
|
|||||
|
Re: MPLABS Question
I can't thank you enough Austronauth, this thing was driving me crazy. Thanks for dedicating about 9 hours of your life to a stupid programming error to help me out
![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Question of the Week [05-02-04]: The Very Merry Month of May | EddieMcD | Rumor Mill | 10 | 05-05-2004 14:02 |
| An ethical question | _GP_ | General Forum | 45 | 18-03-2004 19:36 |
| MIM's question of the day on programming. | Gene F | Programming | 3 | 24-02-2004 16:32 |
| A question about control system options | computhief263 | Control System | 7 | 04-02-2004 14:46 |