Forums

MPLAB IDE

Started by aamer May 14, 2008
Hi all,

I just started writing small applications in MPLAB IDE for PIC16F micro
controllers. I tried to save the .C file (one of source files) into source
files section of the project I created. Surprisingly, its getting saved in
other files section. I tried with different versions of simulator which
gave same result.

Any suggestions from experts of MPLAB IDE???

Thanks and regards
Aamer


Stupid question: Have you tried File->Save as...?

On my Windoze PC, this then lets me select a location, as well as a name.



"aamer" <raqeebhyd@yahoo.com> wrote in message 
news:DKqdnQPkctBcvbbVnZ2dnUVZ_v3inZ2d@giganews.com...
> Hi all, > > I just started writing small applications in MPLAB IDE for PIC16F micro > controllers. I tried to save the .C file (one of source files) into source > files section of the project I created. Surprisingly, its getting saved in > other files section. I tried with different versions of simulator which > gave same result. > > Any suggestions from experts of MPLAB IDE??? > > Thanks and regards > Aamer > >
On Wed, 14 May 2008 12:26:25 -0500, "aamer" <raqeebhyd@yahoo.com>
wrote:

>Hi all, > >I just started writing small applications in MPLAB IDE for PIC16F micro >controllers. I tried to save the .C file (one of source files) into source >files section of the project I created. Surprisingly, its getting saved in >other files section. I tried with different versions of simulator which >gave same result. > >Any suggestions from experts of MPLAB IDE??? > >Thanks and regards >Aamer
You mean it's not showing up where you expect it when you look at the .mcw window? Have you selected a valid C toolsuite for this project? Best regards, Spehro Pefhany -- "it's the network..." "The Journey is the reward" speff@interlog.com Info for manufacturers: http://www.trexon.com Embedded software/hardware/analog Info for designers: http://www.speff.com
>On Wed, 14 May 2008 12:26:25 -0500, "aamer" <raqeebhyd@yahoo.com> >wrote: > >>Hi all, >> >>I just started writing small applications in MPLAB IDE for PIC16F micro >>controllers. I tried to save the .C file (one of source files) into
source
>>files section of the project I created. Surprisingly, its getting saved
in
>>other files section. I tried with different versions of simulator which >>gave same result. >> >>Any suggestions from experts of MPLAB IDE??? >> >>Thanks and regards >>Aamer > >You mean it's not showing up where you expect it when you look at the >.mcw window? > >Have you selected a valid C toolsuite for this project? > >Best regards, >Spehro Pefhany >-- >"it's the network..." "The Journey is the
reward"
>speff@interlog.com Info for manufacturers:
http://www.trexon.com
>Embedded software/hardware/analog Info for designers:
http://www.speff.com Hi Sphero, Thankyou for your reply. I didnt select any kind of toolsuite for C. How can I do it? regards
On Wed, 14 May 2008 14:42:01 -0500, "aamer" <raqeebhyd@yahoo.com>
wrote:

