Go to Post Coming up next on Pimp My Ride.....Yo man, here is the real deal. A two-oh-oh-six Segway I-one-eighty, with stock rims, stock fenders, and two 3 horse motors that red-line at twelve point five miles per hour. Get ready, because I'm going pimp this ride! - artdutra04 [more]
Home
Go Back   Chief Delphi > Technical > Control System > Sensors
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 17-02-2008, 23:25
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: IR Board Problem

Quote:
Originally Posted by DarkJedi613 View Post
I have a pretty detailed post here about that.
Man... beat again at a good idea!
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
Reply With Quote
  #17   Spotlight this post!  
Unread 18-02-2008, 10:34
idahorobot's Avatar
idahorobot idahorobot is offline
Registered User
FRC #2130 (Alpha +)
Team Role: Mentor
 
Join Date: Dec 2006
Rookie Year: 2005
Location: Idaho
Posts: 99
idahorobot is a jewel in the roughidahorobot is a jewel in the roughidahorobot is a jewel in the roughidahorobot is a jewel in the rough
Re: IR Board Problem

Thanks! Ours went down last night and I cannot find a pic programer. I will give this a try.
Reply With Quote
  #18   Spotlight this post!  
Unread 18-02-2008, 21:40
DarkJedi613's Avatar
DarkJedi613 DarkJedi613 is offline
Running Riot
AKA: Patrick Cloke
FRC #0358 (Hauppauge Robotic Eagles) FRC #1493 (RPI/Albany High School)
Team Role: Mentor
 
Join Date: Feb 2003
Rookie Year: 2003
Location: Hauppauge, N.Y.
Posts: 455
DarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to behold
Send a message via AIM to DarkJedi613 Send a message via MSN to DarkJedi613 Send a message via Yahoo to DarkJedi613
Re: IR Board Problem

Quote:
Originally Posted by iambujo View Post
We had success with it today as well. I used winpic to program the chip with a custom serial cable I made late last night based upon a whole lot of googling and research. I too erased before programming to get it to work. For teams in need of doing this that don't have fancy PIC programming hardware or time to order some, attached is the harness schematic I made. I used a PC serial port (and not a laptop) because most of what I read said that the laptop voltage levels are not high enough on the serial port to program it.
So I did this, I was able to initialize (once I used a desktop, not a laptop) and I was able to erase the program currently on there. But when I go to load the FIRSTIR.hex, it gives me an error saying there is a problem with the file. If I ignore that fact and try to load it onto the PIC then it goes through and fails during verification. Any ideas? I'm using the FIRSTIR.hex posted here. Is it possible something is wrong with that file? Or am I doing something wrong? Thanks.
__________________
2003 - 2006 President, Coach, Webmaster Team358.org
2008 Mentor, Team 1493

Team Search | (Updated: 1-16-08)

FIRSTsearch
Reply With Quote
  #19   Spotlight this post!  
Unread 19-02-2008, 07:10
iambujo iambujo is offline
Mentor
FRC #2729 (Storm)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2008
Location: NJ
Posts: 84
iambujo is a name known to alliambujo is a name known to alliambujo is a name known to alliambujo is a name known to alliambujo is a name known to alliambujo is a name known to all
Re: IR Board Problem

Humm, sorry to hear that. Did you unzip the hex file?

I didn't have any problems and I used the same file you mentioned. Can you read from the device without error? I wonder if your PC serial port voltage is too low, I saw mention that that could cause problems when I was researching. I guess since it worked for me, I don't have much insight into figuring out what can go wrong.
Reply With Quote
  #20   Spotlight this post!  
Unread 19-02-2008, 10:27
DarkJedi613's Avatar
DarkJedi613 DarkJedi613 is offline
Running Riot
AKA: Patrick Cloke
FRC #0358 (Hauppauge Robotic Eagles) FRC #1493 (RPI/Albany High School)
Team Role: Mentor
 
Join Date: Feb 2003
Rookie Year: 2003
Location: Hauppauge, N.Y.
Posts: 455
DarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to behold
Send a message via AIM to DarkJedi613 Send a message via MSN to DarkJedi613 Send a message via Yahoo to DarkJedi613
Re: IR Board Problem

Quote:
Originally Posted by iambujo View Post
Humm, sorry to hear that. Did you unzip the hex file?

