Go to Post Why not go the safer route? Use the robots to play Magic the Gathering. - kamocat [more]
Home
Go Back   Chief Delphi > Other > FIRST Tech Challenge
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rating: Thread Rating: 11 votes, 4.64 average. Display Modes
  #1   Spotlight this post!  
Unread 01-23-2007, 03:50 PM
Zak698's Avatar
Zak698 Zak698 is offline
Jack The Robot King
AKA: Skittles
FRC #0698 (Microchip Microbots)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2004
Location: Arizona
Posts: 30
Zak698 has a spectacular aura aboutZak698 has a spectacular aura about
Send a message via AIM to Zak698
Re: how to build a VEX programming module

One idea that i have come across while at work at Microchip is the idea of trying to use a Microchip PicKit2 Programing module, heres the link to it PICKIT2

.. njust an idea
Reply With Quote
  #2   Spotlight this post!  
Unread 02-20-2007, 02:09 PM
ltk ltk is offline
Registered User
no team
 
Join Date: Feb 2007
Location: Earth
Posts: 1
ltk is an unknown quantity at this point
Re: how to build a VEX programming module

You can use an in-circuit debugger to program both the master and user processors. You have to open the case to access the connector.

Using the pin designators on the silkscreen of the pc board, here is the pinout:

J1-17 PGD on the Master Processor
J1-18 MCLR on the Master Processor
J1-19 +5v
J1-20 no connect
J1-21 Port B7 and PGD on the User Processor
J1-22 MCLR on the User Processor
J1-23 RX2 on the Master Processor
J1-24 GND
J2-9 PGC on the Master Processor
J2-10 GND
J2-11 Port B6 and PGC on the User processor
J2-12 TX2 on the Master Processor
Reply With Quote
  #3   Spotlight this post!  
Unread 04-12-2007, 11:51 PM
I_Robot I_Robot is offline
FRC 1885, FVC 3040 (part time)
no team
Team Role: Mentor
 
Join Date: Apr 2007
Rookie Year: 2006
Location: Virginia
Posts: 6
I_Robot is an unknown quantity at this point
Re: how to build a VEX programming module

After following the directions posted previously in this thread, I managed to build a working programming cable. When using a usb-to-serial converter cable, they somehow mess up the handshaking that is going on to put the Vex microcontroller into programming mode. So to fix that, I had to use a microcontroller to generate the correct signal. So my home made programming module has a microcontroller in addition the the RS232 level shifter. You can take a look at the cable and a video of how it works on my site: www.CrestOak.com. Enjoy!
__________________
Visit www.CrestOak.com for FRC and Vex Robot Photos and other great things.
Reply With Quote
  #4   Spotlight this post!  
Unread 07-14-2007, 12:48 PM
n0rad n0rad is offline
Registered User
no team
 
Join Date: Jul 2007
Location: sg
Posts: 1
n0rad is an unknown quantity at this point
Re: how to build a VEX programming module

Please can anyone share their working circuit diagram on how to interface the max232.

One thing that really puzzles me is where and how to connect the program button.

Thanks.

You can also email me at n0rad2002@yahoo.com.sg

Cheers
Reply With Quote
  #5   Spotlight this post!  
Unread 12-09-2007, 09:19 PM
bear24rw's Avatar
bear24rw bear24rw is offline
Team 11 Programming Captain
AKA: Max T
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2005
Location: Flanders, NJ
Posts: 385
bear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to behold
Send a message via AIM to bear24rw
Re: how to build a VEX programming module

Quote:
Originally Posted by I_Robot View Post
After following the directions posted previously in this thread, I managed to build a working programming cable. When using a usb-to-serial converter cable, they somehow mess up the handshaking that is going on to put the Vex microcontroller into programming mode. So to fix that, I had to use a microcontroller to generate the correct signal. So my home made programming module has a microcontroller in addition the the RS232 level shifter. You can take a look at the cable and a video of how it works on my site: www.CrestOak.com. Enjoy!
Do you plan on sharing the schematic and source for your cable?
Reply With Quote
  #6   Spotlight this post!  
Unread 12-12-2007, 08:57 PM
I_Robot I_Robot is offline
FRC 1885, FVC 3040 (part time)
no team
Team Role: Mentor
 
Join Date: Apr 2007
Rookie Year: 2006
Location: Virginia
Posts: 6
I_Robot is an unknown quantity at this point
Re: how to build a VEX programming module