>>On Wed, 14 May 2008 12:26:25 -0500, "aamer" <raqeebhyd@yahoo.com> >>wrote: >> >>>Hi all, >>> >>>I just started writing small applications in MPLAB IDE for PIC16F micro >>>controllers. I tried to save the .C file (one of source files) into >source >>>files section of the project I created. Surprisingly, its getting saved >in >>>other files section. I tried with different versions of simulator which >>>gave same result. >>> >>>Any suggestions from experts of MPLAB IDE??? >>> >>>Thanks and regards >>>Aamer >> >>You mean it's not showing up where you expect it when you look at the >>.mcw window? >> >>Have you selected a valid C toolsuite for this project? >> >>Best regards, >>Spehro Pefhany >>-- >>"it's the network..." "The Journey is the >reward" >>speff@interlog.com Info for manufacturers: >http://www.trexon.com >>Embedded software/hardware/analog Info for designers: >http://www.speff.com > >Hi Sphero, > >Thankyou for your reply. I didnt select any kind of toolsuite for C. How >can I do it? > >regards
Wizard, starting from scratch, or Project->Select Language Toolsuite Best regards, Spehro Pefhany -- "it's the network..." "The Journey is the reward" speff@interlog.com Info for manufacturers: http://www.trexon.com Embedded software/hardware/analog Info for designers: http://www.speff.com
>On Wed, 14 May 2008 14:42:01 -0500, "aamer" <raqeebhyd@yahoo.com> >wrote: > >>>On Wed, 14 May 2008 12:26:25 -0500, "aamer" <raqeebhyd@yahoo.com> >>>wrote: >>> >>>>Hi all, >>>> >>>>I just started writing small applications in MPLAB IDE for PIC16F
micro
>>>>controllers. I tried to save the .C file (one of source files) into >>source >>>>files section of the project I created. Surprisingly, its getting
saved
>>in >>>>other files section. I tried with different versions of simulator
which
>>>>gave same result. >>>> >>>>Any suggestions from experts of MPLAB IDE??? >>>> >>>>Thanks and regards >>>>Aamer >>> >>>You mean it's not showing up where you expect it when you look at the >>>.mcw window? >>> >>>Have you selected a valid C toolsuite for this project? >>> >>>Best regards, >>>Spehro Pefhany >>>-- >>>"it's the network..." "The Journey is the >>reward" >>>speff@interlog.com Info for manufacturers: >>http://www.trexon.com >>>Embedded software/hardware/analog Info for designers: >>http://www.speff.com >> >>Hi Sphero, >> >>Thankyou for your reply. I didnt select any kind of toolsuite for C.
How
>>can I do it? >> >>regards > >Wizard, starting from scratch, or Project->Select Language Toolsuite >Best regards, >Spehro Pefhany >-- >"it's the network..." "The Journey is the
reward"
>speff@interlog.com Info for manufacturers:
http://www.trexon.com
>Embedded software/hardware/analog Info for designers:
http://www.speff.com Hi Sphero, Thank you for your guidance. I used C18 Toolsuite and now its working. I have one more question. Where can I see the output of my program. I wrote code for Hello World. The simulator is showing build succeed but not the output Hello world. kind regards, Aamer
On Thu, 15 May 2008 09:19:33 -0500, "aamer" <raqeebhyd@yahoo.com>
wrote:

>>On Wed, 14 May 2008 14:42:01 -0500, "aamer" <raqeebhyd@yahoo.com> >>wrote: >> >>>>On Wed, 14 May 2008 12:26:25 -0500, "aamer" <raqeebhyd@yahoo.com> >>>>wrote: >>>> >>>>>Hi all, >>>>> >>>>>I just started writing small applications in MPLAB IDE for PIC16F >micro >>>>>controllers. I tried to save the .C file (one of source files) into >>>source >>>>>files section of the project I created. Surprisingly, its getting >saved >>>in >>>>>other files section. I tried with different versions of simulator >which >>>>>gave same result. >>>>> >>>>>Any suggestions from experts of MPLAB IDE??? >>>>> >>>>>Thanks and regards >>>>>Aamer >>>> >>>>You mean it's not showing up where you expect it when you look at the >>>>.mcw window? >>>> >>>>Have you selected a valid C toolsuite for this project? >>>> >>>>Best regards, >>>>Spehro Pefhany >>>>-- >>>>"it's the network..." "The Journey is the >>>reward" >>>>speff@interlog.com Info for manufacturers: >>>http://www.trexon.com >>>>Embedded software/hardware/analog Info for designers: >>>http://www.speff.com >>> >>>Hi Sphero, >>> >>>Thankyou for your reply. I didnt select any kind of toolsuite for C. >How >>>can I do it? >>> >>>regards >> >>Wizard, starting from scratch, or Project->Select Language Toolsuite >>Best regards, >>Spehro Pefhany >>-- >>"it's the network..." "The Journey is the >reward" >>speff@interlog.com Info for manufacturers: >http://www.trexon.com >>Embedded software/hardware/analog Info for designers: >http://www.speff.com > >Hi Sphero,
It's "Spehro"
>Thank you for your guidance. I used C18 Toolsuite and now its working. > >I have one more question. Where can I see the output of my program. I >wrote code for Hello World. The simulator is showing build succeed but not >the output Hello world. > >kind regards, >Aamer
By default MCC18 sends printf output to the UART, so you have to enable the UART window in the simulator. Then you should be able to see your output. Best regards, Spehro Pefhany -- "it's the network..." "The Journey is the reward" speff@interlog.com Info for manufacturers: http://www.trexon.com Embedded software/hardware/analog Info for designers: http://www.speff.com
On Thu, 15 May 2008 09:19:33 -0500, "aamer" <raqeebhyd@yahoo.com>
wrote:

>>>>>I just started writing small applications in MPLAB IDE for PIC16F >micro >>>>>controllers. I tried to save the .C file (one of source files) into
>I used C18 Toolsuite and now its working.
Your PIC16F MCU is running your PIC18 code? -- Dan Henry