I didn't have any problems and I used the same file you mentioned. Can you read from the device without error? I wonder if your PC serial port voltage is too low, I saw mention that that could cause problems when I was researching. I guess since it worked for me, I don't have much insight into figuring out what can go wrong.
Yes I unzipped the hex file. I can read from the device without error (although now its empty!). I don't think the serial port voltage is too low, it erased the device fine. As soon as I open the hex file (before loading it into the device) I get the following error:

Code:
LoadHex: Ignored 316 locations at addr 0x000400...0x002008 .
Also though, do I need to manually select the device (PIC1687)? Is anything to be changed in Device config? When I select the device that it says:

Code:
Couldn't find "devices\PIC16F87.dev", please borrow/copy from MPLAB !
__________________
2003 - 2006 President, Coach, Webmaster Team358.org
2008 Mentor, Team 1493

Team Search | (Updated: 1-16-08)

FIRSTsearch
Reply With Quote
  #21   Spotlight this post!  
Unread 19-02-2008, 16:14
3dude_2231's Avatar
3dude_2231 3dude_2231 is offline
no one messes with a Thingy =|
AKA: Menscher,Ran Menscher =]
FRC #2231 (Onyxtronix)
Team Role: Leadership
 
Join Date: Feb 2007
Rookie Year: 2007
Location: Shoham, Israel
Posts: 233
3dude_2231 is a jewel in the rough3dude_2231 is a jewel in the rough3dude_2231 is a jewel in the rough
Send a message via MSN to 3dude_2231
Re: IR Board Problem

what programmer are you using? (ICD2?)
what software do you use with it?
__________________
Redefining the word "Rookie". (for 2 years now..)


Israeli Off Season Games: WINNERS!
check out this cool project I'm into..

Reply With Quote
  #22   Spotlight this post!  
Unread 19-02-2008, 16:44
iambujo iambujo is offline
Mentor
FRC #2729 (Storm)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2008
Location: NJ
Posts: 84
iambujo is a name known to alliambujo is a name known to alliambujo is a name known to alliambujo is a name known to alliambujo is a name known to alliambujo is a name known to all
Re: IR Board Problem

Check out the screen shot in my powerpoint slides. Under the interface tab I selected "JDM (2) for serial port" under Interface Type, and then I loaded the ElCheapo_PCB.ini for the definition file. This was via trial and error before I got "success". Maybe that will help if you didn't do that.
Reply With Quote
  #23   Spotlight this post!  
Unread 19-02-2008, 16:53
DarkJedi613's Avatar
DarkJedi613 DarkJedi613 is offline
Running Riot
AKA: Patrick Cloke
FRC #0358 (Hauppauge Robotic Eagles) FRC #1493 (RPI/Albany High School)
Team Role: Mentor
 
Join Date: Feb 2003
Rookie Year: 2003
Location: Hauppauge, N.Y.
Posts: 455
DarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to behold
Send a message via AIM to DarkJedi613 Send a message via MSN to DarkJedi613 Send a message via Yahoo to DarkJedi613
Re: IR Board Problem

Quote:
Originally Posted by 3dude_2231 View Post
what programmer are you using? (ICD2?)
what software do you use with it?
I'm using iambujo's method of a serial dongle connected to the board.

Quote:
Originally Posted by iambujo View Post
Check out the screen shot in my powerpoint slides. Under the interface tab I selected "JDM (2) for serial port" under Interface Type, and then I loaded the ElCheapo_PCB.ini for the definition file. This was via trial and error before I got "success". Maybe that will help if you didn't do that.
Yes, I saw that and set both of them. Maybe I'll try again on a different computer. Thanks for your help. Its strange because I can connect, erase, read, verify, etc. I just cannot write the hex file. Perhaps it is the voltage levels.
__________________
2003 - 2006 President, Coach, Webmaster Team358.org
2008 Mentor, Team 1493

Team Search | (Updated: 1-16-08)

FIRSTsearch
Reply With Quote
  #24   Spotlight this post!  
Unread 19-02-2008, 19:21
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,820
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: IR Board Problem

The IR PIC hex file has also been posted by FIRST on their Additional Technical resources page
http://www2.usfirst.org/2008comp/Manual/FIRSTIR.HEX
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #25   Spotlight this post!  
Unread 19-02-2008, 19:30
Binome's Avatar
Binome Binome is offline
Programmer/Electronics/CAD
AKA: Patrick
FRC #2273 (SHIM)
Team Role: Leadership
 
