by zboroujeni » Wed Sep 23, 2015 2:03 pm
by zboroujeni
Wed Sep 23, 2015 2:03 pm
Hello,
I am trying to run random function with CM530. I configured my work space as link below. I work with eclipse -OS: windows 7.
http://support.robotis.com/en/software/embeded_c/cm530.htmI can compile me program successfully. But when I run the program at CM530, it hangs on line :
- Code: Select all
int a=rand();
Do you have any idea how can I solve the problem?
I change also my makefile and add -mfpu=vfp -msoft-float in COMPILE_OPTS.
I tried also to compile the program with arm-non-eabi as line below suggested:
http://forums.trossenrobotics.com/showthread.php?6039-Math-h-lib-with-Bioloid-CM-530-and-CBut the same problem occurred. It hangs on line rand() function.
Thank you in advance for your help and considerations.
Best,
Zargol
Hello,
I am trying to run random function with CM530. I configured my work space as link below. I work with eclipse -OS: windows 7.
http://support.robotis.com/en/software/embeded_c/cm530.htmI can compile me program successfully. But when I run the program at CM530, it hangs on line :
- Code: Select all
int a=rand();
Do you have any idea how can I solve the problem?
I change also my makefile and add -mfpu=vfp -msoft-float in COMPILE_OPTS.
I tried also to compile the program with arm-non-eabi as line below suggested:
http://forums.trossenrobotics.com/showthread.php?6039-Math-h-lib-with-Bioloid-CM-530-and-CBut the same problem occurred. It hangs on line rand() function.
Thank you in advance for your help and considerations.
Best,
Zargol