Propeller program - help
computer guy
Posts: 1,113
Does anyone know how to pass the propeller program a command.
More specificly.
things like this (these are from the scribbler program, it runs the command down below - for BS2).
/NoDebug
/NoPrompt
/Download
Like "Propeller.exe /NoDebug /Download file.spin"
For the basic stamp you can use.
"stampw.exe /NoDebug /Download file.BS2"
but i don't know what to do for the propeller.
Thank you
More specificly.
things like this (these are from the scribbler program, it runs the command down below - for BS2).
/NoDebug
/NoPrompt
/Download
Like "Propeller.exe /NoDebug /Download file.spin"
For the basic stamp you can use.
"stampw.exe /NoDebug /Download file.BS2"
but i don't know what to do for the propeller.
Thank you
Comments
Thank you
Post Edited (computer guy) : 5/13/2007 2:35:17 AM GMT
I am using the scribbler code with a propeller chip.
Thank you
http://forums.parallax.com/showthread.php?p=649540
With: PropTerminal.exe filename.binary -L ComNr
the Terminal will only download the binary file in the RAM of the Propeller chip and terminate then.
Andy
I am using spin not binary and i need something that can run in the background(not visible).
Thank you
You could take a look at the bottom of this post.
http://forums.parallax.com/showthread.php?p=611536
Thank you :-)
1) If PropTerminal is startet with commandline parameters it does not show the Terminal Window, only a Console Window (DOS Box) that displays the status. In most programming languages this Console can be hided with a parameter in the function that starts external programs.
2) You can't download a Spin File directly, it must be compiled first, and this can do only the Propeller Tool IDE until now. But you can save the compiled version of a Spin File as .binary and download it with this Phyton- or delphi code, or with PropTerminal.
Andy
Thank you
OK, because of the same reason I included a loader in PropTerminal.
@Mike Green Perhaps it will be possible to 'remote control' the Propeller Tool with Send-Keys messages from another Application. Every Application in Windows can send messages to another window. But there will be no feedback from Propeller Tool, so the controling application has to wait a fixed time after a command, that is long enough also for slow computers.
Just an idee...
Andy
Post Edited (Ariba) : 5/13/2007 6:42:19 AM GMT
Thank you
Will have a go at programming something in perl when i get home.
Thank you
Thank you
If you're asking because you're rewriting the routine in perl, consider that the normal PropPlug
(or equivalent wiring) uses DTR such that the Propeller gets reset when the serial port gets
opened or closed. Look at the Python version. I think you'll find that the port is opened, then
the next code is what follows the RESn toggle in Chip's loader.
I am 2 days new to perl so may need some help if anyone can supply it.
Thank you