Go Back   VEX Forum > Community > General Forum

General Forum Open Discussion of the VEX Robotics System that can be answered by anyone. VEX Robotics Engineers will not answer questions posted here; see Official VEX Technical Support below.

Reply
 
Thread Tools
  #1  
Old 04-12-2012, 01:52 AM
Ginobili89 Ginobili89 is offline
Junior Member
 
Join Date: Apr 2012
Posts: 2
Programming Vex Arm9 Pro

Hi everyone,

I'm an university student and I'm going to start the three year thesis;
my project consists into programming a simple car with VEX Arm9 Microcontroller via WiFi directly by Pc (not using a joystick).

I want to know if I can program the microcontroller with C, or I can only use Eclipse.

Thanks.
Reply With Quote
  #2  
Old 04-12-2012, 07:48 AM
fretless_kb fretless_kb is online now
Senior Member
VEX # 1166
 
Join Date: Jan 2010
Location: Parker CO
Posts: 282
Images: 6
Re: Programming Vex Arm9 Pro

The Language is C++ I believe, Eclipse is just the IDE not the language. Search ARM9 on the forums there are many posts and a couple members who have some experience with the ARM9 VEX PRO, Quazar seems most active and has posted a bunch of information to the wiki.

Cheers Kb
__________________
Kevin Barrett - Mentor - Team 1166
Reply With Quote
  #3  
Old 04-12-2012, 09:12 AM
Quazar's Avatar
Quazar Quazar is offline
Senior Member
 
Join Date: Aug 2007
Location: SF Bay Area
Posts: 1,231
Images: 16
Re: Programming Vex Arm9 Pro

Quote:
Originally Posted by fretless_kb View Post
The Language is C++ I believe, Eclipse is just the IDE not the language.
Correct on both counts.

The VEXpro is a Linux computer that has a pretty standard complement of libraries available.

The library you use to get access to most of the motor/sensor ports is libqwerk, which is a C++ library. So, you can write the vast majority of your code in C, and just use a bit of C++ at the edges to get at the I/O ports.

Cheers,
- Dean
Reply With Quote
  #4  
Old 04-13-2012, 02:47 AM
Ginobili89 Ginobili89 is offline
Junior Member
 
Join Date: Apr 2012
Posts: 2
Re: Programming Vex Arm9 Pro

Thanks everyone, you're very kind.

I've used Eclipse for a Java project some time ago, but I think there're some better IDE.

Now I'll search more info, I'll contact you for other question!
Reply With Quote
  #5  
Old 04-13-2012, 06:18 AM
fretless_kb fretless_kb is online now
Senior Member
VEX # 1166
 
Join Date: Jan 2010
Location: Parker CO
Posts: 282
Images: 6
Re: Programming Vex Arm9 Pro

Quasar,
I Have a number of questions about the Vexpro, if you can help it would be great.

The first is whether there is a master processor / user processor similar to the cortex design.

Specifically if there is a need to download master processor firmware.

Have you been able to get a joystick to work?

I would like to use a Kinect device to function as the eyes of a robot using the vexpro do you know of anyone who is working on such a project.

Cheers Kb
__________________
Kevin Barrett - Mentor - Team 1166
Reply With Quote
  #6  
Old 04-13-2012, 09:28 AM
Quazar's Avatar
Quazar Quazar is offline
Senior Member
 
Join Date: Aug 2007
Location: SF Bay Area
Posts: 1,231
Images: 16
Re: Programming Vex Arm9 Pro

Quote:
Originally Posted by fretless_kb View Post
Quasar,
I Have a number of questions about the Vexpro, if you can help it would be great.

The first is whether there is a master processor / user processor similar to the cortex design.
There is not. The ARM processor runs both the operating system and your user programs. The VEXpro does have an FPGA which acts a bit like an I/O processor and handles all the servo/motor ports and encoders. This reduces the interrupt load on the processor since the FPGA can handle all the timing and counting autonomously, and the CPU interacts with the FPGA when it wants to change a motor speed or read an encoder.

Quote:
Originally Posted by fretless_kb View Post
Specifically if there is a need to download master processor firmware.
It is different, but there is software that may need to be flashed (re-imaged is the VEXpro term for this) periodically. The VEXpro has a built-in 16MiB flash drive that contains the TerkOS (a Linux variant). You run user programs by copying them over the network to a folder in this filesystem. You can also change any part of the TerkOS operating system if you want to (full source is available!).

Re-imaging will only be needed if you corrupt your VEXpro's filesystem or to install TerkOS updates. I've only ever done it once, just to go through the process, and it was similar to reloading master firmware on a Cortex.

Quote:
Originally Posted by fretless_kb View Post
Have you been able to get a joystick to work?
I had to back-burner that project because I had too many projects in-progress already. I verified that I could get all the pieces going, though, so at this point it is "just a simple matter of code" to put it all together.

Quote:
Originally Posted by fretless_kb View Post
I would like to use a Kinect device to function as the eyes of a robot using the vexpro do you know of anyone who is working on such a project.
I'm not aware of anybody doing this, but I don't see any reason it couldn't be done since the VEXpro has a USB port.

Cheers,
- Dean

Last edited by Quazar; 04-13-2012 at 09:28 AM. Reason: clarity
Reply With Quote
  #7  
Old 04-13-2012, 06:33 PM
fretless_kb fretless_kb is online now
Senior Member
VEX # 1166
 
Join Date: Jan 2010
Location: Parker CO
Posts: 282
Images: 6
Re: Programming Vex Arm9 Pro

Thanks for the reply and information. I am a bit worried about having time to work on this as well. I did get a Kinect and will try to work with it in the coming weeks and if successful just might order a Vex Pro (If I don't pick one up at the Vex Store at Worlds

Cheers Kb
__________________
Kevin Barrett - Mentor - Team 1166
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 02:43 PM.


VEX and VEX Robotics are trademarks or service marks of Innovation First International, Inc.
Copyright © 2002-2013. All Rights Reserved. VEX Robotics, Inc. is a subsidiary of Innovation First International, Inc.
All other product names/marks of others are the property of their respective owners.