Go to Post you know you have overdosed to first when while you are reading all of these things, you can smile and say "oh yeah, i miss doing that" and then, you start to tear up and scream "I MISS FIRST!!!" - amanda547 [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
  #61   Spotlight this post!  
Unread 05-01-2007, 19:56
Eldarion's Avatar
Eldarion Eldarion is offline
Electrical Engineer / Computer Geek
AKA: Eldarion Telcontar
no team (Teamless Orphan)
Team Role: Alumni
 
Join Date: Nov 2005
Rookie Year: 2005
Location: Númenor
Posts: 558
Eldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond repute
Send a message via AIM to Eldarion Send a message via Yahoo to Eldarion
Re: how to build a VEX programming module

Quote:
Originally Posted by 1885.Blake View Post
If I remember correctly, you have to send it the right pulse train.
I finally got it into programming mode by connecting the RTS/CTS signals to the serial port through a MAX232 converter. When I run a "Controller Verification" in the IFI loader, it thinks it is talking to an FRC controller ("Controller Verification Complete..." and "FRC" a little further to the right.)

However, when I try to actually download code, it goes through the CTS/RTS handshake, starts the Program LED blinking, and asks me to hit the (nonexistent) "Program" button on the FRC controller. An analysis with PortMon reveals that the IFI loader is sending six periods to the Vex controller, and expecting some kind of response. The Vex does not send any response, and the download fails.

Does anyone have any ideas on this? I am sooo close...

If I can get it working, I will be posting some kind of schematic and/or tutorial on how to build one of these things!

Thanks,

Eldarion
__________________
CMUCam not working? Tracks sporadically? Try this instead: http://www.falconir.com!
PM me for more information if you are interested (it's open source!).

Want the FIRST Email blasts? See here: http://www.chiefdelphi.com/forums/sh...ad.php?t=50809

"The harder the conflict, the more glorious the triumph. What we obtain too cheaply, we esteem too lightly; it is dearness only that gives everything its value."
-- Thomas Paine

If it's falling apart it's a mechanical problem. If it's spewing smoke it's a electrical problem.
If it's rampaging around destroying things it's a programming problem.

"All technology is run on 'Magic Smoke' contained within the device. As everyone knows, whenever the magic smoke is released, the device ceases to function."
-- Anonymous

I currently speak: English, some German, Verilog, x86 and 8051 Assembler, C, C++, VB, VB.NET, ASP, PHP, HTML, UNIX and SQL
Reply With Quote
  #62   Spotlight this post!  
Unread 23-01-2007, 15:50
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
  #63   Spotlight this post!  
Unread 20-02-2007, 14:09
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
  #64   Spotlight this post!  
Unread 12-04-2007, 23:51
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
  #65   Spotlight this post!  
Unread 14-07-2007, 12:48
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
  #66   Spotlight this post!  
Unread 09-12-2007, 21:19
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
  #67   Spotlight this post!  
Unread 12-12-2007, 20:57
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
  #68   Spotlight this post!  
Unread 14-12-2007, 10:53
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
  #69   Spotlight this post!  
Unread 29-01-2008, 19:41
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
  #70   Spotlight this post!  
Unread 07-02-2008, 02:46
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
  #71   Spotlight this post!  
Unread 19-11-2009, 15:19
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 : 19-11-2009 at 15:36.
Reply With Quote
  #72   Spotlight this post!  
Unread 23-12-2009, 13:09
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
  #73   Spotlight this post!  
Unread 23-12-2009, 14:17
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
  #74   Spotlight this post!  
Unread 27-05-2011, 22:31
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 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
Reply With Quote
  #75   Spotlight this post!  
Unread 28-05-2011, 12:24
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,936
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
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 16-04-2008 23:37
Programming for Vex robots Jeff K. Programming 4 13-11-2005 16:40
VEX Robotics vexrobotics FIRST Tech Challenge 8 30-03-2005 23:25
OCCRA Teams - where do you build? Phil 33 OCCRA 7 28-10-2004 21:41
build new programming (st.louis regional) nick_champ_2 Programming 21 23-02-2004 20:55


All times are GMT -5. The time now is 03:17.

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