Astronouth7303
08-12-2005, 21:24
For those of you who didn't know, a certain CDer made a code loader in C for Linux (https://sourceforge.net/projects/ifi-picloader/). 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 (http://pyserial.sourceforge.net/) module, in addition to Python.
The command is:
pycloader <hexfile> <port>
eg, for your first serial port, loading file mycode.hex (that's in the current directory), use this:
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.
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 (http://www.chiefdelphi.com/forums/member.php?u=5865) for testing.)
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 (http://pyserial.sourceforge.net/) module, in addition to Python.
The command is:
pycloader <hexfile> <port>
eg, for your first serial port, loading file mycode.hex (that's in the current directory), use this:
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.
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 (http://www.chiefdelphi.com/forums/member.php?u=5865) for testing.)