EmbDev.net

Forum: ARM programming with GCC/GNU tools Trouble with WinARM


von Michael S. (mjscott)


Rate this post
useful
not useful
I have loaded and tried using WinARM. Whenever I try a clean, it will
only clean a few files and then hangs. I stop the tools and restart, it
get a bit further and then hangs. Eventually I get through all the files
and build. Same thing with the build. When I try restarting my computer,
all the stop tools tasks are still running and must the haulted one by
one.

Any thoughts?

von Karsten (Guest)


Rate this post
useful
not useful
Hi Michael,

your description isn't detailed enough for a purposeful help.
Can you give us more, such as

- your target
- the Makefile and so on

Regards,
Karsten

von Michael S. (mjscott)


Rate this post
useful
not useful
All I'm trying to do is verify that WinARM is functioning properly.

This is just using one of the example files supplied with WinARM. The
source is rs232_stdio.c, the make file is the same one supplied with the
example. The make program being used is from Winarm/utils/bin. When I do
a '[WinARM_G] Make Clean' from the tools dropdown in PN (programmers
notepad) the clean will run partially down it's list -
-------------
(from makefile)
clean_list :
  @echo
  @echo $(MSG_CLEANING)
  $(REMOVE) $(TARGET).hex
  $(REMOVE) $(TARGET).obj
  $(REMOVE) $(TARGET).elf
  $(REMOVE) $(TARGET).map
  $(REMOVE) $(TARGET).obj
  $(REMOVE) $(TARGET).a90
  $(REMOVE) $(TARGET).sym
  $(REMOVE) $(TARGET).lnk
  $(REMOVE) $(TARGET).lss
  $(REMOVE) $(OBJ)
  $(REMOVE) $(AOBJ)
  $(REMOVE) $(OBJARM)
  $(REMOVE) $(AOBJARM)
  $(REMOVE) $(LST)
  $(REMOVE) $(SRC:.c=.s)
  $(REMOVE) $(SRC:.c=.d)
  $(REMOVE) .dep/*
----------
and then hang. If I stop the tools, again from the tools drop down in
PN, and restart the clean eventually I will complete the clean list,
usually three to four tries. If I try to do a build all I get the same
things. Now all the instances of the make utility are still running, as
whenever I shut down my pc, I have to manually end each instance before
shut down.

von Martin Thomas (Guest)


Rate this post
useful
not useful
I have not seen this issue before and have not bug-reports about this.

Have you tried "make all" and "make clean" from the commad-line?
Are you using the "updated utilities" for WinARM 1/06, the "original"
1/06 or the current "testing"-Version?
Which MS-Windows version are you using?

Martin Thomas

von Michael S. (mjscott)


Rate this post
useful
not useful
Martin Thomas wrote:
> I have not seen this issue before and have not bug-reports about this.
>
> Have you tried "make all" and "make clean" from the commad-line?
> Are you using the "updated utilities" for WinARM 1/06, the "original"
> 1/06 or the current "testing"-Version?
> Which MS-Windows version are you using?
>
> Martin Thomas

WinARM 20060117-1 was the zip, operating system is WinXP Professional
SP2, I tried the command line and got the same error. If you give me
your email address I can send you a PDF of the screen shot for the
error.

von Martin Thomas (Guest)


Rate this post
useful
not useful
Michael Scott wrote:
> Martin Thomas wrote:
>> I have not seen this issue before and have not bug-reports about this.
>>
>> Have you tried "make all" and "make clean" from the commad-line?
>> Are you using the "updated utilities" for WinARM 1/06, the "original"
>> 1/06 or the current "testing"-Version?
>> Which MS-Windows version are you using?
>>
>> Martin Thomas
>
> WinARM 20060117-1 was the zip, operating system is WinXP Professional
> SP2, I tried the command line and got the same error. If you give me
> your email address I can send you a PDF of the screen shot for the
> error.

Please get the "updated utilites" archive for WinARM 1/06 (link in the
small text below the main download). Replace utils/bin with the files in
the update-archive and test again. You can also try the current WinARM
"testing-version" which already includes the newer mingw-utilities. Try
the "make clean" with the updates utilities.

Can you delete the files "manualy" form the command-line with "del"?

My e-mail adresses are not hidden (bottom of WinARM/arm-projects page,
readme.htm).

Martin Thomas

von Michael S. (mjscott)


Rate this post
useful
not useful
Good catch Martin, that seems to have taken care of the hang ups. What
exactly is different with the other utilities?

von Martin Thomas (Guest)


Rate this post
useful
not useful
Michael,

Michael Scott wrote:
> Good catch Martin, that seems to have taken care of the hang ups. What
> exactly is different with the other utilities?

I'm glad to read the it's now working for you.

The "other" utitlites are a complete new set of make, sh etc. I have
collected the old tools for the first WinARM in the intention to get an
dll-free distribution. But these tools are rather old and it seems that
the Win32-zsh (sh.exe) does not work for everybody. I can not reproduce
the problems here but found that the tools from the mingw-project solved
to problem for those uses who reported a "file not found"-issue. Your
"delete"-problem has never been reported before.

Drawback of the new utilities is that there is now an additional dll in
the system-search-path which may cause side-effects. But it seems that
the mingw-dll is not as problematic as the cygwin-dll.

Eric Weddington who creates WinAVR also uses the mingw-tools and as far
as I can see from the feedbacks in mailing-lists and the avrfreaks-forum
there are no problems with these tools. So I followed his method. The
updated utilities are available for the current and previous WinARM
collection - but should be usable with all WinARM-versions.

In the current testing and the upcoming gcc 4.1.0-based WinARM the
mingw-tools will be the default.


Martin Thomas

von Michael S. (mjscott)


Rate this post
useful
not useful
I spoke a little too soon. I did get a make to hang like before, just
once. It is a 500% improvement. Where I might have gotten an error 70%
of the time, now is is only about 5%. Still better though.

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.