View unanswered posts | View active topics It is currently Sat Nov 01, 2014 10:05 am






Reply to topic  [ 77 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
ROBOTC 4.09 Beta 1 (EV3 Support) Available Now! 
Author Message
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3240
Location: Rotterdam, The Netherlands
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
Santiago wrote:
I am having a "Casper Err" each time I try to update EV3 kernel. My brick stops and I have to take the battery off.

Can someone help me please?

Can you give us more information?
The OS you're using
Whether it's a VM or not

Anything else you can think of.

= Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Fri Apr 25, 2014 11:55 am
Profile WWW
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3240
Location: Rotterdam, The Netherlands
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
People using Windows 8 in a VM, NI (the peeps who wrote the Casper library) is aware of the situation and is busy hunting down the bug. Hopefully we'll have a fix next week :)

= Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Fri Apr 25, 2014 11:57 am
Profile WWW
Rookie

Joined: Wed Apr 23, 2014 10:43 am
Posts: 5
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
Dear Xander,

My OS is Windows 8.1, 64 bits (I tried with windows 8 also). I tried using firmware 1.03 and 1.05 M. When I try to download the kernel it says that have to stop a VM... and when I try to download the firmware it appears the casper error....I am not using a Virtual Machine... Well I am assuming VM means Virtual Machine :-( :-)...... My hardware version is 0.60...and I am using the USB 2.0 port of my machine...

Regards,

I will wait for your help.

Santiago


Fri Apr 25, 2014 8:26 pm
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3240
Location: Rotterdam, The Netherlands
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
Try putting the brick into update mode before flashing it with the new kernel. Here are instructions on how to do that:
Attachment:
MINDSTORMS-EV3-Firmware-update.PNG
MINDSTORMS-EV3-Firmware-update.PNG [ 48.1 KiB | Viewed 2157 times ]


When it says "updating" on the screen, try to install the new Linux EV3 kernel using ROBOTC.

= Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Sat Apr 26, 2014 1:25 am
Profile WWW
Rookie

Joined: Wed Apr 23, 2014 10:43 am
Posts: 5
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
Thanks Xander, it worked!!... My problem was solved.

I am going to try to implement something.

Regards,

Santiago


Sun Apr 27, 2014 5:09 pm
Profile
Rookie
User avatar

Joined: Thu Feb 23, 2012 6:24 pm
Posts: 10
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
Hey,

I just wanted to underline that I have tried to open the sample program : MotorMasterTestProgram.c, and it seems like it doesn't compile...

The two following functions are not recognized :
getMotorTarget
setMotorTarget

Cheers,

Frederic


Wed Apr 30, 2014 2:53 pm
Profile
Rookie

Joined: Wed May 07, 2014 7:51 pm
Posts: 3
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
I have some beginner questions:

I created a bootable SD card and that works OK but I still have to download the RobotC firmware to the EV3 so I'm not sure what the advantage of the SD card is.

If I want to go back to the Lego EV3 environment I just have to remove the SD card and download the Lego firmware from the EV3 software, is that correct?

Thanks,
David


Wed May 07, 2014 10:48 pm
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3240
Location: Rotterdam, The Netherlands
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
Frederic,

Thanks for that! I'll have those responsible for this oversight flogged.

= Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Thu May 08, 2014 12:31 am
Profile WWW
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3240
Location: Rotterdam, The Netherlands
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
Indy,

You're mixing up the EV3 Linux kernel and the actual ROBOTC VM (or firmware). When you create the SD card, you're creating a base Linux image, without the ROBOTC VM on it. Downloading the ROBOTC firmware just pushes a small Linux library to the SD card, which allows the base image to run ROBOTC programs.

If you're using the SD card, you can simply remove it if you want to go back to the standard LEGO Linux image (+VM). You don't need to redownload the firmware to the brick, it's been left untouched.

= Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Thu May 08, 2014 12:37 am
Profile WWW
Rookie

Joined: Fri May 09, 2014 4:25 pm
Posts: 4
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
Hello!

I downoladed and installed RobotC 4.09 Beta 1 and upgraded the firmware of my EV3 brick up to 1.05. All is Ok, brick reports that the firmware version is 1.05X.

I see my brick in the list of available connection when I check the link (Robot -> Lego Brick -> Communication Link Setup)

But... any operation with brick (attempt to download the compiled program or Poll Lego Brick or File Management Utility, etc... ) finished immediately with error:

"Failed to start ROBOTC VM on EV3. Restart EV3 or Reload Firmware with ROBOTC firmware".

Of course I tried to restart EV3, restart PC and reload firmware :) - no result. I tried to start RobotC environment using "Run as administrator" option - no result. I tried to find the messages at this forum described the similar error - no result again... But the native Lego software works with my brick without problem.

