Topic : Building .rapp - file not found.

Forum : ARM

Original Post
Post Information Post
July 29, 2011 - 4:10pm
Guest

Hello,

I'm a brand new user of Ride and I'm coming up against a curious error. When I build my project I recieve an error in the final stage of the process - when the project.rapp file is to be built, the build log shows a "file not found" error message but then continues to run the linker. After this the build log shows successul however the code has obviously not built correctly when I run it on my target board.

I'm not sure what details you will require in terms of project settings so please let me know.

Thanks for the help.

Replies
Post Information Post
+1
0
-1
July 29, 2011 - 4:31pm
Raisonance Support Team

Hi,

To help you we need to know...

* The versions of the Ride kits, Ride7 and RKit(s) (click help/about)
* The target CPU
* If you manage to build one of the example projects provided with Ride for the same CPU (or the closest)
* If the linker actually produces an output file (aof, elf or other, depending on target CPU)

Best Regards,

Vincent

+1
0
-1
July 29, 2011 - 4:38pm
Guest

Ride7 Version 7.30.10.0159
RKit-ARM for Ride7 Version 1.30.10.0356
Ride7 Patch Version 7.30.10.0169

The target CPU is a STM32F207IGH6

I've not managed to build any example projects provided by STMicro, due to the same error - .rapp not found even though it is there. I've not tried any Raisonance examples as of yet.

The linker produces an output file (.hex) but its contents varies alot depending on whether the "UART0 Putchar" option is selected. If YES then the .hex file seems to be around 38K put will not download onto the board due to out of range address ranges. If selected to NO then the .hex file is <1k and the size of the project shown in Ride is text=0.

EDIT: The error as shown

Building D:\stm32f2xx_stdperiph_lib\STM32F2xx_StdPeriph_Lib_V1.0.0\Project\STM32F2xx_StdPeriph_Template\RIDE\Project.rapp
File not found
Running: LD Linker
"C:\Program Files\Raisonance\Ride\arm-gcc\bin\arm-none-eabi-gcc.exe" -mcpu=cortex-m3 -mthumb -Wl,-T -Xlinker "D:\stm32f2xx_stdperiph_lib\STM32F2xx_StdPeriph_Lib_V1.0.0\Project\STM32F2xx_StdPeriph_Template\RIDE\STM322xG_EVAL\Project.elf.ld" -u _start -Wl,-static -Wl,--gc-sections -nostartfiles -Wl,-Map -Xlinker "D:\stm32f2xx_stdperiph_lib\STM32F2xx_StdPeriph_Lib_V1.0.0\Project\STM32F2xx_StdPeriph_Template\RIDE\STM322xG_EVAL\Project.map"
"C:\Program Files\Raisonance\Ride\arm-gcc\bin\arm-none-eabi-objcopy.exe" "D:\stm32f2xx_stdperiph_lib\STM32F2xx_StdPeriph_Lib_V1.0.0\Project\STM32F2xx_StdPeriph_Template\RIDE\STM322xG_EVAL\Project.elf" --target=ihex "D:\stm32f2xx_stdperiph_lib\STM32F2xx_StdPeriph_Lib_V1.0.0\Project\STM32F2xx_StdPeriph_Template\RIDE\STM322xG_EVAL\Project.hex"
"C:\Program Files\Raisonance\Ride\Bin\rexrdr.exe" "D:\stm32f2xx_stdperiph_lib\STM32F2xx_StdPeriph_Lib_V1.0.0\Project\STM32F2xx_StdPeriph_Template\RIDE\STM322xG_EVAL\Project.elf.sizetmp" 0 "C:\Program Files\Raisonance\Ride\arm-gcc\bin\arm-none-eabi-size.exe" "D:\stm32f2xx_stdperiph_lib\STM32F2xx_StdPeriph_Lib_V1.0.0\Project\STM32F2xx_StdPeriph_Template\RIDE\STM322xG_EVAL\Project.elf"
"C:\Program Files\Raisonance\Ride\Bin\dwf2xml.exe" "D:\stm32f2xx_stdperiph_lib\STM32F2xx_StdPeriph_Lib_V1.0.0\Project\STM32F2xx_StdPeriph_Template\RIDE\Project.dbi" "D:\stm32f2xx_stdperiph_lib\STM32F2xx_StdPeriph_Lib_V1.0.0\Project\STM32F2xx_StdPeriph_Template\RIDE\Project-globals.STM322xG_EVAL.xml" "D:\stm32f2xx_stdperiph_lib\STM32F2xx_StdPeriph_Lib_V1.0.0\Project\STM32F2xx_StdPeriph_Template\RIDE\Project.STM322xG_EVAL.xml" ARM
DWF2XML 2.00.01 - Raisonance Dwarf information extractor
Copyright (c) Raisonance S.A.S. 2007-2009. All rights reserved.

Build successful

+1
0
-1
July 29, 2011 - 4:55pm
Raisonance Support Team

Hi,

The versions of the software you are using do not support the STM32F2x devices.

I guess you are using a project from ST that was designed with a more recent version of the software than yours.

For using the STM32F2x you must upgrade your software. You need Ride7 version 7.32.11.0174 and RKit-ARM 1.32.11.0116, which are the current versions available on our website.

Best Regards,

Vincent

+1
0
-1
August 1, 2011 - 10:53am
Guest

Hi again Vincent

I have updated Ride and the Rkit as you suggest. Whilst this has removed the missing linker error, a new error has appeared and I'm not sure why - The build now complains of "undefined reference to 'SpiritMP3Decode'", a library function.

All of the appropriate files are included, headers and library files, the project directories are also correct so I'm not sure what this error means exactly?

+1
0
-1
August 1, 2011 - 11:19am
Raisonance Support Team

Hi,

This sounds like a mistake in the project (configuration or sources) you are trying to build...

Please first make sure that the examples provided by Ride compile correctly. This is a mandatory step for validating the installation of the software, compiler, linker, etc.

Then if this works you should contact ST, but first make sure that you are using the library correctly: The project provided with the library must be configured (preprocessor defines, CPU selection, main function source code, etc) and if you don't strictly follow the instructions, (which is not so easy) I would expect it to fail...

You might also want to search the source files of the library for the missing function, and then check that your project includes it, and that it is not #define'd out somehow.

Best Regards,

Vincent