Topic : RIDE Crash on Build-All

Forum : 8051

Original Post
Post Information Post
July 24, 2007 - 1:24pm
Guest

Hi,

I have been evaluating the EVAL51 tools for use with the cypress FX2 processor. Initially all was going fine but for some reason the tools now crash everytime a hit build-all. I've tried building a number of the FX2 examples from the C:\RIDE\EXAMPLES\8051\DERIVATIVES\CYPRESS\FX2 directory and although they originally built and ran fine they now all cause RIDE to crash on build. I've tried un-installing and re-installing the software but it hasn't helped. Below is the error signature as reported by windows.

Error Signature:
AppName: ride.exe AppVer: 1.0.0.0 ModName: cw3230.dll
ModVer: 4.2.0.0 Offset: 00023b93

Before everything died I was vary pleased with the tools particularly the image size produced compared to other compilers. If this this problem can be resolved I plan to purchase the full version.

Regards,
Dave.

Replies
Post Information Post
+1
0
-1
July 24, 2007 - 1:57pm
Guest

Can you try to check the option "Launch tools with executables" in the menu Options->Target->Properties and try again ?

regards,
Lionel

+1
0
-1
July 24, 2007 - 2:39pm
Guest

Many thanks for the prompt response!

Enabling the suggested option seems to work fine. I can happily work away like this but I'm curious what the actual problem is, and why it suddenly decided to stop working with the default settings. Any thoughts?

Regards,
Dave.

+1
0
-1
August 1, 2007 - 1:01pm
Guest

Hello everybody

Since years we work with :

**************************************************
Raisonance Version Information File
**************************************************
Build Number : BN713-51XAST6
Date :
User :
Company :
**************************************************
RC51 : 3.03.11
OH51 : 4.00.02
MA51 : 6.04.03
RCXA : 2.05.11
MAXA : 2.01.04
ODB : 1.00.01
RLXA : 2.01.06
MA51 to MAXA : 1.01.06
OH16 : 4.00.02
R2P : 1.00.01
OPTOROM : 3.18.1
MAST6 : 1.00.15
RCST6 : 1.00.13
RLST6 : 1.00.0F
OHST6 : 1.00.01
RPDHK500.UTL : 1004
RIDE : 6.1.1
Kernel-51 : 3.00.02
Kernel-XA : 1.01.01
**************************************************
End of Version File
**************************************************

and Win98 . We are very satisfied and never had real problems .

Since 6 month I have another PC with WIN XP .
Now RIDE sometimes ( between 5% and 50%) crashes on on Build or Build All .

Crashing means that RIDE "closed himself" .
After restarting RIDE it works or crashes again.

There is no messege from RIDE or WIN XP .

The above suggestion "Launch tools with executables" will not work , cause BN 713 does not have such a checkbox .

Any ideas ?

thanks
Andi

+1
0
-1
August 1, 2007 - 1:23pm
Guest

yes, update to the latest version. BN713 is very old and not supported anymore.

regards,
Lionel

+1
0
-1
December 16, 2007 - 11:44pm
Guest

I too am having trouble with RIDE crashing when I do a BUILD ALL or MAKE ALL. I had been using RIDE on an older machine and it worked fine. When I got my new machine early this year, I got an updated version of RIDE and only this weekend did I finally have a project to use it again. The version I am using is BN746-51. What happened at first was I would get an error message wanting to send a report to Microsoft 4 times and then RIDE closed. If I restarted my machine, I could BUILD once - a subsequent try would crash. I read this thread and tried checking the "Launch Tools with executable". It seemed to work, but then crashed again. This time, no error messages at all. Last night, I could not get anything to work for BUILDING my project - even after a restart. I have two modules in my project - one C file and one A51 file. It would compile and then die. After a restart I tried Translating the C file and that worked. Then I tried Translating the A51 file and it crashed. Again I restared it and it crashed when trying the Translation of the A51 file. Today I booted the system and it built fine once, but I immediately tried a second build and it crashed without warning. Please help!

+1
0
-1
December 17, 2007 - 9:14am
Guest

Hello,

can you send me your project by email? Maybe the assembler is not happy with some syntax in your .A51 file... I will have a look here.

thank you
Lionel

+1
0
-1
December 28, 2007 - 8:24am
Guest

Is this the solution ?

As i wrote in august this year , out ride crshes on build all , or build . After e few informations we upgade to BN746 and check the box ' use external executabel ' , after that it works .
But now I think I got the reason for the crashes on our old RIDE version . The older RIDE versions did not like multicore cpu's.
What I did on a dual core / Win XP is : ( i got a german Win XP version so i must explain some parts of the steps in english and german )
1. Start RIDE
2. open the task manager (eg. ctrl-alt-del)
3. select 'Prozesse'
4. select 'ride.exe'
5. right mouse click on 'ride.exe' a context menue will open
6. select ' zugehörigkeit festlegen '
7. uncheck cpu1 , check cpu0 ... now only one core is used for RIDE
8. press ok and ready.

Since I do that, I never had problems with the old and the new ride versions . The BN746 RIDE works fine without checking 'use ext. executables'.

Can somebody confirm this?

Andi

+1
0
-1
December 28, 2007 - 8:38am
Guest

a correction to my post ...
We are using the ride for 8051 and XA controllers ... the latest version for XA is BN737 .
We upgrade in september from BN 717 to BN737 .
So all what i wrote works with BN737 , the new one ... and our old Version BN 717 .

Andi

+1
0
-1
April 28, 2008 - 2:40pm
Guest

@fangx
I can confirm that ride.exe crashes, but on my side regardingless if one or two cpu are enabled. Even setting the programs compability mode back to Win95 did not help.

I can reproduce the following behaviour:
Enable "Options -> Project -> RC51 -> Registers -> Pass function arguments in registers" and it works, disable this option and ride will exit with no message after a very few seconds of compiling.

This is true for option "Options -> Target -> Properties -> Launch Tools with executables" disabled, when I enable this RIDE does not crash, but comes with the message "Unrecoverable error detected!"

So I am not able to produce any code at all!

I use BN737-51 Version 06.10.19 80C51 Toolchain 6.4.37 on a Dual Core with XPSP2 german.

Please help,
Thank you

Lutz

+1
0
-1
May 2, 2008 - 9:27am
Guest

To lutzhoerl:

<>

It means that the compiler (it could be also the linker) crashes because of something specific in the source file. It would be helpful if you could isolate the problem (finding which function can be done easily by commenting out the other functions by using #if 0 ... #endif statements.