Files Missing From File View Hierarchy

cancel
Showing results for 
Search instead for 
Did you mean: 

Files Missing From File View Hierarchy

Jump to solution
919 Views
Stephen
Contributor III

Hi

I am using Code Warrior Development Studio for the S12(X) Version 5.0, build 9061.

The target is an MC9S12A128 device.

 

I recently added some new code/header files to my project, to support a new feature on the product. I created a new Group in the file hierarchy (called "USB Aux Port") to keep file view tidy. I then created new files, added them to the project and put them in this group, and then started coding.

 

Now my problems started.

1. When I start Code Warrior, I get a message that some files were missing from the hierarchy information for the files view of "GV1.mcp" These files have been added to the Files view hierarchy in a group called "Rescued Items"

 

2. I get a "Project Messages" window with a hep of messages along the lines of: "The following file has multiple entries in target "GV1 Firmware" of project "GV1.mcp" This can cause severe inconsistencies and should be fixed immediately! There then follows the names of the files on my USB Aux Port group.

 

I them have the same files listed in both a "Rescued Items" group and the "USB Aux Port" group.

 

3. I have tried the recommended approach to delete the "GV1_Data" folder in the project folder, and then recompile, but that does not sort out my problems.

 

4. The next time I open the project, all the files in the group are no longer recognised as project files. If I try to compile the project when working on one of these files, I get the "Create New Project" Wizard.

 

5. And if I change one of these files, it is not shown in the Files hierarchy, and the project will not automatically recompile if I click the debug button to download it to the target.

 

6. I tried adding these files to the project again, but now when I open them, I get the warnings about the files having multiple entries.

 

7. Worse still, Code Warrior now has a tendency to crash on me, either when I compile, or when I right click on a function name in one of the offending files, with the intention of navigating to its definition or declaration. And if it doesn't crash when I right click, I get multiple implementations of the function in the listing.

 

Do you have any suggestions please? I suspect there something very simple has gone wrong, but I can't work it out.

Many thanks

Steve

Labels (1)
Tags (1)
0 Kudos
1 Solution
89 Views
CrasyCat
Specialist III

Hello

 

I would recommend you to submit a service request for that.

Click here to submit a service request.

Make sure to attach a reproducible project and installed product information to the service request.
To generate the required information:
- Start CodeWarrior
- Open the project
- Select "Help" -> "Pack and Go" and follow instructions on the screen.

Attach the generated .zip file to the SR.

We would also need reproducible steps driving to the crash.

 

CrasyCat

View solution in original post

0 Kudos
4 Replies
89 Views
CrasyCat
Specialist III

Hello

 

Did you look at following tread:

https://community.freescale.com/message/20985#20985

 

 

Also there is an FAQ on this topic.  Open an Internet Explorer, go to www.freescale.com and search for keyword

FAQ-28410

 

CrazyCat

0 Kudos
89 Views
Ironhorse
Contributor I

FAQ-28410 seems to be missing now.

0 Kudos
89 Views
Stephen
Contributor III

Hi Crazy Cat

Thanks for trying to help. I followed the instructions in the FAQ and previous thread, but unfortunately my problems persist.

 

In addition, from time to time Code Warrior Crashes. I have attached the sequence of error messages in the attached Word Document. I don't know if that will help.

 

0 Kudos
90 Views
CrasyCat
Specialist III

Hello

 

I would recommend you to submit a service request for that.

Click here to submit a service request.

Make sure to attach a reproducible project and installed product information to the service request.
To generate the required information:
- Start CodeWarrior
- Open the project
- Select "Help" -> "Pack and Go" and follow instructions on the screen.

Attach the generated .zip file to the SR.

We would also need reproducible steps driving to the crash.

 

CrasyCat

View solution in original post

0 Kudos