Quote:
Originally Posted by bear24rw View Post
Do you plan on sharing the schematic and source for your cable?
Unfortunately, at this time I don't plan on releasing the schematic and source. Right now I'm hoping to use up some of the extra parts I have in making complete cables. However, after that, I might spend the time to create a readable schematic and release the code.
__________________
Visit www.CrestOak.com for FRC and Vex Robot Photos and other great things.
Reply With Quote
  #7   Spotlight this post!  
Unread 12-14-2007, 10:53 AM
bear24rw's Avatar
bear24rw bear24rw is offline
Team 11 Programming Captain
AKA: Max T
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2005
Location: Flanders, NJ
Posts: 385
bear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to behold
Send a message via AIM to bear24rw
Re: how to build a VEX programming module

Does the module put the controller into programming mode using the control lines?
Reply With Quote
  #8   Spotlight this post!  
Unread 01-29-2008, 07:41 PM
outpaddling outpaddling is offline
Registered User
no team
 
Join Date: Jan 2008
Location: USA
Posts: 6
outpaddling will become famous soon enough
Re: how to build a VEX programming module

Apparently so, but I'm not sure exactly how yet. Can someone explain what the handshake combination is?

I bought my son a VEX kit over the holidays, and wrote a VEX loader for *nix shortly afterward.

I made a serendipitous discovery that Mac OS X and Linux trigger programming mode by accident when the port is closed. (FreeBSD does not.) This happens reliably with both the USB/serial adapter and with a direct connection to the serial port on Linux. I'm using the orange programming module that came with the EasyC kit.

I can prevent it from happening by dropping RTS using an ioctl() call before the port is closed. Apparently OS X and Linux drop RTS when the port is closed, and this is *part* of the handshake to trigger programming mode. I have tried various combinations of dropping and raising RTS and other control lines, with no success turning on programming mode.

Thanks,

Jason
Reply With Quote
  #9   Spotlight this post!  
Unread 02-07-2008, 02:46 AM
popo308's Avatar
popo308 popo308 is offline
Registered User
AKA: Brent
FRC #1625 (Winnovation)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Winnebago, IL
Posts: 312
popo308 is a name known to allpopo308 is a name known to allpopo308 is a name known to allpopo308 is a name known to allpopo308 is a name known to allpopo308 is a name known to all
Send a message via AIM to popo308
Re: how to build a VEX programming module

You just need to plug the RTS and CTS into a serial cable that plugs into the computer to successfully complete the handshake.

PIN_LAYOUT
Reply With Quote
  #10   Spotlight this post!  
Unread 11-19-2009, 03:19 PM
essence25 essence25 is offline
Registered User
no team
 
Join Date: Nov 2009
Location: USA
Posts: 2
essence25 is an unknown quantity at this point
Re: how to build a VEX programming module

Now if I have a rs232 to TTL converter that has the following pinouts:

GND
RX->
TX<-
VCC 3-5v

and I'm using a real RS232 pc port. Where do I Connect pins 4-CTS & 6-RTS from the vex programming port? The TTL converter does not have these...

Do I connect them directly to the serial port ? Does the TTL converter only need the TX/RX ports to go through it?

I dont use a USB to RS232.

thanks


Last edited by essence25 : 11-19-2009 at 03:36 PM.
Reply With Quote
  #11   Spotlight this post!  
Unread 12-23-2009, 01:09 PM
essence25 essence25 is offline
Registered User
no team
 
Join Date: Nov 2009
Location: USA
Posts: 2
essence25 is an unknown quantity at this point
Re: how to build a VEX programming module

What a useless and deceptive thread in regards to this programing button & cable. Funny thing is there is already a poster above selling this so called "Proprietary" cable for profit.. Way to go protecting the cable secret bs!
Reply With Quote
  #12   Spotlight this post!  
Unread 12-23-2009, 02:17 PM
Rick TYler Rick TYler is offline
A VEX GUy WIth A STicky SHift KEy
VRC #0010 (Exothermic Robotics)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Redmond, Washington
Posts: 2,000
Rick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond repute
Re: how to build a VEX programming module

Quote:
Originally Posted by essence25 View Post
What a useless and deceptive thread in regards to this programing button & cable. Funny thing is there is already a poster above selling this so called "Proprietary" cable for profit.. Way to go protecting the cable secret bs!
Normally, I try to avoid this sort of post, but this one kind of set me off:

1) The thread includes the information you would need to make your own VEX programming cable. I don't think anyone is trying to be deceptive.

2) What cable secret? If you want to buy a factory-made and -supported part you can do so from IFI, and if you want to make your own, you can follow the information here.

