Project in a Network Folder, Can't Load

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Project in a Network Folder, Can't Load

5,923 次查看
Wings
Contributor I
CW Devl Studio 5.7.0 build 2015; debugger Multilink Cyclone Pro (latest firmware, 6.87 I think); target chip is QG8.

I want to keep my project folder on another computer on my local network. It seems to work ok, up to a point. I can compile, invoke the debugger and download and run/debug my code in my chip. However, if I choose Load Application from the File menu and choose the same .abs file that it is currently using, it gives me a teensy window (titled Load Executable File) with the teensy error message "Loading Failed". No error number or anything.

Any suggestions, please?

(I seem to recall a problem I was having a while back, in that if the project.abs file is on a network share then CW does not close that file after the debugger loads it into your target. Related?)
标签 (1)
0 项奖励
回复
16 回复数

2,452 次查看
CrasyCat
Specialist III
Hello
  Do you have read/write access to your remote PC, where the project is related?
  If this is the case, something weird happens on your system.
 
I would advise you to submit a service request around that through our web site to get support people getting a closer look at that.
 
CrasyCat
0 项奖励
回复

2,452 次查看
Wings
Contributor I
Alban, you said: "There is no CW 5.7.0 for S08 yet."

I don't understand this. Everything is working fine with my S08 (QG8) project except as I posted above.

CrasyCat: Yes, I can read/write to the network share just fine. In fact, CW performs as expected during the first edit-compile (or, assemble in my case)-load sequence. It is only when I return to the editor, make a change, re-assemble, then click back into the debugger and try to load the new object file just created.
0 项奖励
回复

2,452 次查看
Alban
Senior Contributor II
Yes Wings, as far as I know, the latest IDE for S08 is CodeWarrior 5.1
 
0 项奖励
回复

2,452 次查看
Wings
Contributor I
Alban:

I'm not trying to beat this into the ground, but, if that is my problem then it may explain other issues I'm having.

When I open CodeWarrior IDE and load my project, I can then choose Change MCU/Connection under the Project menu, and I see the derivative list which includes HC08, HCS08, and RS08. In the HCS08 sublist I can choose the MC9S08QG8, among others. This is the chip I've previously choosen and the one I'm working with. My CW IDE version says 5.7.0.

Does this tell me that the S family IS supported under 5.7.0 or is there something else I need to know or find out?
0 项奖励
回复

2,452 次查看
Alban
Senior Contributor II
Hi Wings,

:smileysad: dunno what to say here. It is possible the internal description is different from the MAJOR release...
Even Freescale website only advertises:

Now Available:
CodeWarrior™ Development Studio for Freescale HC(S)08/RS08 v5.1


Another core version wouldn't offer you the device in the project wizard anyway...
Possibly it means you have Release 7 of Version 5.
Actually, you can upgrade for free.

What did you pay for ?!
What is the name of the Directory the IDE is installed in ?

Hi CrazyCat, you have any idea ?

Cheers,
Alban.
0 项奖励
回复

2,452 次查看
Wings
Contributor I
This is really confusing, simply trying to find what program ACTUALLY runs when you select it from the Start menu. I finally found what I think is it, located in the folder "Codewarrior for HC05 V5.1". I don't have a folder with V5.7 in its name, although when I get properties for "IDE.exe" in the V5.1 folder it says the file version is 5.7.0, same as it does when I choose About Codewarrior from the Help menu when it's running. Surely we're not going to say that the version shown in the folder name supersedes the version info from the file itself!

I'm using CW Studio, so it was a freebie.

(And what's this stupid little dog doing sniffing a bone in the bottom of my search window???)
0 项奖励
回复

2,452 次查看
peg
Senior Contributor IV
Hi Alban and Wings,
 
I think you will find that:
Codewarrior Development Studio for Freescale HC08 5.0 build xxxx   AND
Codewarrior Development Studio for Freescale HC08 5.1 build xxxx
include IDE version 5.7.x build xxxx
If you use the method detailed in every second one of CrasyCat's responses you should be able to work this out.
This from a non-user!
 
As for the dog, a small pellet of lead in its ear usually fixes that!
 
Regards
David
 
0 项奖励
回复

2,452 次查看
Wings
Contributor I
"If you use the method detailed in every second one of CrasyCat's responses you should be able to work this out."

LOL! No offense David, but you're sounding like a Microsoft Help file! CrasyCat only responded once, so what's with the "every second ... response"???

We should call an end to this thread I suppose. When, or if, I get a reply from Freescale tech support I'll post it here.

Appreciate everyone's help.
0 项奖励
回复

2,452 次查看
peg
Senior Contributor IV
Hi Wings,
 
I meant CrasyCat's total responses over the whole forum, usually the first response to any CW question that fails to include any version info.
When you select help about, then press the button at the bottom this then opens a window with two panes.
The more overall versions are shown in the top pane and the more file level info in the bottom.
 
This is what I think is the explanation, hopefully "the cat" can clear it up.
 
Regards
Peg
 
0 项奖励
回复

2,452 次查看
Wings
Contributor I
This question can now be classified as answered. Here is the response I got back from my service request:

Thank you very much for detailed information! My work will be much
easier when I will be receiving so exact and relevant information from
all customers.
Now I replicated this bug successfully. The problem is in the way you
access you project on network. Everything will work if you will map your
network share as windows drive (Explorer - Tools - Map Network Drive).
I logged this bug in our bug base under the number MTWX22381 and our
development will investigate the problem.
For the moment we can not provide any information about the date of fix.



And the networked drive method works just fine.

...now if we only had a way to search the forums.
0 项奖励
回复

2,452 次查看
Phoenix
Contributor III
Hi all,
 
not sure if everybody understand where the problem was. When Wings opened his poject, he located the project file through MyNetworkPlaces-EntireNetworks-.....-ShareName\foldeproject
 
And this caused problems for debugger.
0 项奖励
回复

2,452 次查看
Alban
Senior Contributor II
Hi,

Delete the data folder of the project and subitems and then it will start.

You probably have corrupted the data with a network cut.

It will come back to normal, and will need to re-built.

Alban.
0 项奖励
回复

2,452 次查看
Wings
Contributor I
Hi Alban and thanks for your reply.

Just to make sure we're on the same page here, can you be more specific about exactly what folder I should delete? I have no "data" folder in my project, and since they all contain "data" I don't know which one you are referring to. Also, what "subitems" do you mean?

Thanks.
0 项奖励
回复

2,452 次查看
Alban
Senior Contributor II
Hi Wings,

When you have a project, and compile/built it a folder in the project is created.
The name of that folder is the project name + _Data.

All the info is rebuilt when you compile/debug.
The only thing beeing lost will be position of your windows and some other parameters.

sub-items means all objects (files and folders) included in the folder.

Cheers,
Alban.
0 项奖励
回复

2,452 次查看
Wings
Contributor I
Sure enough, there is a folder named _Data. I trashed it then repeated my attempt to load an executable. "Loading failed"

Funny how it has no problem getting to it when I first execute the debugger, but for some reason it doesn't want to go back there.

Any more hints?
0 项奖励
回复

2,452 次查看
Alban
Senior Contributor II
Actually, my mistake. You mentioned project and debugger and I understood project and IDE.
My solution was for IDE having problem loading the project :smileysad:
 
There is no CW 5.7.0 for S08 yet.
May you be you start the wrong version of CW debugger and it doesn't have the programing tools for S08.
 
The latest version for S08 is CW 5.1 I was reported.
 
Cheers,
Alban.
0 项奖励
回复