I just received my STM32 primer and I'm going through the users manual. In paragraph 3.4. step 2 of "Modify a STM32 example" when I "start debugger" I get "Build Failed" message in the Buld Log Window with no warnings or errors messages. Anyone have any suggestions ?
and send me by email (support _at_ raisonance.com) the files stdout.log and stderr.log generated in the directory where you executed this line? (most probably C:\Documents and Settings\<Username>)
Re: Build Failed with no warning or error messages
I also have this same problem. I installed the version of the tools that is available on this site: Circle_STM32-Primer_Kit_V1[1].3-2007-11-09.zip. The error message I get is:
----------------Make Started: 'toggle_with_CircleOS' in configuration 'Circle_Debug'--------------------------
Building C:\Program Files\Raisonance\Ride\Examples\ARM\Primer\STM32\toggle_with_CircleOS\src\toggle_with_CircleOS.c
Build failed
I took a look at the project directory to make sure the files are there, yep they are. I did the command that "lionel" provided; stdout.log is empty; sterr.log contains the following:
arm-none-eabi-objdump.exe: 'C:\Program Files\Raisonance\Ride\Examples\ARM\Primer\STM32\toggle_with_CircleOS\objdebug\toggle_with_CircleOS.o': No such file
I looked for the .o file and it was not generated. None of the directories are marked read-only. I also tried quitting Ride7 and copying the example project to c:\atemp\toggle_with_CircleOS to shorten the pathname, but still the same results.
I tried uninstalling Ride7 and reinstalling it in c:\Tools\Raisonance\Ride7 so that the tool path would not have a [space] ("Program[space]Files"), but I got the same failure.
I uninstalled Ride7 again and this time I installed the version that came on the mini-CD (version listed in Help-About is Ride7 IDE 7.01.0002, RKitARM for RIDE7 1.03.003), but I still get the same failure.
Perhaps the Ride7 tool is assuming that everyone has a certain OS file on their computer. The error message gives no clue. I'm running WindowsXP on a 2.8GHz Pentium4 with 1G RAM.
Re: Build Failed with no warning or error messages
Update from my last post. I installed the 2007-11-09 CD image on my computer at home (Dual-Core, Vista), and the build succeeds. So there is something about my computer at work (WindowsXP Professional) that Ride7 doesn't like.
Re: Build Failed with no warning or error messages
Hi,
I have similary problem like $1.
Code:
----------------Make Started: 'toggle_with_CircleOS' in configuration 'Circle_Debug'--------------------------
Building C:\Program Files\Raisonance\Ride\Examples\ARM\Primer\STM32\toggle_with_CircleOS\src\toggle_with_CircleOS.c
Build failed
File stdout.log is empty. File sterr.log contains the following:
Code:
arm-none-eabi-objdump.exe: 'C:\Program Files\Raisonance\Ride\Examples\ARM\Primer\STM32\toggle_with_CircleOS\objdebug\toggle_with_CircleOS.o': No such file
Do You have any sugestions how to resolve this problem?
Re: Build Failed with no warning or error messages
Hi Kaml
I would like first to clarify something about this post:
The issue posted by tkelvas does not seem tobe the same as the one posted by snickels and you. The command line that lionel suggested to use was useful in the case of tkelvas. If you have look at hi post you can see that after the make started message there are command lines that are executed. Therefore it was possible to run these command lines outside of the compiler and to see their error message.
In the cas of snickels and kaml it the build failed before the command lines are executed by Ride7. Therefore when you execute the objdump.exe without have run the compileler and the linker before it is not normal to get a message telling that the .o file was not found.
I would need to know: + What are your Ride7 RKit-ARM and cisrcleOS versions + Can you post your log window output after you made a build (there should be a "running gcc"followed by command lines and after a "running ld" .....) + Can you try to build another project like the "toggle" (without circleOs) and let us know the result
Re: Build Failed with no warning or error messages
Hi Matloub
I installed the Ride7 (7.02.0001) and RKitARM (1.04.0001) from the newest CD image: Circle_STM32-Primer_Kit_V1.4-2008-04-01 Log window from building "toggle" (without circleOS):
Code:
----------------Make Started: 'toggle' in configuration ''--------------------------
Building C:\Program Files\Raisonance\Ride\Examples\ARM\Primer\STM32\toggle\main.c
Build failed
There is nothing else (missing "running gcc"...). I notice that in application project, there are missing settings as "advenced arm options", "Gcc compiler". It looks like Ride7 don't detect RKitARM package(not executing gcc, missing settings). I use Windows XP SP1.
Re: Build Failed with no warning or error messages
Hi Kaml
Sorry for the delay I had not seen your post before. You can send answer to the following questions to support@raisonance.com
Indeed it seems to be more an installation issue more than a tool problem. You can verify your installation this way:
+ Under Ride7 make "Help->About" and send me a screen shot + Go to your corresponding c:\program files\raisonance\ride and check if there is - config\arm folder (and not empty) - scripts folder with 3 .js files + Can you let me know if you installed Ride7 under default indtallation directory or you modified it?
Re: Build Failed with no warning or error messages
Hello,
I had the same problem as tkelvas, after some digging I found the reason: The PATH environment variable was too long, it is cut by command.exe: there was no path to "...arm-gcc\bin"! So by removing some (older) paths in the variable the problem was solved.
Re: Build Failed with no warning or error messages
Same problem here. After I had the same problem ('Build Failed' with no other messages for the toggle demo project) with the tools from the CD, I loaded and installed the latest version of Ride 7.22.09.0203 and ARM tools 1.20.09.0154 from the website. OS is XP SP3 32bit with the latest updates.
Path was shortened and Ride entries were moved to front, missing C:\Programme\Raisonance\Ride\arm-gcc\bin was added:
Re: Build Failed with no warning or error messages
This message would mean that the executable is not found (path, etc,...), but it seems that you already checked everything. It could be that you installed under a different user's account. But I suggest you double check the PATH settings.
Re: Build Failed with no warning or error messages
Hi
RBuilder is not available for ARM targets for now this the reason why it is greyed. Can you confirm you have no error message when you open Ride7 and when you create a new project?
Ride7 is using heavily the scripting functionalities, but it seems that there is something on your computer avoiding this. There should be a security context that does not allow you using the scripting objects. Is there an antivirus ,a firewall, or any other program that could explain that? You can also check in IE to make sure that Active Scripting is enabled(Security tab/Custom Level).
Re: Build Failed with no warning or error messages
Thanks for your quick help!
@Francis: Path is as listed above: C:\Programme\Raisonance\Ride\bin;C:\Programme\Raisonance\Ride\arm-gcc\bin;...
Am I missing a directory? I had to add \arm-gcc\bin manually!?!
@Matloub: Active Scripting was enabled, I enabled some other Active* settings as well without any change. Software running is Avira Antivirus and Outpost Firewall. I could find no settings for blocking Active Scripting. I might test again without network connection and those two programs disabled. Would there be an easy test to verify Active Scripting works as expected?
I see no error messages when launching Ride and creating a new project although I would expect a stub source file being created with a new project, if I understand the documentation on creating your first test project right. This does not happen, no source file is created! Is there a log file I should check?
Re: Build Failed with no warning or error messages
Ok, I tried again from scratch: Uninstalled and reinstalled the latest Ride7 and RKit-ARM available from the web site. Disabled/terminated anitvirus and firewall.
Started Ride, created new project, No error messages, but contrary to the User Manual ยง5.1, the newly created project did not include the 'Application.c' file!?!
No error messages were shown.
Opened an example project (Simplest-USB-Example-1.0.zip) from the web site. 'Build' resulted again in 'Build failed' without further messages.
All this was done as a user with admin rights on XP 32-bit and Active Scripting enabled in the Internet settings.
Re: Build Failed with no warning or error messages
Ok, I solved the problem y moving to a fresh Vista installation after installing on Windows 7 RC gave me the access error popups mentioned somewhere else.
Not really satisfying as this is not my primary development machine, but at least it's working now.
Re: Build Failed with no warning or error messages
It is quite strange... it could be your anti-virus, a firewall, ... anything else that was blocking the execution of some scripts from RIDE. Anyway we will try to improve the contents of the error messages.
Re: Build Failed with no warning or error messages
Hello, I thnik I have the same problem as mensionned on this issue (with error meesage this time) : due to my main PC scratch , I use another one and after installing RIDE7, I cant' Build any project (successfully build on previous computer).
This is the Build log :
----------------Build Started: 'Application0' in configuration 'Circle_Debug'--------------------------
Building C:\Data Pascal\Application STM32\z\Application.c Running: GCC \"C:\Program Files\Raisonance\Ride\arm-gcc\bin\arm-none-eabi-gcc.exe" -MD -D_STM32F103VET6_ -D_STM3x_ -D_STM32x_ -mthumb -mcpu=cortex-m3 "C:\Data Pascal\Application STM32\z\Application.c" -o "C:\Data Pascal\Application STM32\z\objdebug\Application.o" -I "." -I "C:\Program Files\Raisonance\Ride\Lib\ARM\include" -c -fsigned-char -g -ffunction-sections -mlittle-endian arm-none-eabi-gcc.exe: CreateProcess: No such file or directory
Build failed
any idea to solve this issue ? Thanks for your help
Re: Build Failed with no warning or error messages
Quote:
"An FYI: I hit this problem on Windows XP and after a great deal of looking, I discovered that the GCC_EXEC_PREFIX environment variable was being set in the autoexec.bat file. This was likely a leftover from a GNU install (and uninstall) done 3-4 years ago. After I cleared this bogus environment variable setting, avr-gcc.exe worked fine both from the AVR Studio and the command line.
RWSenser " Can you check if your GCC_EXEC_PREFIX environment variable is set?
Re: Build Failed with no warning or error messages
Hi all,
Here is a little JScript piece of code that will help check if you have any rights missing for scripts:
Code:
WScript.Echo("Starting test:");
var objFSO = WScript.CreateObject("Scripting.FileSystemObject");
WScript.Echo("2nd test:");
var objFolder = objFSO.GetFolder("C:\\");
WScript.Echo(objFolder.Path);
Can you please: - Save this code to a "test.js" file in your C:\ directory - Open a DOS box (Start > Execute then type "cmd.exe" as the command to be run) - "cd C:\" to change to your root directory - "cscript test.js" to launch the test file.
If the script does not emit any errors, then your FSO object is properly scriptable.
If you have a scripting problem, the cause could be that you installed Raisonance tools on your machine $1 administrative rights (in the past). If you did so, uninstalling/reinstalling will not be enough, as Windows "remembers" the rights on the given folder and the problem will remain. $1. In such as case the action to perform would be to uninstall all Raisonance tools, then Delete the "C:\Program Files\Raisonance" (or whatever) directory, reboot and reinstall. This is because you may have a user problem (non-administrative rights over dome files or something of this order).
Re: Build Failed with no warning or error messages
Thanks all for your Help. I solve the problem of Build / Debug on the second computer : the GCC_EXEC_PREFIX was set with Variable datas for another software. I clearded the Environment Variable GCC_EXEC_PREFIX and this work.
To Raisonance people : I'm not an expert on Windows Environnement Variable, but I assume that I will need to refill the Environnemt Variable GCC_EXEC_PREFIX with previous value to use the other software. Perhaps it could be better, for a further RIDE7 install version, to set GCC_EXEC_PREFIX with RIDE7 value too.
Re: Build Failed with no warning or error messages
Hi, Today my Ride7 environment says: "arm-none-eabi-gcc.exe: CreateProcess: No such file or directory".
My solution was to check Kaspersky Antivirus quarantine. There I have found: C:\Program Files\Raisonance\Ride\arm-gcc\bin\ARM-NONE-EABI-GCC.EXE C:\Program Files\Raisonance\Ride\bin\REXRDR.EXE
After Restore action my build action start to be good as during previous year before. But soon my antivirus send to quarantine: C:\Program Files\Raisonance\Ride\bin\RIDE7.EXE - my Ride stops to work absolutely.
I will add Ride programs to Trusted zone, I hope this will help, currently I have no rights to manage Trusted zone, but fortunately, I have rights to uninstall this antivirus.