EmbeddedRelated.com
Forums

CodeWarrior Bug - File Error 206003??

Started by eric_cina May 17, 2005
If I have a *.c file open and I compile my project (including this
file), I receive a few warnings but it compiles. Then I try to make
changes to this same *.c file and I cannot save it. I get the
following:

File Error 206003.
Could not open file because access was denied.

Then I have to close the file, then open it back up and all is
ok...until I compile again.

Anybody seen this? What can I do to fix it?

I am using CW for the HC12 version 3.1 (CW12_V3_1.exe) and the IDE is
5.5.1272.

Thanks,
Eric



We saw this problem if you have the -lasm option specified. Looks like a
file handle interaction with the Windows operating system.
So could you check if you have the -lasm option specified?
Then I suggest that you remove it from the compiler command line.

We made an effort to prevent the problem, but for 3.1 the above thing is
what you could try.

Thanks,
Erich

> -----Original Message-----
> From: 68HC12@68HC... [mailto:68HC12@68HC...]
> On Behalf Of eric_cina
> Sent: Mittwoch, 18. Mai 2005 03:12
> To: 68HC12@68HC...
> Subject: [68HC12] CodeWarrior Bug - File Error 206003?? > If I have a *.c file open and I compile my project (including this
> file), I receive a few warnings but it compiles. Then I try to make
> changes to this same *.c file and I cannot save it. I get the
> following:
>
> File Error 206003.
> Could not open file because access was denied.
>
> Then I have to close the file, then open it back up and all is
> ok...until I compile again.
>
> Anybody seen this? What can I do to fix it?
>
> I am using CW for the HC12 version 3.1 (CW12_V3_1.exe) and the IDE is
> 5.5.1272.
>
> Thanks,
> Eric >
> Yahoo! Groups Links >




Yes, the -lasm option is part of the problem which is a bummer
because I need the listing files.

Some more info: it seems like you have to close the "errors and
warnings" window after compiling to get the Error 206003. If I leave
it open, I don't get the error.

Thanks,
Eric --- In 68HC12@68HC..., "Erich Styger" <erich.styger@f...>
wrote:
> We saw this problem if you have the -lasm option specified. Looks
like a
> file handle interaction with the Windows operating system.
> So could you check if you have the -lasm option specified?
> Then I suggest that you remove it from the compiler command line.
>
> We made an effort to prevent the problem, but for 3.1 the above
thing is
> what you could try.
>
> Thanks,
> Erich
>
> > -----Original Message-----
> > From: 68HC12@68HC... [mailto:68HC12@68HC...]
> > On Behalf Of eric_cina
> > Sent: Mittwoch, 18. Mai 2005 03:12
> > To: 68HC12@68HC...
> > Subject: [68HC12] CodeWarrior Bug - File Error 206003??
> >
> >
> > If I have a *.c file open and I compile my project (including
this
> > file), I receive a few warnings but it compiles. Then I try to
make
> > changes to this same *.c file and I cannot save it. I get the
> > following:
> >
> > File Error 206003.
> > Could not open file because access was denied.
> >
> > Then I have to close the file, then open it back up and all is
> > ok...until I compile again.
> >
> > Anybody seen this? What can I do to fix it?
> >
> > I am using CW for the HC12 version 3.1 (CW12_V3_1.exe) and the
IDE is
> > 5.5.1272.
> >
> > Thanks,
> > Eric
> >
> >
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >


You get the listing file as well if you use the context menu with
'disassemble' on the source file (as a workaround).

Erich

> -----Original Message-----
> From: 68HC12@68HC... [mailto:68HC12@68HC...]
> On Behalf Of eric_cina
> Sent: Mittwoch, 18. Mai 2005 21:09
> To: 68HC12@68HC...
> Subject: [68HC12] Re: CodeWarrior Bug - File Error 206003?? > Yes, the -lasm option is part of the problem which is a bummer
> because I need the listing files.
>
> Some more info: it seems like you have to close the "errors and
> warnings" window after compiling to get the Error 206003. If I leave
> it open, I don't get the error.
>
> Thanks,
> Eric > --- In 68HC12@68HC..., "Erich Styger" <erich.styger@f...>
> wrote:
> > We saw this problem if you have the -lasm option specified. Looks
> like a
> > file handle interaction with the Windows operating system.
> > So could you check if you have the -lasm option specified?
> > Then I suggest that you remove it from the compiler command line.
> >
> > We made an effort to prevent the problem, but for 3.1 the above
> thing is
> > what you could try.
> >
> > Thanks,
> > Erich
> >
> > > -----Original Message-----
> > > From: 68HC12@68HC... [mailto:68HC12@68HC...]
> > > On Behalf Of eric_cina
> > > Sent: Mittwoch, 18. Mai 2005 03:12
> > > To: 68HC12@68HC...
> > > Subject: [68HC12] CodeWarrior Bug - File Error 206003??
> > >
> > >
> > > If I have a *.c file open and I compile my project (including
> this
> > > file), I receive a few warnings but it compiles. Then I try to
> make
> > > changes to this same *.c file and I cannot save it. I get the
> > > following:
> > >
> > > File Error 206003.
> > > Could not open file because access was denied.
> > >
> > > Then I have to close the file, then open it back up and all is
> > > ok...until I compile again.
> > >
> > > Anybody seen this? What can I do to fix it?
> > >
> > > I am using CW for the HC12 version 3.1 (CW12_V3_1.exe) and the
> IDE is
> > > 5.5.1272.
> > >
> > > Thanks,
> > > Eric
> > >
> > >
> > >
> > >
> > >
> > >
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> > >
> > > Yahoo! Groups Links >