So could you help me to detect what's wrong? My operation system is Windows 8.1 x64, native hardware (not the virtual machine), the connection type is USB.


Fri May 09, 2014 4:42 pm
Profile
Rookie

Joined: Wed May 07, 2014 7:51 pm
Posts: 3
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
avgera wrote:
So could you help me to detect what's wrong? My operation system is Windows 8.1 x64, native hardware (not the virtual machine), the connection type is USB.

It sounds like you updated the linux OS but did you also install the RobotC virtual machine (firmware)?

The getting started document (in the 1st post of this thread) describes the process. Updating the linux OS is step 2 and the RobotC VM is step 3.

The document was initially kind of confusing to me because both steps use the term 'firmware'. It might be more clear if step 2 had the word firmware removed - the wording should match the menu choices.

Hope that helps,


Fri May 09, 2014 6:27 pm
Profile
Rookie

Joined: Fri May 09, 2014 4:25 pm
Posts: 4
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
OMG! I found that I simply didn't see the step 3 when I read this document!

Excuse me for this stupid mistake. Thank you very much, all is Ok now!


Sat May 10, 2014 3:30 am
Profile
Rookie

Joined: Sat May 10, 2014 8:54 am
Posts: 1
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
Hi! I'm new to EV3 and the forums, but a long time technics fan.

I've got RobotC setup and working fine, but I have a problem using the EV3 medium servo.. SetMotorTarget doesn't seem to work correctly for that motor - a positive input of one degree makes it turn several rotations, and a negative input of one degree makes it turn in reverse forever! I couldn't see this in the known-problems.. am I doing it wrong?

Also, is there any way yet to control the two large servos with synchronization?

By the way - RobotC seems great (I'm a programmer by trade!)
May thanks,
-Mat


Sat May 10, 2014 9:04 am
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3240
Location: Rotterdam, The Netherlands
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
matd wrote:
I've got RobotC setup and working fine, but I have a problem using the EV3 medium servo.. SetMotorTarget doesn't seem to work correctly for that motor - a positive input of one degree makes it turn several rotations, and a negative input of one degree makes it turn in reverse forever! I couldn't see this in the known-problems.. am I doing it wrong?

The following code does not seem to trigger this issue using the latest internal build (freshly cooked this morning)
Code:
#pragma config(Motor,  motorA,          motorMedium,   tmotorEV3_Medium, PIDControl, encoder)
//*!!Code automatically generated by 'ROBOTC' configuration wizard               !!*//

task main()
{
  setMotorTarget(motorMedium, 1, 100);
  sleep(1000);
  setMotorTarget(motorMedium, -1, 100);
  sleep(1000);
}

Quote:
Also, is there any way yet to control the two large servos with synchronization?

No, not yet, that is yet to be added. I'll find out if it's due to be slated for the next beta :)

= Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Mon May 12, 2014 12:33 am
Profile WWW
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3240
Location: Rotterdam, The Netherlands
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
To run ROBOTC in a Windows 8.x VM in VMware Workstation, please look at the following thread: viewtopic.php?f=1&t=8771

= Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Mon May 12, 2014 2:52 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 77 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.