There are better ways to communicate than through invective and imprecision. Perhaps you can more fully explain what you are trying to say?
__________________
Exothermic Robotics Club, Venturing Crew 2036
VRC 10A, 10B, 10D, 10Q, 10V, 10X, 10Z, and 575
Reply With Quote
  #13   Spotlight this post!  
Unread 05-28-2011, 12:24 PM
gblake's Avatar
gblake gblake is offline
6th Gear Developer; Mentor
AKA: Blake Ross
no team (6th Gear)
Team Role: Mentor
 
Join Date: May 2006
Rookie Year: 2006
Location: Virginia
Posts: 1,933
gblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond repute
Re: how to build a VEX programming module

Quote:
Originally Posted by wrhsvex View Post
ya i know bringing back a dead thread
but can someone post some detail easy to understand pictures of how to make the VEX programming module please.
i will use USB to Serial Cable, RJ14 6-pin cable
Quote:
Originally Posted by I_Robot View Post
Unfortunately, at this time I don't plan on releasing the schematic and source. Right now I'm hoping to use up some of the extra parts I have in making complete cables. However, after that, I might spend the time to create a readable schematic and release the code.
Based on what has been written earlier in this thread, the answer is almost certainly "No".

PS: It's not a dead thread - Don't let bullies convince you that tapping into existing information instead of splattering the net with constant ill-informed chatter is a bad thing. "Those who don't know history are destined to repeat it."
__________________
Blake Ross, For emailing me, in the verizon.net domain, I am blake
VRC Team Mentor, FTC volunteer, 5th Gear Developer, Husband, Father, Triangle Fraternity Alumnus (ky 76), U Ky BSEE, Tau Beta Pi, Eta Kappa Nu, Kentucky Colonel
Words/phrases I avoid: basis, mitigate, leveraging, transitioning, impact (instead of affect/effect), facilitate, programmatic, problematic, issue (instead of problem), latency (instead of delay), dependency (instead of prerequisite), connectivity, usage & utilize (instead of use), downed, functionality, functional, power on, descore, alumni (instead of alumnus/alumna), the enterprise, methodology, nomenclature, form factor (instead of size or shape), competency, modality, provided(with), provision(ing), irregardless/irrespective, signage, colorized, pulsating, ideate
Reply With Quote
  #14   Spotlight this post!  
Unread 05-28-2011, 05:06 PM
wrhsvex wrhsvex is offline
Registered User
no team
 
Join Date: May 2011
Location: washington
Posts: 2
wrhsvex is an unknown quantity at this point
Re: how to build a VEX programming module

ya i know that but we cant afford the vex kit and we are going to nationals soon
Reply With Quote
  #15   Spotlight this post!  
Unread 05-28-2011, 05:16 PM
Chris is me's Avatar
Chris is me Chris is me is offline
no bag, vex only, final destination
AKA: Pinecone
FRC #0228 (GUS Robotics); FRC #2170 (Titanium Tomahawks)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Glastonbury, CT
Posts: 7,589
Chris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond repute
Send a message via AIM to Chris is me
Re: how to build a VEX programming module

Vex Nationals is in about 10 months.
__________________
Mentor / Drive Coach: 228 (2016-?)
...2016 Waterbury SFs (with 3314, 3719), RIDE #2 Seed / Winners (with 1058, 6153), Carver QFs (with 503, 359, 4607)
Mentor / Consultant Person: 2170 (2017-?)
---
College Mentor: 2791 (2010-2015)
...2015 TVR Motorola Quality, FLR GM Industrial Design
...2014 FLR Motorola Quality / SFs (with 341, 4930)
...2013 BAE Motorola Quality, WPI Regional #1 Seed / Delphi Excellence in Engineering / Finalists (with 20, 3182)
...2012 BAE Imagery / Finalists (with 1519, 885), CT Xerox Creativity / SFs (with 2168, 118)
Student: 1714 (2009) - 2009 Minnesota 10,000 Lakes Regional Winners (with 2826, 2470)
2791 Build Season Photo Gallery - Look here for mechanism photos My Robotics Blog (Updated April 11 2014)
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Programming - Getting Started Mark McLeod Programming 80 04-16-2008 11:37 PM
Programming for Vex robots Jeff K. Programming 4 11-13-2005 04:40 PM
VEX Robotics vexrobotics FIRST Tech Challenge 8 03-30-2005 11:25 PM
OCCRA Teams - where do you build? Phil 33 OCCRA 7 10-28-2004 09:41 PM
build new programming (st.louis regional) nick_champ_2 Programming 21 02-23-2004 08:55 PM


All times are GMT -5. The time now is 02:58 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi