/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Ride7 crashes when opening the Drummer 1.0 project

Username:     
Password:     
             

Forum

# 1   2009-10-08 00:47:07 Ride7 crashes when opening the Drummer 1.0 project

fad_electric
Member
Registered: 2009-10-07
Posts: 56

Ride7 crashes when opening the Drummer 1.0 project

Hi!

I just bought a Primer2. And I'm trying to open a project to compile.

As I'm interested in making my own music software, so I started with trying to compile something. So i chose the 'Drummer 1.0 project', as it's advertised on the first page on the stm32circle page.

But Ride7 crashes totally, complaining about D:\stm32\drummer. Obviously I don't have that catalog. D: is my CD-drive...

What do I have to do to compile this project...
As I'm new to this I Would like a strait answer what to do exactly and not an vague one :-)

Thanks...

Offline

 

# 2   2009-10-08 06:39:28 Ride7 crashes when opening the Drummer 1.0 project

yrt
Administrator
From: Grenoble-France
Registered: 2008-06-11
Posts: 520
Website

Re: Ride7 crashes when opening the Drummer 1.0 project

Hi,

Unfortunelaty, the project has been made with absolute directories file properties (thanks to Klaus !), and not relative to the application directory ($ApplicationDir). So you have to modify it according to your installation.

The first solution is to delete all the file in the project and add them with their new path.

The second one and the more efficient is to close Ride, edit the "Drummer.rprj" and "Drummer.rapp" and modify all the path entries. This files are XML text files easy to modify, but be carefull !

Yves

Offline

 

# 3   2009-10-10 23:53:02 Ride7 crashes when opening the Drummer 1.0 project

fad_electric
Member
Registered: 2009-10-07
Posts: 56

Re: Ride7 crashes when opening the Drummer 1.0 project

Ok! That fixed. Now I get the message: "Unable to find C:\Program Files\Raisonance\Ride\Lib\ARM\CircleOS\FAT.elf file."

What do I have to do to get past this?

Offline

 

# 4   2009-10-11 00:35:19 Ride7 crashes when opening the Drummer 1.0 project

fad_electric
Member
Registered: 2009-10-07
Posts: 56

Re: Ride7 crashes when opening the Drummer 1.0 project

And what is the difference between FAT.elf.dbi and FAT.elf ?

Offline

 

# 5   2009-10-11 15:05:47 Ride7 crashes when opening the Drummer 1.0 project

fad_electric
Member
Registered: 2009-10-07
Posts: 56

Re: Ride7 crashes when opening the Drummer 1.0 project

I had to change row 26 and 27 in Drummer.rapp to this...
    <NodeApp Path="..\..\..\Program\Raisonance\Ride\Lib\ARM\CircleOS\FAT.elf" Header="FAT.elf" Marker="-1" OutputFile="" sate="0" />
    <NodeApp Path="..\..\C:\Program\Raisonance\Ride\lib\ARM\CircleOS\Primer2_Circle.elf" Header="Primer2_Circle.elf" Marker="-1" OutputFile="" sate="0" />

Offline

 

# 6   2009-10-11 15:09:13 Ride7 crashes when opening the Drummer 1.0 project

fad_electric
Member
Registered: 2009-10-07
Posts: 56

Re: Ride7 crashes when opening the Drummer 1.0 project

Now to the next problem...
Apparently the program is to large to debug in the free version of ride7 that crashes when it doesn't find the files that it wants (is the crashing of ride7 a feature, so you know a row in your program is wrong?).

How do I program the Primer2, to make Drummer 1.0 project run without debugging?

Offline

 

# 7   2009-10-12 07:05:22 Ride7 crashes when opening the Drummer 1.0 project

yrt
Administrator
From: Grenoble-France
Registered: 2008-06-11
Posts: 520
Website

Re: Ride7 crashes when opening the Drummer 1.0 project

Effectively the Drummer project is a big application, and exceeds 32 Kb debug free limit. Anyway, you can load and run any application without debuging it.
For the Drummer project, go to the first directory, and launch the "add_to_circle.bat" batch program. This one will search a ".o" or ".lib" file ("application.o" in this case) and load it into the Primer (if connected !).

Offline

 

# 8   2009-10-12 16:08:25 Ride7 crashes when opening the Drummer 1.0 project

fad_electric
Member
Registered: 2009-10-07
Posts: 56

Re: Ride7 crashes when opening the Drummer 1.0 project

I had hoped to run something that I have compiled myself, so I can change the program if I want to, and learn something from it.

And it doesn't work either...
I get an error message:


Linking file Application.o...
Link Failed (file: 'Application.o')c:/program/raisonance/ride/arm-gcc/bin/../lib
/gcc/arm-none-eabi/4.3.2/../../../../arm-none-eabi/bin/ld.exe: .\_tmp_.ld.elf se
ction .text will not fit in region FLASH
c:/program/raisonance/ride/arm-gcc/bin/../lib/gcc/arm-none-eabi/4.3.2/../../../.
./arm-none-eabi/bin/ld.exe: region FLASH overflowed by 81616 bytes
collect2: ld returned 1 exit status

         !!! Error 103: Fatal error detected. Terminating program.



region

Offline

 

# 9   2009-10-12 16:14:09 Ride7 crashes when opening the Drummer 1.0 project

fad_electric
Member
Registered: 2009-10-07
Posts: 56

Re: Ride7 crashes when opening the Drummer 1.0 project

"Raisonance STM32 Primers for fun, easy evaluation and development"
is not as true as...

"Raisonance STM32 Primers for boring, frustrating evaluation and development"
Thats more like it!!!

Offline

 

Board footer