HC12: Can't save main.asm.  File Error 206003

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

HC12: Can't save main.asm.  File Error 206003

4,701 Views
JohnnyP
Contributor III
File Error 206003 CW 3.01 for HC9S12C32

Don't know what happened, but I can't save my main.asm file.

Compile, fix errors, but can't save them.

Message Edited by CrasyCat on 2007-04-13 11:50 AM

Labels (1)
Tags (1)
0 Kudos
Reply
8 Replies

1,919 Views
mke_et
Contributor IV
This may not be the same thing, and I'm really offering this as a reminder cause when it happens you can get into a panic and forget what should be simple.

I just opened Wordpad, did a cut and paste, and had everything saved off to another file so I could muck and not lose things.

Anyway, what I finally figured out was that I had 'archived off' the files to CD and put them on another machine. Somehow in the process of doing a 'merge' with my laptop, picking and choosing the newest files from either, I let a read-only flag get set. It wasn't a CW fault, it was my screwup.
0 Kudos
Reply

1,919 Views
CrasyCat
Specialist III
Hello
 
Not sure what happened here.
I have seen such messages in the IDE, when there were some inconsistent data in the project.
Do you have a "Rescued Items" folder showing up in your project window?
 
Please take a look at the attached whitepaper. This can give you some hints how to fix the issue.
 
I hope this helps.
 
CrasyCat
0 Kudos
Reply

1,919 Views
JohnnyP
Contributor III
CrasyCat:

I couldn't get that file to open.
0 Kudos
Reply

1,919 Views
JohnnyP
Contributor III
CrasyCat. I couldn't open the file. What does it say?

I opened a new project, and have been porting my HC11 code a few lines at a time, and compiling each time.

So far, so good, and I notice that the version control icon stays unlocked.

In the project that was giving me trouble, the version control icon changed from the unlock symbol to something that looks like a gear.

I opened the help file and searched "verson", clicked on version control, and a page comes up that says "version control is accomplished with a single command".

Ok, I'm thinking there's a secret button you click on or something, so I follow the link, and the "single command" is about two pages of code that means nothing to me.

Who writes this stuff?
0 Kudos
Reply

1,919 Views
CrasyCat
Specialist III
Hello
 
Do you mean you cannot open the file Rescued Items Whitepaper.zip?
I just tried myself and it works well. Do you have winzip installed on your system. In order to open the included file you need to have Microsoft Word installed as well.
 
Do you have those software installed on your Host?
 
I am not very good in Version Control Software integration in CodeWarrior.
All I know is if you want to disable VCS you have to do the following:
  - Select Edit -> "Version Control Settings"
  - Uncheck "Use Version Control" check box in the VCS Setup panel.
 
CrasyCat
0 Kudos
Reply

1,919 Views
JohnnyP
Contributor III
Nope, don't have Word, but it finally opened in WordPad (I like the sound of the error chord, so I kept clicking on the retry button).

Didn't see anything relating to error message 206003.

The version control feature is not checked, but the "unlocked" lock icon in the toolbar changes to something that looks like a gear. What is it, and what does it mean? How to make it go away?
0 Kudos
Reply

1,919 Views
CrasyCat
Specialist III
I never seen that.
 
Only thing I can think about is the following:
  - Close CodeWarrior
  - In the project directory delete the *_Data directory
  - In your "%USERPROFILE%\Local Settings\Application Data" directory delete the directory Metrowerks
    You  can retrieve your user profile directory entering Set USERPROFILE in a DOS window.
  - Start IDE again and open your project.
This will delete all internal settings within the IDE and the project.
 
If this does not fix the issue, You really have to submit a service^request through our web interface for our support people to look at.
 
CrasyCat
0 Kudos
Reply

1,919 Views
JohnnyP
Contributor III
Created new assembly project, pasted old main.asm (the one I can't save) into the new project's main.asm.

Tried to fix compiler errors. Get same message when trying to save or recompile.

I notice that the unlocked icon in the toolbar changes to something that looks like a gear.

The line of code I'm trying to edit is:

Wait BRCLR TFLG1, $20OK ; (Ok is a couple lines down)

What is the propper form?
0 Kudos
Reply