Go to Post Give yourself the best chance to win at the event you're at by picking the best possible alliance partners available - always. - Rich Kressly [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 08-12-2005, 21:24
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Post pycloader (sic)

For those of you who didn't know, a certain CDer made a code loader in C for Linux. He calls it picloader.

Now my thing. I looked at his source, parsed it out, and ported it to Python (the language), creating pycloader.

The thing is, I don't actually know what's wrong with it (it doesn't work). So I thought I would post it on ChiefDelphi and see what all you bright people made of it.

It requires the pySerial module, in addition to Python.

The command is:
Code:
pycloader <hexfile> <port>
eg, for your first serial port, loading file mycode.hex (that's in the current directory), use this:
Code:
pycloader mycode.hex 0
(You could also use "COM1" on windows or "/dev/ttyS0" on Linux.)

Post comments/fixes here, or e-mail me directly.

[edit]I forgot to mention how it's broken. It appears to load the code, but it doesn't do anything. The old code is still there. (Thanks to Bharat Nain for testing.)[/edit]
Attached Files
File Type: zip pyc-tools.zip (3.9 KB, 23 views)

Last edited by Astronouth7303 : 09-12-2005 at 11:50.
  #2   Spotlight this post!  
Unread 11-12-2005, 13:39
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: pycloader (sic)

Ryan, the owner of the IFI Linux PICloader, has gratiously allowed me to use their CVS repository on SourceForge for this project.

(Ok, he actually made me administrator of the whole project, probably having something to do with the fact he is now in college at Berkly.)
Closed Thread


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


All times are GMT -5. The time now is 04:33.

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