Go to Post If you use a flux capacitor make certain it is a COTS component, or that you fabricate it from COTS materials. - Richard Wallace [more]
Home
Go Back   Chief Delphi > Technical > Robotics Education and Curriculum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Spotlight this post!  
Unread 03-11-2003, 01:06
Lloyd Burns Lloyd Burns is offline
Registered User
FRC #1246 (Agincourt Robotics)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Toronto
Posts: 292
Lloyd Burns is an unknown quantity at this point
Didn't we cover this last year ?

I found then that the USB -> SERIAL port adapters (probably for Macs) don't work with my WinXP laptop, but the COM port adapter does, albeit not as consistently as a good hardware COM port. Possibly, the SERIAL adapter didn't return enough (any ?) non-serial status lines, while the COM port adapter *does* simulate their return in USB, with a latency. But, there is an issue about how long it takes the adapter and the USB port to pass information back to the laptop, as mentioned in my USB->COM adapter's manual.

The algorithm for programming a single byte in a PIC calls for the programmer (hardware, perhaps the software in our case) to repeat a programming cycle of several tries, then read the just programmed byte, and then reprogram it until the byte is programmed correctly.

If the programming device can't get the feedback it needs, in time, it might just reprogram until (by chance ?) it sees the correct byte. This could be an accident of the PC's timer interrupt arriving as the PIC sends, slowing the programming logic, allowing the feedback to be perceived. In each of the bytes to be programmed, this could take forever (for instance 10 -12 minutes ?). This appears to be the case in the thread above. We'd be well advised to take a laptop with a known good hardware COM port to any competition, to avoid missing a match while reprogramming.
 


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
robot goes haywire with the one joystick default code Miles Programming 7 24-01-2003 14:58
Default Robot Code lvhsrobotics Programming 2 10-01-2003 16:55
2003 PBasic default code from Innovation First ttedrow Programming 0 06-01-2003 11:18
default code archiver 2001 2 23-06-2002 22:53
Rookie Programmer has question about the default code DanL Programming 3 26-01-2002 19:59


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

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