Join Date: Dec 2006
Rookie Year: 2007
Location: Surrey,BC
Posts: 105
Binome is a glorious beacon of lightBinome is a glorious beacon of lightBinome is a glorious beacon of lightBinome is a glorious beacon of lightBinome is a glorious beacon of light
Re: IR Board Problem

To anyone with IR board problems that's coming to the oregon regional, team 2273 (shameless plug) will graciously give you a hand in getting it to work. It'd be a shame for any teams to not get their robot to do at least SOMETHING in hybrid. We have a PicKit2 and the know-how to get your boards up and running.
Reply With Quote
  #26   Spotlight this post!  
Unread 19-02-2008, 21:42
DarkJedi613's Avatar
DarkJedi613 DarkJedi613 is offline
Running Riot
AKA: Patrick Cloke
FRC #0358 (Hauppauge Robotic Eagles) FRC #1493 (RPI/Albany High School)
Team Role: Mentor
 
Join Date: Feb 2003
Rookie Year: 2003
Location: Hauppauge, N.Y.
Posts: 455
DarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to behold
Send a message via AIM to DarkJedi613 Send a message via MSN to DarkJedi613 Send a message via Yahoo to DarkJedi613
Re: IR Board Problem

Quote:
Originally Posted by Mark McLeod View Post
The IR PIC hex file has also been posted by FIRST on their Additional Technical resources page
http://www2.usfirst.org/2008comp/Manual/FIRSTIR.HEX
Thanks. The files are identical. So that's not the problem.

I'll keep fiddling with it and post if I have any success...
__________________
2003 - 2006 President, Coach, Webmaster Team358.org
2008 Mentor, Team 1493

Team Search | (Updated: 1-16-08)

FIRSTsearch
Reply With Quote
  #27   Spotlight this post!  
Unread 23-02-2008, 03:49
tpage22's Avatar
tpage22 tpage22 is offline
Registered User
AKA: Taylor Page
FRC #1503 (GM Spartonics)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Burlington, Ontario
Posts: 8
tpage22 is an unknown quantity at this point
Re: IR Board Problem

i have the same problem as DarkJedi613
No luck so far.
Reply With Quote
  #28   Spotlight this post!  
Unread 23-02-2008, 18:16
DarkJedi613's Avatar
DarkJedi613 DarkJedi613 is offline
Running Riot
AKA: Patrick Cloke
FRC #0358 (Hauppauge Robotic Eagles) FRC #1493 (RPI/Albany High School)
Team Role: Mentor
 
Join Date: Feb 2003
Rookie Year: 2003
Location: Hauppauge, N.Y.
Posts: 455
DarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to behold
Send a message via AIM to DarkJedi613 Send a message via MSN to DarkJedi613 Send a message via Yahoo to DarkJedi613
Re: IR Board Problem

I got it to work!

The things I changed (note I don't know if all these are necessary):

Devices Tab:
Choose PIC16F87

Options Tab:
Provided the MPLAB devices directory (you really only need one file - "PIC16F87.dev" and it was asking for a 16F716 algorithm, but also providing PIC16F716 didnt help).

Interface:
Interface type: JDM (2) for serial port
Custom interface definition file: ElCheapo_PCB.ini

And that was it! Note: it gave me LOTS of errors, but the device works now (through test it with a remote) so I'm not sure whats up with that. I just tried it again on my laptop (through a USB to serial adaptor -- I changed the Option "I/O Port Access Driver" to "no direct access at all, only use win API"). This DID NOT work however -- I could not even erase the board. It is possible a true serial port would work however. Good luck!
__________________
2003 - 2006 President, Coach, Webmaster Team358.org
2008 Mentor, Team 1493

Team Search | (Updated: 1-16-08)

FIRSTsearch
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
Programing IR board problem Shivang1923 Programming 5 16-02-2008 22:55
IR board problem AmitCarmeli Electrical 3 09-02-2008 18:53
Another IR Board Problem C222 Electrical 2 13-01-2008 17:36
Do you have a problem with the IR Board? DonRotolo Control System 5 07-01-2008 23:57
Perf Board = BS2-IC Carrier Board? indieFan Electrical 2 16-09-2004 08:28


All times are GMT -5. The time now is 05:53.

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