Hello, I am trying to get GNUARM4 working with uVision3 but with little success. I have followed the instructions here: http://www.keil.com/support/docs/3127.htm which direct me to set the following values: GNU-Tool-Prefix: arm-elf- Cygnus Folder: C:\Program Files\GNUARM\ However, I still get the error message: --- Error: can't execute 'arm-elf-gcc' GNUARM was downloaded from this website: http://gnuarm.com/ The two versions I have tried are: bu-2.16.1_gcc-4.0.1-c-c++_nl-1.13.0_gi-6.1.exe and bu-2.15_gcc-3.4.3-c-c++-java_nl-1.12.0_gi-6.1.exe Any help would be greatly appreciated. Scott
"Cygnus Folder: C:\Program Files\GNUARM\" Could it be something to do with that space in the path name...?
Could it be something to do with that space in the path name...? Hi Andy, Thanks for your reply. I considered that also but it changes nothing. The first issue for me here is that I followed the instructions on the Keil website to configure uVision3 to the letter and it simply does not work. Secondly, uVision3 hides any information that might make it possible for me to debug the problem. I simply get a "could not execute" message. It may as well say "broken". If I new the exact command-line, I may be able to discern why arm-elf-gcc does not execute. Scott
Is it possible that you only got the Binutils? You need to download the GCC and the NewLib package also.
No. I definitely have the entire set of GCC, newlib and binutils. arm-elf-gcc etc. all exist and they exist in the directory that I am pointing to (and as I mentioned, it even matches the instruction on the Keil website). I have been building GCC and associated tools for years. I have even submitted patches for them in the past. I have downloaded and installed GNUARM and a variety of other pre-built exectuables. I have also built my own executables. For some reason uVision3 won't run these executables.
I can use the same settings without a problem. Can you please generate a batch file and post it's content: - Options for Target->Output->Create Batch File - Project->Rebuild all Target file. Can you try to build the \ARM\GNU\Boards\Keil\MCB2100\Blinky Example?
An excellent tool for debugging this type of problem is found at the following URL http://www.sysinternals.com/Utilities/Filemon.html This will allow you to see what and where exactly uv3 is looking for the executable. It provides a log of the disk activity. You will even be able to see the searching for the Cygwin DLLs - for example - if that is what is causing the problem.
I have the same problem: I try to build \ARM\GNU\Boards\Keil\MCB2100\Blinky the output window shows: Build target 'MCB2100 Flash' assembling Startup.s... Target not created Then i generated the batch file. It looks like this: SET PATH=C:\Arquivos de programas\GNUARM\Bin;C:\Arquivos de programas\GNUARM\Arm-Tools\Bin\ SET GCCINC=BIN\INC\Philips\;BIN\INC\ SET GCCLIB=BIN\LIB SET CPU_TYPE=LPC2124 SET CPU_VENDOR=Philips SET UV2_TARGET=MCB2100 Flash SET CPU_CLOCK=0x00000000 arm-elf-as @.\flash\startup._ia What should I do next??
You should move your GCC to a folder without spaces.